Skip to content

Commit bbb199b

Browse files
committed
streamline extra etc.
1 parent 98c0c67 commit bbb199b

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

nx.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"build:bundle",
88
"build:pack",
99
"build:tarball",
10-
"build:extras",
1110
"build:types"
1211
]
1312
}
@@ -41,16 +40,9 @@
4140
"{projectRoot}/build/cjs"
4241
]
4342
},
44-
"build:extras": {
45-
"dependsOn": [
46-
"^build:pack"
47-
],
48-
"outputs": [
49-
"{projectRoot}/build"
50-
]
51-
},
5243
"build:types": {
5344
"dependsOn": [
45+
"^build:pack",
5446
"^build:types"
5547
],
5648
"outputs": [
@@ -67,6 +59,20 @@
6759
"{projectRoot}/build/aws"
6860
]
6961
}
62+
},
63+
"@sentry/utils": {
64+
"build:pack": {
65+
"dependsOn": [
66+
"^build:pack",
67+
"^build:types"
68+
],
69+
"outputs": [
70+
"{projectRoot}/build/esm",
71+
"{projectRoot}/build/cjs",
72+
"{projectRoot}/esm",
73+
"{projectRoot}/cjs"
74+
]
75+
}
7076
}
7177
}
7278
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"private": true,
33
"scripts": {
4-
"build": "node ./scripts/verify-packages-versions.js && yarn run-p build:pack build:types build:bundle && yarn build:extras",
4+
"build": "node ./scripts/verify-packages-versions.js && run-s build:types build:pack build:bundle",
55
"build:bundle": "lerna run build:bundle",
66
"build:dev": "run-p build:types build:pack",
77
"build:dev:filter": "lerna run build:dev --include-filtered-dependencies --include-filtered-dependents --scope",
8-
"build:extras": "lerna run build:extras",
98
"build:pack": "lerna run build:pack",
10-
"build:types": "lerna run --stream build:types",
9+
"build:types": "lerna run build:types",
1110
"build:watch": "lerna run build:watch",
1211
"build:dev:watch": "lerna run build:dev:watch",
1312
"build:types:watch": "ts-node scripts/build-types-watch.ts",

packages/gatsby/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
3535
"react": "^18.0.0"
3636
},
3737
"scripts": {
38-
"build": "run-p build:pack build:types && yarn build:extras",
38+
"build": "run-p build:pack build:types",
3939
"build:dev": "run-s build",
40-
"build:extras": "yarn build:plugin",
4140
"build:plugin": "tsc -p tsconfig.plugin.json",
4241
"build:pack": "run-p build:rollup build:plugin",
4342
"build:rollup": "rollup -c rollup.npm.config.js",

packages/serverless/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@
3838
"read-pkg": "^5.2.0"
3939
},
4040
"scripts": {
41-
"build": "run-p build:pack build:types build:bundle && yarn build:extras",
42-
"build:awslambda-layer": "echo 'WARNING: AWS lambda layer build emporarily moved to \\`build:bundle\\`.'",
41+
"build": "run-p build:pack build:types build:bundle",
4342
"build:bundle": "yarn ts-node scripts/buildLambdaLayer.ts",
4443
"build:dev": "run-p build:pack build:types",
45-
"build:extras": "yarn build:awslambda-layer",
4644
"build:pack": "rollup -c rollup.npm.config.js",
4745
"build:types": "tsc -p tsconfig.types.json",
4846
"build:watch": "run-p build:pack:watch build:types:watch",

packages/tracing/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@
2626
"@types/express": "^4.17.14"
2727
},
2828
"scripts": {
29-
"build": "run-p build:pack build:types build:bundle && yarn build:extras #necessary for integration tests",
29+
"build": "run-p build:pack build:types build:bundle",
3030
"build:bundle": "yarn rollup --config rollup.bundle.config.js",
3131
"build:dev": "run-p build:pack build:types",
32-
"build:extras": "yarn build:prepack",
33-
"build:prepack": "ts-node ../../scripts/prepack.ts --bundles",
3432
"build:pack": "rollup -c rollup.npm.config.js",
3533
"build:types": "tsc -p tsconfig.types.json",
3634
"build:watch": "run-p build:pack:watch build:bundle:watch build:types:watch",

0 commit comments

Comments
 (0)