diff --git a/.prettierignore b/.prettierignore index 8415c4d8e8..0f127ee27b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -13,6 +13,7 @@ gh-pages/* examples/blockly-svelte/public/bundle.js examples/blockly-angular/.angular **/node_modules/* +**/package-lock.json **/CHANGELOG.md CHANGELOG.md PULL_REQUEST_TEMPLATE.md diff --git a/package.json b/package.json index 4fce79ce2c..177396cc5d 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ "author": "Blockly Team", "license": "Apache-2.0", "scripts": { - "audit:fix": "cd plugins && lerna run audit:fix && lerna bootstrap", + "audit:fix": "cd plugins && npm run audit:fix && npm run boot", "boot": "cd plugins && npm ci", - "build": "cd plugins && lerna run build", - "clean": "cd plugins && lerna run clean", - "clean:node": "cd plugins && lerna clean --yes", + "build": "cd plugins && npm run build", + "clean": "cd plugins && npm run clean", + "clean:node": "cd plugins && npm run clean:node", "deploy:prepare": "npm run deploy:prepare:plugins && npm run deploy:prepare:examples && gulp predeploy", "deploy:prepare:examples": "cd examples && npm run predeploy", - "deploy:prepare:plugins": "npm run clean && cd plugins && lerna run build && lerna run predeploy", + "deploy:prepare:plugins": "npm run clean && cd plugins && npm run build && npm run predeploy", "deploy": "npm run deploy:prepare && gulp deploy", "deploy:upstream": "npm run deploy:prepare && gulp deployUpstream", "format": "prettier --write .", @@ -21,7 +21,7 @@ "lint": "eslint .", "lint:fix": "eslint . --fix", "postinstall": "npm run boot", - "test": "cd plugins && lerna run test", + "test": "cd plugins && npm run test", "publish:prepare": "gulp prepareForPublish", "publish:manual": "gulp publishManual", "publish:force": "gulp forcePublish", diff --git a/plugins/package.json b/plugins/package.json index 3cfb74344c..8783b26f78 100644 --- a/plugins/package.json +++ b/plugins/package.json @@ -3,8 +3,14 @@ "private": true, "scripts": { "audit": "lerna run audit", + "audit:fix": "lerna run audit:fix", "boot": "lerna bootstrap", - "postinstall": "npm run boot" + "build": "lerna run build", + "clean": "lerna run clean", + "clean:node": "lerna run clean --yes", + "postinstall": "npm run boot", + "predeploy": "lerna run predeploy", + "test": "lerna run test" }, "devDependencies": { "@lerna/legacy-package-management": "^8.1.7",