mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
chore: Upgrade devDeps (#32308)
* chore: node-fetch => isomorphic-fetch * upgrade array-move * fix test
This commit is contained in:
parent
47d28e8f70
commit
268bdf2faa
2
.jest.js
2
.jest.js
@ -2,7 +2,7 @@ const transformIgnorePatterns = [
|
||||
'/dist/',
|
||||
// Ignore modules without es dir.
|
||||
// Update: @babel/runtime should also be transformed
|
||||
'node_modules/(?!.*@(babel|ant-design))[^/]+?/(?!(es|node_modules)/)',
|
||||
'node_modules/(?!.*@(babel|ant-design))(?!array-move)[^/]+?/(?!(es|node_modules)/)',
|
||||
];
|
||||
|
||||
function getTestRegex(libDir) {
|
||||
|
@ -180,7 +180,7 @@
|
||||
"antd-pro-merge-less": "^3.0.11",
|
||||
"antd-theme-generator": "^1.2.3",
|
||||
"argos-cli": "^0.3.0",
|
||||
"array-move": "^3.0.0",
|
||||
"array-move": "^4.0.0",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
"bisheng": "^3.0.0",
|
||||
"bisheng-plugin-description": "^0.1.4",
|
||||
@ -222,6 +222,7 @@
|
||||
"immutability-helper": "^3.0.0",
|
||||
"inquirer": "^8.0.0",
|
||||
"intersection-observer": "^0.12.0",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
"jest": "^27.0.3",
|
||||
"jest-image-snapshot": "^4.5.1",
|
||||
"jest-puppeteer": "^6.0.0",
|
||||
@ -231,7 +232,6 @@
|
||||
"less-vars-to-js": "^1.3.0",
|
||||
"lz-string": "^1.4.4",
|
||||
"mockdate": "^3.0.0",
|
||||
"node-fetch": "^2.0.0",
|
||||
"open": "^8.0.1",
|
||||
"prettier": "^2.3.2",
|
||||
"prettier-plugin-jsdoc": "^0.3.0",
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* eslint-disable import/no-dynamic-require, no-console */
|
||||
const chalk = require('chalk');
|
||||
const path = require('path');
|
||||
const fetch = require('node-fetch');
|
||||
const fetch = require('isomorphic-fetch');
|
||||
const simpleGit = require('simple-git/promise');
|
||||
|
||||
const cwd = process.cwd();
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-await-in-loop */
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
const fetch = require('node-fetch');
|
||||
const fetch = require('isomorphic-fetch');
|
||||
const { join } = require('path');
|
||||
const cheerio = require('cheerio');
|
||||
const glob = require('glob');
|
||||
|
@ -3,7 +3,7 @@ const chalk = require('chalk');
|
||||
const { spawn } = require('child_process');
|
||||
const jsdom = require('jsdom');
|
||||
const jQuery = require('jquery');
|
||||
const fetch = require('node-fetch');
|
||||
const fetch = require('isomorphic-fetch');
|
||||
const open = require('open');
|
||||
const fs = require('fs-extra');
|
||||
const path = require('path');
|
||||
|
Loading…
Reference in New Issue
Block a user