Skip to content

Commit

Permalink
Add pnpm dev to watch-build all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Aug 30, 2024
1 parent 91d6c8e commit f163f8a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"test": "pnpm -r --if-present run test",
"check": "pnpm -r --if-present run check",
"build": "pnpm -r --if-present run build",
"dev": "pnpm -r --if-present --parallel run dev --preserveWatchOutput",
"docs": "pnpm run build && typedoc --plugin typedoc-plugin-missing-exports --out docs",
"docs:markdown": "pnpm run build && docusaurus generate-typedoc"
},
Expand Down
1 change: 1 addition & 0 deletions packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"attw": "attw --pack .",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"test": "pnpm -r run build && pnpm run test:node && pnpm run test:browser",
"test:node": "mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
Expand Down
1 change: 1 addition & 0 deletions packages/blob-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"scripts": {
"attw": "attw --pack .",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test": "entail test/*.spec.js",
Expand Down
1 change: 1 addition & 0 deletions packages/capabilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"attw": "attw --pack .",
"lint": "tsc && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"test": "pnpm run test:node && pnpm run test:browser",
"test:node": "mocha 'test/**/*.test.js' -n experimental-vm-modules -n no-warnings",
Expand Down
1 change: 1 addition & 0 deletions packages/did-mailto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"scripts": {
"attw": "attw --pack .",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch test/**/*.spec.js",
Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"scripts": {
"attw": "attw --pack .",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"lint": "tsc --build && eslint '**/*.{js,ts}'",
"test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch test/**/*.spec.js",
Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"attw": "attw --pack .",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"dev": "tsc --build --watch",
"test": "npm run test:all",
"test:all": "run-s test:browser test:node",
"test:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
Expand Down
1 change: 1 addition & 0 deletions packages/upload-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
"scripts": {
"attw": "attw --pack .",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"lint": "tsc --build && eslint '**/*.{js,ts}'",
"test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch 'test/**/*.spec.js'",
Expand Down
1 change: 1 addition & 0 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"attw": "attw --pack .",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"test": "npm-run-all -p -r mock test:all",
"test:all": "run-s test:node test:browser",
Expand Down
1 change: 1 addition & 0 deletions packages/w3up-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"attw": "attw --pack .",
"lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"dev": "tsc --build --watch",
"check": "tsc --build",
"prepare": "npm run build",
"test": "npm-run-all -p -r mock:* test:all",
Expand Down

0 comments on commit f163f8a

Please sign in to comment.