This repository was archived by the owner on Mar 20, 2026. It is now read-only.
Move build deps out of user deno.json, add aai upgrade#133
Merged
Conversation
…fault styles.css Build tools (vite, esbuild, @preact/preset-vite, @tailwindcss/vite, etc.) now use fully-qualified npm:/jsr: specifiers in the generated build script instead of bare imports from the user's deno.json. This reduces `deno install` in a scaffolded project from 107 packages to 6. - Use npm:/jsr: specifiers in BUILD_SCRIPT so build deps resolve directly - Remove build-only deps from templates/_shared/deno.json and templates/deno.json - Remove json-schema (type-only, erased at build time) - Generate default styles.css from bundler if project doesn't have one - Delete templates/_shared/styles.css (single source of truth in bundler) - Add `aai upgrade` command that runs `deno outdated --update @aai/*` Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm:/jsr:specifiers in the generated build script instead of bare imports from the user'sdeno.json.deno installin a scaffolded project drops from 107 packages to 6.aai upgradecommand that runsdeno outdated --update @aai/*+deno installstyles.cssif project doesn't have one (single source of truth, removed from_shared/)json-schemafrom user template (type-only dep, erased at build time)Test plan
deno task checkpasses (206 tests)deno task test:templatespasses (15/15)aai-dev deploy --dry-runworks from monorepo templatesaai upgraderuns successfullydeno installin scaffolded project installs 6 packages (not 107)🤖 Generated with Claude Code