mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(build): uplift several outdated frontend packages (#29652)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user