mirror of
https://github.com/jakejarvis/stanza.git
synced 2026-10-16 07:25:43 -04:00
- Replace per-framework template files (`eslint.config.next.mjs`, `eslint.config.tanstack.mjs`) with a single `eslint.config.mjs` that branches via Handlebars `{{#if peers.framework}}` conditionals; add `handlebars` as a direct dependency to `@stanza/registry`, `apps/cli`, and `apps/web`
- Extend the template render context with a `peers: Partial<Record<CategoryId, string>>` map so any template can inspect the active framework, auth provider, etc.; thread it through `buildRenderContext`, `synthesizeTemplates`, the CLI `codemod-runner`, and the web `getBuilderState` server function
- Extract and export `activePeerIds(manifest, appId?)` from `@stanza/registry` to derive the peer map from a manifest (app-scoped for `home: app` categories); add `selectedPeerIds(selections)` in `apps/web/src/lib/selection.ts` as the URL-params-derived equivalent
- Add integration tests verifying framework-conditional eslint-prettier output for `default`, `next`, and `tanstack-start` adapters; expand resolver tests for `activePeerIds` app-scoping and for modules that declare both a `default` adapter and a framework-specific override
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "stanza",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Modular monorepo template CLI — shadcn for stacks.",
|
|
"license": "MIT",
|
|
"author": "Jake Jarvis <jakejarvis@gmail.com>",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vp run -r build",
|
|
"build:cli": "vp run stanza-cli#build && vp run create-stanza#build",
|
|
"build:web": "vp run @stanza/web#build",
|
|
"dev": "vp run -r dev",
|
|
"test": "vp test",
|
|
"lint": "vp lint",
|
|
"lint:fix": "vp lint --fix",
|
|
"fmt": "vp fmt",
|
|
"fmt:check": "vp fmt --check",
|
|
"changeset": "vp exec changeset",
|
|
"release": "vp run build:cli && changeset publish",
|
|
"prepare": "vp config"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.7.0",
|
|
"@changesets/cli": "^2.31.0",
|
|
"@stanza/registry": "workspace:*",
|
|
"@types/node": "^25.9.1",
|
|
"jiti": "^2.7.0",
|
|
"typescript": "^6.0.3",
|
|
"vite-plus": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=10"
|
|
},
|
|
"packageManager": "pnpm@10.33.4"
|
|
}
|