Skip to content

Commit

Permalink
breaking off some changes for another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 20, 2024
1 parent 6787fa2 commit e83cffa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion superset-frontend/js_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ npm --version
node --version
time npm ci
time npm run lint
time npm run check
time npm run cover # this also runs the tests, so no need to 'npm run test'
time npm run build
7 changes: 3 additions & 4 deletions superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"src/setup/*"
],
"scripts": {
"_lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx,.ts,tsx",
"_lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx,.ts,tsx .",
"_prettier": "prettier './({src,spec,cypress-base,plugins,packages,.storybook}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}|package.json)'",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=\"${BABEL_ENV:=production}\" webpack --mode=production --color",
"build-dev": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development webpack --mode=development --color",
Expand All @@ -51,9 +51,8 @@
"dev": "webpack --mode=development --color --watch",
"dev-server": "cross-env NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development",
"format": "npm run _prettier -- --write",
"lint": "npm run _lint -- .",
"lint-fix": "npm run _lint . -- --fix",
"lint-file": "npm run _lint",
"lint": "npm run _lint && npm run type",
"lint-fix": "npm run _lint -- --fix && npm run type",
"plugins:build": "node ./scripts/build.js",
"plugins:build-assets": "node ./scripts/copyAssets.js",
"plugins:build-storybook": "cd packages/superset-ui-demo && npm run build-storybook",
Expand Down
1 change: 0 additions & 1 deletion superset-frontend/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ let scope = getPackages(glob);

if (shouldLint) {
run(`npm run lint --fix {packages,plugins}/${scope}/{src,test}`);
run(`npm run type`);
}

if (shouldCleanup) {
Expand Down

0 comments on commit e83cffa

Please sign in to comment.