Files
Nathan Rajlich 077eb2a0ad [backport] Bump vite + enable step source-map assertions for vite local dev (#1919)
* Bump vite (#1827)

* test: enable step source-map assertions for vite local dev (#1862)

* test: enable step source-map assertions for vite local dev

Vite ^7.3.2 (bumped in #1827) preserves step bundle source maps in
dev mode, so stack traces now contain original file paths. Update
hasStepSourceMaps() so vite returns true in local dev and stays false
only in local prod, fixing the consistently failing 'basic step error'
and 'cross-file step error' e2e tests.

* chore: drop body from empty changeset

* address review: drop redundant vite local-prod guard

The default `!DEV_TEST_CONFIG` fall-through already returns false for
vite local prod, so the vite-specific guard is dead code. Just remove
the vite block entirely now that vite local dev matches the default
'has source maps' behavior.

---------

Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
2026-05-04 11:30:22 -07:00

30 lines
744 B
JSON

{
"name": "@workflow/example-vite",
"private": true,
"type": "module",
"version": "0.0.0",
"license": "Apache-2.0",
"scripts": {
"generate:workflows": "node ../scripts/generate-workflows-registry.js",
"predev": "pnpm generate:workflows",
"prebuild": "pnpm generate:workflows",
"dev": "vite dev",
"build": "vite build",
"start": "node .output/server/index.mjs"
},
"devDependencies": {
"@workflow/ai": "workspace:*",
"@workflow/world-postgres": "workspace:*",
"ai": "catalog:",
"lodash.chunk": "^4.2.0",
"nitro": "catalog:",
"openai": "^6.6.0",
"vite": "^7.3.2",
"workflow": "workspace:*",
"zod": "catalog:"
},
"dependencies": {
"@node-rs/xxhash": "1.7.6"
}
}