Skip to content

Commit

Permalink
chore: fix build:watch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed May 24, 2023
1 parent 5a91e39 commit 46e303d
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 29 deletions.
4 changes: 1 addition & 3 deletions package.json
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 run build:watch --parallel",
"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
3 changes: 1 addition & 2 deletions packages/beacon-node/package.json
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
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
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
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
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
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
3 changes: 1 addition & 2 deletions packages/logger/package.json
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
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: 1 addition & 2 deletions packages/spec-test-util/package.json
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
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
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
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
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

0 comments on commit 46e303d

Please sign in to comment.