Commit Graph

11 Commits

Author SHA1 Message Date
Nathan Colosimo f5a13cda68 Merge origin/main into nathanc/fix-framework-base-path
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com>
2026-07-09 16:00:37 -07:00
Nathan Colosimo 421ff4f349 Bump e2e framework versions (#2814)
* Fix SvelteKit config loading

* Bump e2e framework versions
2026-07-08 10:25:34 -07:00
Nathan Colosimo 67e63895e2 Merge remote-tracking branch 'origin/nathanc/fix-next-base-path' into nathanc/fix-framework-base-path
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com>

# Conflicts:
#	packages/astro/src/builder.ts
#	packages/astro/src/plugin.ts
#	packages/core/e2e/bench.bench.ts
#	packages/nitro/src/builders.ts
#	packages/nitro/src/index.test.ts
#	packages/nitro/src/index.ts
#	packages/nitro/src/vite.ts
#	packages/sveltekit/src/builder.ts
#	packages/sveltekit/src/plugin.ts
#	workbench/express/nitro.config.ts
#	workbench/fastify/nitro.config.ts
#	workbench/hono/nitro.config.ts
#	workbench/nitro-v3/nitro.config.ts
#	workbench/tanstack-start/vite.config.ts
#	workbench/vite/vite.config.ts
2026-07-06 15:51:09 -07:00
JJ Kasper 0f557d5ae4 Statically inject workflow world target (#2752)
* Statically inject workflow world target

* Fix static world injection in host bundles

* Fix static world injection gaps

* Fix Vite Nitro server startup

* Fix Nitro pg-native aliasing

* Fix static world target CI gaps

* Fix static world dev rebuild gaps

* Avoid broad runtime alias in Nitro

* Refresh Next dev route for step HMR

* Externalize Nest target world

* Use canary HMR rediscovery timeout

* Bundle local world in Nest builds

* Dedupe world target helpers and fix SvelteKit chunk patch guard
2026-07-06 14:19:45 -07:00
Nathan Colosimo f22244c787 Simplify framework base path support
Refactor to the minimal change set while keeping behavior:

- builders: share createBuildOutputApiWorkflowRoutes /
  createBuildOutputApiRootBlockRoutes so Astro reuses them instead of
  duplicating route regexes; merge the two new test files into one and
  drop test-only exports (createBuildOutputApiRoutes,
  createBasePathRouteRegexPrefix no longer re-exported)
- astro: make the handler guard private, reuse shared routes, only
  inject the base path Vite plugin when a base is configured; drop the
  package test script and test file (covered by builders tests)
- sveltekit: revert the test-only flow-route extraction; keep the
  svelte.config loader + its test
- nitro: only register the Vercel output patch hook, static manifest
  copy, and base path runtime plugin when a baseURL is configured so
  default deployments are untouched; consolidate the two file-fixture
  tests into one and revert unrelated test churn
- pass undefined (not '') basePath when no base path is configured so
  generated route files are identical to main for default apps
- workbenches: drop redundant turbo.json env overrides (root turbo.json
  already declares them; verified via turbo --dry), compact the E2E env
  boilerplate, and revert the TanStack type-fix commit (builds fine
  without it)

Verified locally with WORKFLOW_E2E_BASE_PATH=/app builds + HTTP probes
for SvelteKit, Astro, Nitro v3, Nuxt, and Vite/TanStack (prod and dev
servers): base-prefixed health/manifest respond 200 with the prefixed
endpoint path, root workflow routes are blocked, and default (no base
path) builds are unchanged.

Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com>
2026-07-06 10:44:36 -07:00
Nathan Colosimo 03697c30a5 Fix TanStack workbench Vite plugin types 2026-07-06 10:14:23 -07:00
Nathan Colosimo 61407e9873 Support non-Next framework base paths
Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com>
2026-07-02 21:55:09 -07:00
Nathan Colosimo 692a6ac5dc Upgrade workspace to TypeScript 6 (#2700)
* Upgrade workspace to TypeScript 6

* Restore Nest baseUrl for SWC builds

* Use empty changeset for TS6 upgrade

* Remove TS6 changeset
2026-06-30 05:37:38 +00:00
Nathan Colosimo 68d225d510 chore: ignore workflow swc caches (#2640) 2026-06-25 23:02:02 +00:00
Peter Wielander a7071bf3d4 Fix pnpm type issue after tanstack PR (#1907) 2026-05-04 04:13:45 +00:00
Peter Wielander 8202663857 [workbench] Add TanStack Start workbench and tests (#1875) 2026-05-04 00:42:44 +00:00