Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add lerna commands to plugins package.json #2453

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading