93 monorepo support#94
Merged
Merged
Conversation
- Add VirtualProjectState.WithPrefix for scoped per-app file writes - Add Manifest.PathPrefix runtime field for validator and WorkDir scoping - Executor scopes ctx.State to apps/<name>/ for loop invocations - Runner populates PathPrefix on manifests for loop invocations - Command planner uses PathPrefix as WorkDir fallback when WorkDir is empty - Validator resolves check paths relative to PathPrefix - FormWalker defers LoopQuestion.Continue to post-loop sub-form - HuhFormRunner runs loop body sub-forms per iteration then Continue - Add apps_count LoopQuestion with full per-app question chain - Extract buildTSBackendChain(terminal) to eliminate duplicate question nodes - Add resolveMonorepoGenerators, extractAppAnswers, resolveAppGenerators - typescript_base prefers app-name answer over project_name in loop context
Writes root package.json (workspaces: ["apps/*"]) and pnpm-workspace.yaml for TypeScript monorepos. Runs pnpm install at the project root as a post-gen command. Depends on base_project.
…xtures - Add scripted loop adapter to runner so JSON fixtures can drive LoopQuestion - Add 202605140001_monorepo_multi_2apps_typescript fixture (2-app monorepo, clean-arch+decorators for api, mvc+prettier for web, 93 validators) - Add enable-auth: false to the 7 single-app fixtures where enable-db is false; enable-auth is now always visited after enable-db in the unified question chain
- architecture.md: document WithPrefix scoping in VFS section, PathPrefix field on Manifest, per-app state scoping in executor Step 4, WorkDir resolution order in command execution - authoring-flows.md: rewrite LoopQuestion section (count-based, Continue is a post-loop sub-form), update Loops section with extractIterations normalisation pattern, update loop invocations example - authoring-generators.md: rewrite Loop generators section (executor handles path scoping via WithPrefix, generators write relative paths only), expand Built-in generators table to all 36 registered generators
…erator skill - dot-add-generator: add Iron Law #5 requiring non-empty PostGenerationCommands and TestCommands for any generator producing typed/compiled output; add matching Common mistakes entry - dot-add-question: add checklist item and Common mistakes entry requiring verification of both command fields on newly-wired generators - Both skills: update docs rules to require documentation updates on every flow or generator change
Closed
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Closes #
Type of change
Changes
Testing
Checklist
Screenshots