Skip to content

Commit 4840ddb

Browse files
committed
ensure utils build is not cached
1 parent 10d1adf commit 4840ddb

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

nx.json

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"dependsOn": [
2424
"build:pack"
2525
],
26-
"outputs": [
27-
"{projectRoot}/build"
28-
]
26+
"outputs": []
2927
},
3028
"build:pack": {
3129
"dependsOn": [
3230
"build:types",
31+
"build:pack:uncached",
3332
"^build:pack",
34-
"^build:types"
33+
"^build:types",
34+
"^build:pack:uncached"
3535
],
3636
"outputs": [
3737
"{projectRoot}/build/npm",
@@ -57,20 +57,6 @@
5757
"{projectRoot}/build/aws"
5858
]
5959
}
60-
},
61-
"@sentry/utils": {
62-
"build:pack": {
63-
"dependsOn": [
64-
"^build:pack",
65-
"^build:types"
66-
],
67-
"outputs": [
68-
"{projectRoot}/build/esm",
69-
"{projectRoot}/build/cjs",
70-
"{projectRoot}/esm",
71-
"{projectRoot}/cjs"
72-
]
73-
}
7460
}
7561
}
7662
}

packages/utils/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"build": "run-p build:pack build:types",
2929
"build:dev": "run-s build",
3030
"build:pack": "yarn ts-node scripts/buildRollup.ts",
31+
"build:pack:uncached": "yarn ts-node scripts/buildRollup.ts",
3132
"build:types": "tsc -p tsconfig.types.json",
3233
"build:watch": "run-p build:pack:watch build:types:watch",
3334
"build:dev:watch": "run-s build:watch",

0 commit comments

Comments
 (0)