create-agntcms-app
v0.5.9
Published
create-agntcms-app: scaffold a new agntcms project from the canonical template
Readme
create-agntcms-app
Scaffold a new agntcms project from the canonical template.
Usage
pnpm create agntcms-app my-site
cd my-site
pnpm devLocal development (monorepo)
When developing the framework itself, use --local to link the scaffolded
project back to your monorepo checkout via file: protocol:
# 1. Build all packages
pnpm build
# 2. Scaffold with --local
node packages/cli/dist/index.mjs --local ~/test-site
# 3. Start watch mode in the monorepo (rebuilds packages on change)
pnpm dev
# 4. Start the scaffolded project
cd ~/test-site && pnpm devChanges in packages/next/ are rebuilt by the monorepo watcher and picked up
automatically by the scaffolded project through the symlink.
What --local does
- Rewrites
workspace:*dependencies tofile:references pointing at the monorepo - Points
tsconfig.jsonextends at the monorepo'stsconfig.base.json - Everything else (template copy, skills init) works identically
