chore(build): uplift several outdated frontend packages (#29652)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2024-08-06 22:02:01 +07:00
committed by GitHub
parent 9fed576cb4
commit 1c3ef01209
20 changed files with 10005 additions and 32451 deletions

View File

@@ -25,7 +25,7 @@
*/
process.env.PATH = `./node_modules/.bin:${process.env.PATH}`;
const rimraf = require('rimraf');
const { sync } = require('rimraf');
const { spawnSync } = require('child_process');
const fastGlob = require('fast-glob');
const { argv } = require('yargs')
@@ -114,7 +114,7 @@ if (shouldCleanup) {
const dirtyModules = 'node_modules/@types/react,node_modules/@superset-ui';
const cachePath = `./node_modules/${scope}/{lib,esm,tsconfig.tsbuildinfo,${dirtyModules}}`;
console.log(`\n>> Cleaning up ${cachePath}`);
rimraf.sync(cachePath);
sync(cachePath);
}
if (shouldRunBabel) {