Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dist-ssr
# Editor directories and files
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea
.DS_Store
*.suo
Expand Down
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,5 @@
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.0.0",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"sharp",
"workerd"
]
}
"packageManager": "pnpm@11.7.0"
}
10 changes: 9 additions & 1 deletion packages/propel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
},
"scripts": {
"build": "vp pack",
"check": "vp check",
"dev": "vp pack --watch",
"storybook": "LAUNCH_EDITOR=\"$EDITOR\" storybook dev -p 6006",
"prepublishOnly": "vp run build",
"test": "vp test",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
Expand All @@ -71,17 +74,22 @@
"@storybook/addon-vitest": "^10.4.5",
"@storybook/react-vite": "^10.4.5",
"@tailwindcss/vite": "^4.3.1",
"@types/node": "^25.6.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260509.2",
"@vitest/browser-playwright": "4.1.9",
"@vitest/coverage-v8": "4.1.9",
"bumpp": "^11.1.0",
"playwright": "^1.61.0",
"publint": "^0.3.21",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"storybook": "^10.4.5",
"storybook-addon-pseudo-states": "^10.4.5",
"tailwindcss": "^4.3.1",
"typescript": "^6.0.3",
"vite-plus": "catalog:",
"vitest": "4.1.9",
"wrangler": "4.100.0"
},
Expand Down
20 changes: 0 additions & 20 deletions packages/propel/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,4 @@ export default defineConfig({
},
})),
},
run: {
tasks: {
// Run the story tests as a Vite Task (not a package.json script) so it can be
// cached. The run writes transient caches *inside* node_modules during execution
// (Vitest's `.vite/vitest/<hash>/results.json`, Storybook's `.cache/storybook/...`),
// and the task runner's automatic file tracking sees each as both read and written
// -- an unstable input that busts the cache every run ("not cached because it
// modified its input"). Drop all of node_modules from the fingerprint and key the
// cache on the source/config the run actually depends on plus the lockfile (so a
// dependency change still invalidates it). An unchanged run then replays from cache.
test: {
command: "vitest --project 'storybook-*' run",
input: [
{ auto: true },
"!**/node_modules/**",
{ pattern: "pnpm-lock.yaml", base: "workspace" },
],
},
},
},
});
Loading