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
{{ message }}
Repository navigation
[Bug]: TypeScript recipe omits the optional compiler prerequisite #785
Published URLCode 0.6.2 and recipe sources at v0.6.2 (a7d7ce1c4a540032cbc032ca0f605f1b3555b996); macOS, Node v26.8.2. Fresh disposable installed site.
Minimal reproduction
Follow recipes/typescript/README.md's first command with the published runtime installed: urlcode build-typescript --project <copied-recipe> --out <new-output>.
It fails because TypeScript is an optional dependency and the recipe does not mention installing it. The recipe metadata's tests.commands repeats the build/validate/test sequence without stating the compiler prerequisite. The runtime's diagnostic correctly names the exact install command; following that instruction makes the build and all three request fixtures pass.
Expected: state/link the optional compiler setup before the first build command, including where to install it so the selected runtime can resolve it. Keep TypeScript optional for JavaScript/declarative users. Include the prerequisite in recipe discovery metadata so an agent gets a complete runnable workflow.
Relevant output
Before installing the compiler: TypeScript authoring requires the optional typescript package (npm install --save-dev --save-exact [email protected]).
After installing that version in the disposable site: build emits functions/hello.js and reports typeChecked:false; urlcode test reports {"total":3,"failed":0}. No application implementation change was needed.
Fixed in #786 (dfa5489); GitHub didn't close this automatically.
README: the TypeScript recipe now leads with npm install --save-dev --save-exact [email protected], installed in the site that has @jimhoyd/urlcode. That is the command the runtime diagnostic prints and the devDependencies pin.
Recipe metadata: the same command is the first entry in recipe.yamltests.commands.
Test: a new test keeps the README, the diagnostic, recipe.yaml and package.json in agreement.
Unchanged: TypeScript stays optional for everyone else.
Activity
docs: fix stale app paths, invalid guide YAML, broken anchors, recipe…
Dev reload follows the extension pin, host file reaches commands and …
jimhoyd commentedon Sep 26, 2026
Fixed in #786 (dfa5489); GitHub didn't close this automatically.
npm install --save-dev --save-exact [email protected], installed in the site that has@jimhoyd/urlcode. That is the command the runtime diagnostic prints and thedevDependenciespin.recipe.yamltests.commands.recipe.yamlandpackage.jsonin agreement.Generated by Claude Code