Skip to content

Commit

Permalink
fix: add lerna commands to plugins package.json (#2453)
Browse files Browse the repository at this point in the history
* fix: add lerna commands to plugins package.json

* fix: call to boot command

* chore: don't let prettier format package-lock.json files
  • Loading branch information
rachel-fenichel authored Sep 3, 2024
1 parent 3dd0f09 commit 5ade067
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 .",
Expand All @@ -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",
Expand Down
8 changes: 7 additions & 1 deletion plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5ade067

Please sign in to comment.