Skip to content

Commit 53776fc

Browse files
authored
build: Ensure every package has build:dev & build:dev:watch (#6838)
1 parent 8b3a576 commit 53776fc

File tree

17 files changed

+35
-32
lines changed

17 files changed

+35
-32
lines changed

packages/angular/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@
4343
"scripts": {
4444
"build": "yarn build:transpile",
4545
"build:transpile": "ng build --prod",
46-
"build:dev": "run-s build",
47-
"build:watch": "run-p build:transpile:watch",
46+
"build:dev": "yarn build",
47+
"build:watch": "yarn build:transpile:watch",
48+
"build:dev:watch": "yarn build:watch",
4849
"build:transpile:watch": "ng build --prod --watch",
4950
"build:tarball": "npm pack ./build",
5051
"circularDepCheck": "madge --circular src/index.ts",
@@ -55,7 +56,7 @@
5556
"lint": "run-s lint:prettier lint:eslint",
5657
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5758
"lint:prettier": "prettier --check \"{src,test,scripts}/**/*.ts\"",
58-
"test": "run-s test:unit",
59+
"test": "yarn test:unit",
5960
"test:unit": "jest",
6061
"test:unit:watch": "jest --watch"
6162
},

packages/browser/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@
4545
},
4646
"scripts": {
4747
"build": "run-p build:transpile build:bundle build:types",
48+
"build:dev": "yarn build",
4849
"build:bundle": "rollup --config rollup.bundle.config.js",
4950
"build:transpile": "rollup -c rollup.npm.config.js",
5051
"build:types": "tsc -p tsconfig.types.json",
5152
"build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch",
53+
"build:dev:watch": "yarn build:watch",
5254
"build:bundle:watch": "rollup --config rollup.bundle.config.js --watch",
5355
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
5456
"build:types:watch": "tsc -p tsconfig.types.json --watch",

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
},
2323
"scripts": {
2424
"build": "run-p build:transpile build:types",
25-
"build:dev": "run-s build",
25+
"build:dev": "yarn build",
2626
"build:transpile": "rollup -c rollup.npm.config.js",
2727
"build:types": "tsc -p tsconfig.types.json",
2828
"build:watch": "run-p build:transpile:watch build:types:watch",
29-
"build:dev:watch": "run-s build:watch",
29+
"build:dev:watch": "yarn build:watch",
3030
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
3131
"build:types:watch": "tsc -p tsconfig.types.json --watch",
3232
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/ember/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "tests"
1818
},
1919
"scripts": {
20-
"build": "ember build --environment=production",
20+
"build:uncached": "ember build --environment=production",
2121
"build:tarball": "ember ts:precompile && npm pack && ember ts:clean",
2222
"clean": "yarn rimraf sentry-ember-*.tgz",
2323
"lint": "run-p lint:js lint:hbs lint:ts",

packages/gatsby/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
},
3737
"scripts": {
3838
"build": "run-p build:transpile build:types",
39-
"build:dev": "run-s build",
39+
"build:dev": "yarn build",
4040
"build:plugin": "tsc -p tsconfig.plugin.json",
4141
"build:transpile": "run-p build:rollup build:plugin",
4242
"build:rollup": "rollup -c rollup.npm.config.js",
4343
"build:types": "tsc -p tsconfig.types.json",
4444
"build:watch": "run-p build:transpile:watch build:types:watch",
45-
"build:dev:watch": "run-s build:watch",
45+
"build:dev:watch": "yarn build:watch",
4646
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
4747
"build:types:watch": "tsc -p tsconfig.types.json --watch",
4848
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/hub/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"scripts": {
2525
"build": "run-p build:transpile build:types",
26-
"build:dev": "run-s build",
26+
"build:dev": "yarn build",
2727
"build:transpile": "rollup -c rollup.npm.config.js",
2828
"build:types": "tsc -p tsconfig.types.json",
2929
"build:watch": "run-p build:transpile:watch build:types:watch",
30-
"build:dev:watch": "run-s build:watch",
30+
"build:dev:watch": "yarn build:watch",
3131
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
3232
"build:types:watch": "tsc -p tsconfig.types.json --watch",
3333
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/integrations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"build:transpile": "rollup -c rollup.npm.config.js",
3232
"build:types": "tsc -p tsconfig.types.json",
3333
"build:watch": "run-p build:transpile:watch build:types:watch",
34-
"build:dev:watch": "run-s build:watch",
34+
"build:dev:watch": "yarn build:watch",
3535
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
3636
"build:types:watch": "tsc -p tsconfig.types.json --watch",
3737
"build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",

packages/nextjs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
},
4848
"scripts": {
4949
"build": "run-p build:transpile build:types",
50-
"build:dev": "run-s build",
50+
"build:dev": "yarn build",
5151
"build:transpile": "ts-node scripts/buildRollup.ts",
5252
"build:types": "tsc -p tsconfig.types.json",
5353
"build:watch": "run-p build:transpile:watch build:types:watch",
54-
"build:dev:watch": "run-s build:watch",
54+
"build:dev:watch": "yarn build:watch",
5555
"build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts",
5656
"build:types:watch": "tsc -p tsconfig.types.json --watch",
5757
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
@@ -63,7 +63,7 @@
6363
"lint": "run-s lint:prettier lint:eslint",
6464
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6565
"lint:prettier": "prettier --check \"{src,test,scripts}/**/*.ts\"",
66-
"test": "run-s test:unit",
66+
"test": "yarn test:unit",
6767
"test:all": "run-s test:unit test:integration test:build",
6868
"test:build": "yarn ts-node test/buildProcess/runTest.ts",
6969
"test:unit": "jest",

packages/nextjs/test/integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "next build",
77
"predebug": "source ../integration_test_utils.sh && link_monorepo_packages '../../..' && yarn build",
88
"start": "next start",
9-
"pretest": "run-s build",
9+
"pretest": "yarn build",
1010
"test": "playwright test"
1111
},
1212
"dependencies": {

packages/node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
},
3535
"scripts": {
3636
"build": "run-p build:transpile build:types",
37-
"build:dev": "run-s build",
37+
"build:dev": "yarn build",
3838
"build:transpile": "rollup -c rollup.npm.config.js",
3939
"build:types": "tsc -p tsconfig.types.json",
4040
"build:watch": "run-p build:transpile:watch build:types:watch",
41-
"build:dev:watch": "run-s build:watch",
41+
"build:dev:watch": "yarn build:watch",
4242
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
4343
"build:types:watch": "tsc -p tsconfig.types.json --watch",
4444
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/opentelemetry-node/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
},
3838
"scripts": {
3939
"build": "run-p build:transpile build:types",
40-
"build:dev": "run-s build",
40+
"build:dev": "yarn build",
4141
"build:transpile": "rollup -c rollup.npm.config.js",
4242
"build:types": "tsc -p tsconfig.types.json",
4343
"build:watch": "run-p build:transpile:watch build:types:watch",
44-
"build:dev:watch": "run-s build:watch",
44+
"build:dev:watch": "yarn build:watch",
4545
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
4646
"build:types:watch": "tsc -p tsconfig.types.json --watch",
4747
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
@@ -53,7 +53,7 @@
5353
"lint": "run-s lint:prettier lint:eslint",
5454
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
5555
"lint:prettier": "prettier --check \"{src,test,scripts}/**/*.ts\"",
56-
"test": "run-s test:jest",
56+
"test": "yarn test:jest",
5757
"test:jest": "jest",
5858
"test:watch": "jest --watch"
5959
},

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
},
5353
"scripts": {
5454
"build": "run-p build:transpile build:types",
55-
"build:dev": "run-s build",
55+
"build:dev": "yarn build",
5656
"build:transpile": "rollup -c rollup.npm.config.js",
5757
"build:types": "tsc -p tsconfig.types.json",
5858
"build:watch": "run-p build:transpile:watch build:types:watch",
59-
"build:dev:watch": "run-s build:watch",
59+
"build:dev:watch": "yarn build:watch",
6060
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
6161
"build:types:watch": "tsc -p tsconfig.types.json --watch",
6262
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/remix/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
},
4646
"scripts": {
4747
"build": "run-p build:transpile build:types",
48-
"build:dev": "run-s build",
48+
"build:dev": "yarn build",
4949
"build:transpile": "rollup -c rollup.npm.config.js",
5050
"build:types": "tsc -p tsconfig.types.json",
5151
"build:watch": "run-p build:transpile:watch build:types:watch",
52-
"build:dev:watch": "run-s build:watch",
52+
"build:dev:watch": "yarn build:watch",
5353
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
5454
"build:types:watch": "tsc -p tsconfig.types.json --watch",
5555
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
@@ -61,7 +61,7 @@
6161
"lint": "run-s lint:prettier lint:eslint",
6262
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
6363
"lint:prettier": "prettier --check \"{src,test,scripts}/**/*.ts\"",
64-
"test": "run-s test:unit",
64+
"test": "yarn test:unit",
6565
"test:integration": "run-s test:integration:clean test:integration:prepare test:integration:client test:integration:server",
6666
"test:integration:ci": "run-s test:integration:clean test:integration:prepare test:integration:client:ci test:integration:server",
6767
"test:integration:prepare": "(cd test/integration && yarn)",

packages/serverless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"build:transpile": "rollup -c rollup.npm.config.js",
4545
"build:types": "tsc -p tsconfig.types.json",
4646
"build:watch": "run-p build:transpile:watch build:types:watch",
47-
"build:dev:watch": "run-s build:watch",
47+
"build:dev:watch": "yarn build:watch",
4848
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
4949
"build:types:watch": "tsc -p tsconfig.types.json --watch",
5050
"build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",

packages/svelte/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
},
3333
"scripts": {
3434
"build": "run-p build:transpile build:types",
35-
"build:dev": "run-s build",
35+
"build:dev": "yarn build",
3636
"build:transpile": "rollup -c rollup.npm.config.js",
3737
"build:types": "tsc -p tsconfig.types.json",
3838
"build:watch": "run-p build:transpile:watch build:types:watch",
39-
"build:dev:watch": "run-s build:watch",
39+
"build:dev:watch": "yarn build:watch",
4040
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
4141
"build:types:watch": "tsc -p tsconfig.types.json --watch",
4242
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
},
1818
"scripts": {
1919
"build": "run-p build:transpile build:types",
20-
"build:dev": "run-s build",
20+
"build:dev": "yarn build",
2121
"build:transpile": "rollup -c rollup.npm.config.js",
2222
"build:types": "tsc -p tsconfig.types.json",
2323
"build:watch": "run-p build:transpile:watch build:types:watch",
24-
"build:dev:watch": "run-s build:watch",
24+
"build:dev:watch": "yarn build:watch",
2525
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
2626
"build:types:watch": "tsc -p tsconfig.types.json --watch",
2727
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

packages/utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
},
2727
"scripts": {
2828
"build": "run-p build:transpile build:types",
29-
"build:dev": "run-s build",
29+
"build:dev": "yarn build",
3030
"build:transpile": "yarn ts-node scripts/buildRollup.ts",
3131
"build:transpile:uncached": "yarn ts-node scripts/buildRollup.ts",
3232
"build:types": "tsc -p tsconfig.types.json",
3333
"build:watch": "run-p build:transpile:watch build:types:watch",
34-
"build:dev:watch": "run-s build:watch",
34+
"build:dev:watch": "yarn build:watch",
3535
"build:transpile:watch": "rollup -c rollup.npm.config.js --watch",
3636
"build:types:watch": "tsc -p tsconfig.types.json --watch",
3737
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",

0 commit comments

Comments
 (0)