You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
#699b4e6c6 Thanks @bloxy-studios! - The api slot gets its second generator-backed choice: Fastify, via the official fastify-cli@8 generate (ESM TypeScript template, every flag verified in the published 8.0.0 bundle). The generator is fully non-interactive but refuses existing directories and derives the package name through npm init -y — an npm call that trips the workspace's bun devEngines guard (EBADDEVENGINES) if run in-tree, so groot stages the generate in a disposable directory under the OS tempdir and moves the result into place (the trunk's temp-sibling pattern, generalized as stagedGeneration). groot then overlays a bun-native src/server.ts modeled on fastify-cli's own eject template (register the autoload app plugin, listen on :3001). The stitch stage swaps the template's Node-centric fastify start / npm run script chains for the bun set — dev: bun --watch src/server.ts, build: tsc (dist/ joins turbo's cached outputs), test: bun test — marker-gated so hand-rolled scripts are never clobbered. @fastify/autoload ≥ 6 detects bun and loads the .ts plugins/routes natively; bun's node:test shim runs the template's test suite as-is. Doctor gains port-drift and app-plugin checks; the schema's framework enum grows fastify; manifest stays version 1.