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

chore: fix build:watch scripts #5531

Merged
merged 3 commits into from
May 24, 2023
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
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"clean": "rm -rf ./packages/*/lib ./packages/*/*.tsbuildinfo",
"build": "lerna run build",
"build:docs": "lerna run build:refdocs && ./scripts/prepare-docs.sh",
"build:lib:watch": "lerna run build:lib:watch",
"build:types:watch": "lerna run build:types:watch",
"build:watch": "run-p build:lib:watch build:types:watch",
"build:watch": "lerna exec --parallel -- 'yarn run build:watch'",
"build:ifchanged": "lerna exec -- ../../scripts/build_if_changed.sh",
"lint": "eslint --color --ext .ts packages/*/src packages/*/test",
"check-build": "lerna run check-build",
Expand Down
1 change: 1 addition & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
Expand Down
3 changes: 1 addition & 2 deletions packages/beacon-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"coverage": "codecov -F lodestar",
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json && yarn write-git-data",
"build:release": "yarn clean && yarn run build",
"build:lib:watch": "yarn run build:lib --watch",
"build:types:watch": "yarn run build:types --watch",
"build:watch": "tsc -p tsconfig.build.json --watch",
"build:refdocs": "ts-node --esm ./docsgen/index.ts docs/cli.md",
"write-git-data": "node lib/util/gitData/writeGitData.js",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\" lodestar --help",
Expand Down
3 changes: 1 addition & 2 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:release": "yarn run clean && yarn run build",
"build:types:watch": "yarn run build:types --watch",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/",
Expand Down
3 changes: 1 addition & 2 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"coverage": "codecov -F lodestar-fork-choice",
Expand Down
3 changes: 1 addition & 2 deletions packages/flare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:release": "yarn run clean && yarn run build",
"build:types:watch": "yarn run build:types --watch",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\" flare --help",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/",
Expand Down
3 changes: 1 addition & 2 deletions packages/fork-choice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"coverage": "codecov -F lodestar-fork-choice",
Expand Down
1 change: 1 addition & 0 deletions packages/light-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
Expand Down
3 changes: 1 addition & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 1 addition & 2 deletions packages/params/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:release": "yarn clean && yarn build",
"build:lib:watch": "yarn run build:lib --watch",
"build:types:watch": "yarn run build:types --watch",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 2 additions & 1 deletion packages/prover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
Expand All @@ -59,7 +60,7 @@
},
"dependencies": {
"@ethereumjs/block": "^4.2.2",
"@ethereumjs/common": "^3.1.2",
"@ethereumjs/common": "^3.1.2",
"@ethereumjs/rlp": "^4.0.1",
"@ethereumjs/trie": "^5.0.5",
"@ethereumjs/util": "^8.0.6",
Expand Down
1 change: 1 addition & 0 deletions packages/reqresp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
Expand Down
3 changes: 1 addition & 2 deletions packages/spec-test-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:release": "yarn clean && yarn build",
"build:types:watch": "yarn run build:types --watch",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 1 addition & 2 deletions packages/state-transition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 1 addition & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:lib:watch": "yarn run build:lib --watch",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn build",
"build:types:watch": "yarn run build:types --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down
3 changes: 1 addition & 2 deletions packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:release": "yarn clean && yarn run build",
"build:lib:watch": "yarn run build:lib --watch",
"build:types:watch": "yarn run build:types --watch",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "eslint --color --ext .ts src/ test/",
Expand Down