Skip to content

Commit 85ac1c8

Browse files
committed
revert bundle scripts and use tsx instead
1 parent 19bfa9e commit 85ac1c8

File tree

4 files changed

+49
-4
lines changed

4 files changed

+49
-4
lines changed

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ADBLOCK=1
66

77
legacy-peer-deps=true
88

9-
node-options="--experimental-strip-types"
9+
node-options="--import tsx"

package-lock.json

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"lint-staged": "^15.4.3",
3333
"rimraf": "^6.0.1",
3434
"tsup": "^8.4.0",
35+
"tsx": "^4.19.3",
3536
"typescript": "^5.8.2",
3637
"vitest": "^3.0.7"
3738
},

packages/tanstack-query-builder/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"start": "tsup --watch",
3333
"build": "tsup",
3434
"test": "vitest",
35-
"prepare": "npm run build",
36-
"prepack": "node ../../scripts/copyPackageJson.mts",
35+
"prepare": "npm run bundle",
36+
"bundle": "npm run build && node ../../scripts/copyPackageJson.mts",
3737
"attw": "npx --yes @arethetypeswrong/cli --pack dist",
3838
"publint": "cd dist && npx --yes publint",
39-
"publish": "npm run build && npm run prepack && npm run attw && npm run publint && npm publish ./dist --provenance --access public"
39+
"publish": "npm run bundle && npm run attw && npm run publint && npm publish ./dist --provenance --access public"
4040
},
4141
"devDependencies": {
4242
"@tanstack/react-query": "^5.66.11",

0 commit comments

Comments
 (0)