Skip to content

Commit f3d2169

Browse files
committed
Fix dashboard prepublishOnly: skip build in npm publish
The prepublishOnly hook ran vite build under Node 18, but Vite 8 requires Node 20.19+. The CI workflow already builds and tests before npm publish, so prepublishOnly is redundant.
1 parent 5fde1bb commit f3d2169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "vite build",
2626
"test": "bun test",
2727
"preview": "vite preview",
28-
"prepublishOnly": "bun run build && bun test"
28+
"prepublishOnly": "echo 'Build and tests handled by CI workflow'"
2929
},
3030
"devDependencies": {
3131
"@sveltejs/adapter-static": "^3.0.10",

0 commit comments

Comments
 (0)