Skip to content

Commit 17ac378

Browse files
committed
add some convenience scripts
1 parent f86f152 commit 17ac378

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
"url": "https://github.com/KurtGokhan"
1818
},
1919
"scripts": {
20+
"start": "npm run start --workspace=tanstack-query-builder-example-vite",
2021
"test": "vitest",
2122
"lint": "biome lint",
2223
"format": "biome format",
2324
"check": "biome check",
2425
"prepare": "husky",
2526
"version": "node scripts/versionAllPackages.mts",
26-
"publish": "npm run publish --workspaces"
27+
"publish": "npm run publish --workspaces --if-present"
2728
},
2829
"devDependencies": {
2930
"@biomejs/biome": "1.9.4",

packages/example-mocks/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
},
1313
"scripts": {
1414
"start": "vite",
15-
"build": "tsc && vite build"
15+
"build": "tsc && vite build",
16+
"publish": "npm publish"
1617
},
1718
"dependencies": {},
1819
"devDependencies": {

0 commit comments

Comments
 (0)