Skip to content

Commit 90b3725

Browse files
committed
build: add prepack script to package.json
1 parent 019ea28 commit 90b3725

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libs/core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "@tanstack-query-with-orbitjs/core",
33
"version": "0.0.1",
44
"scripts": {
5-
"build": "tsup"
5+
"build": "tsup",
6+
"prepack": "pnpm build"
67
},
78
"dependencies": {
89
"@tanstack/query-core": "*"

libs/react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "@tanstack-query-with-orbitjs/react",
33
"version": "0.0.1",
44
"scripts": {
5-
"build": "tsup"
5+
"build": "tsup",
6+
"prepack": "pnpm build"
67
},
78
"dependencies": {
89
"@tanstack-query-with-orbitjs/core": "workspace:^"

0 commit comments

Comments
 (0)