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
Adrian
2e25421ff0
docs: fix express nitro config ( #415 )
...
* docs: fix express nitro config
* docs: remove fromNodeHandler wrapper in express app
* fix: dup import in docs
* docs: fix use srvx toFetchHandler
* docs: express add rollup deps
* test
* simplify express
2025-12-02 09:09:31 -08:00
Adrian
edb69c3c0d
fix: port detection, postgres nitro apps and nitro app testing ( #363 )
...
* add debug logs
* add polling for port test
* nuxt may be hmring on ignored files/folders
* Revert "nuxt may be hmring on ignored files/folders"
This reverts commit c57c3f0dd9e1b757825c777e12b63e050ca44227.
* Update packages/utils/src/get-port.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update packages/world-local/src/config.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update packages/utils/src/get-port.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* revert getPort
* test new pid to port cmd
* extend sleep time on tests
* fix
* fix race condition in tests
* add logs
* add fallback from pid-port
* remove pid-port fallback
* revert config ts
* test: add getPort test
* update tests for concurrent calls
* temp
* trigger rebuild
* feat: add windows get port support
* fix port sorting
* fix parsing logic and filtering
* fformat
* update ports logi
* revert
* windows port hack
* refactor: optional chaining on windows
* test: change ordering of config tests
* remove wrong test
* simplify windows getPort impl
* use execFileSync instead of execFile
* use execa
* disable test cache
* Update packages/utils/src/get-port.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* update
* debug
* windows cmd
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* lockfile
* fix: windows port detection
* simplify stuff
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* test: revert gh copilot
* fix
* increase sleep
* revert logs
* revert turbo
* revert
* revert
* changeset
* Update packages/utils/src/get-port.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* format
* init postgres world for express and hono
* add posgres world to nitro config
* add postgres world start to sveltekit
* add postgres world plugin to nitro apps
* Update workbench/sveltekit/src/hooks.server.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update workbench/vite/vite.config.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* fix nuxt plugin
* revert vercel compiled hook on nitro
* .
* revert
* update
* CI WILL BE GREEN
* remove log in nitro
---------
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-24 09:30:41 -08:00
Adrian
00066be07b
feat: add express support ( #138 )
...
* refactor: migrate to latest nitro v3
Signed-off-by: Pooya Parsa <pooya@pi0.io >
* update workaround
* fix(nitro): nitro builder using deprecated srcDir
* fix: testing matrix dirs
* fix(hono): externalize nitro workflow output dir
* chore: format
* fix(nitro): externalize .nitro/workflow folder
* docs(hono): update getting started
* update docs and workbench
* improve plugin patch
* docs: preserve code style
* update `getWorkflowDirs`
* test: fix hono dev config
* fix: wrong api file path in hono dev config
* fix(nitro): check all dirs for builder
* chore: add comments
* add express workbench testing app
* docs: add express wip page
* add workflows symlink for express workbench
* add hook and trigger routes for express workbench
* update server entrypoint to use hook and trigger router
* remove h3 and add express types
* docs: add express getting started guide
* test: wire up express workbench
* Update workbench/express/routes/hook.routes.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* Update workbench/express/routes/trigger.routes.ts
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* build: missing deps in workbench express
* build: remove express as dev dep
* lockfile
* build: remove test command from express workbench
* fix: url query parsing
* chore: add README
* remove app hook and trigger routers
* .
* fix: json body not getting parsed in workbench express
* fix: writing streams in workbench
* fix: wrong stream piping express workbench
* update
* fix: json parsing body workbench express
* update
* fix: add js file extension for relative import on workflow express workbench
* test
* refactor: route naming conventions for nitro
* refactore: convert to catch all api on express
* Update workbench/express/package.json
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
* refactor: api file convention
* testing presets
* refactor: use simple `index.ts`
* update
* switch entry format to node
* add generate workflow script to express
* fix: express nitro config
* docs(express): update express getting started
* test: add express
* fix(express): workbench api routes
* fix(express): add workflowsDir to testing matrix
* format
* update gitignore
* fix
* .
* trigger ci
* update workflows dir
* fix: streaming in express
* fix: not json parsing body express
* fix: missing dev test in express
* fix: test matrix for express
* docs(express): update getting started and add rollup dep
* .
* docs: add express card to home page and getting started
* Update docs/content/docs/getting-started/express.mdx
Co-authored-by: Pooya Parsa <pooya@pi0.io >
* docs: fix express
* remove h1 on express
---------
Signed-off-by: Pooya Parsa <pooya@pi0.io >
Co-authored-by: Pooya Parsa <pooya@pi0.io >
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-11-19 17:12:53 -08:00