Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Scaffolding

This guide explains how to create a new monorepo from the private FRAME template using the @pablousx/create-frame CLI.

  • Node.js 24.18.0+
  • pnpm 11+
  • A token with access to the private pablousx/frame repository
Terminal window
npm login --scope=@pablousx --registry=https://npm.pkg.github.com
pnpm create @pablousx/frame@latest

The wizard asks for:

  • Project name (npm scope)
  • Apps (next, nest, astro)
  • Packages and configs
  • License and copyright
  • Whether to install dependencies and run project setup

When setup is selected, scaffolding completes only after pnpm install and pnpm frame setup --yes succeed. If setup is skipped, the CLI prints those commands as the next steps.

Useful for CI or automation:

Terminal window
pnpm create @pablousx/frame@latest -- \
--yes \
--name my-project \
--apps next,nest \
--packages core,auth,models \
--configs oxlint,tsconfig \
--license Proprietary \
--copyright "Acme Corp" \
--authorized-by "Platform Team" \
--setup \
--template main
FlagDescription
--nameProject name (required with --yes)
--appsCSV list: next,nest,astro
--packagesCSV list: core,auth,models,mail,events,cli
--configsCSV list: oxlint,tsconfig
--licenseProprietary, MIT, Other
--copyrightCopyright owner
--authorized-byAuthorizing person
--templateGitHub ref (main, tag, SHA)
--setupInstall dependencies and run project setup
--no-setupLeave installation and setup as next steps
--yes, -yNon-interactive mode

With --yes, setup runs only when --setup is supplied explicitly.

  • Selected apps / packages / configs
  • Workspace dependencies required per app (including @…/cli)
  • pnpm-workspace.yaml with the catalog intact (docs / create removed — FRAME-only)
  • Prod Dockerfiles with FRAME-only create/ / docs/ package.json COPY lines removed
  • .github/workflows/docker.yml (path-filtered prod image builds for selected apps + migrator)
  • .code-workspace with filtered folders
  • Scope rename @frame@<projectName>
  • FRAME_ORIGIN, LICENSE, AGENTS.md, and an initial README

The CLI caches the tarball under ~/.cache/create-frame/ (24h by default).

Variables:

  • CREATE_FRAME_TEMPLATE — default ref
  • CREATE_FRAME_CACHE_DIR — cache directory
  • CREATE_FRAME_CACHE_TTL_MS — TTL in milliseconds
ErrorAction
Repository not foundVerify gh auth login or GITHUB_TOKEN
No catalog entryReport a bug: the workspace overlay is broken
workspace pkg not foundA package required by a selected app is missing

When setup was skipped:

Terminal window
cd my-project
pnpm install
pnpm frame setup
pnpm -F apps/next dev