@ymssa/create-enterprise-next-app
v1.0.2
Published
CLI to scaffold an enterprise-ready Next.js application from a reusable template.
Downloads
311
Maintainers
Readme
create-enterprise-next-app
CLI to scaffold a production-ready Enterprise Next.js app from the bundled template/ directory.
Related links
- GitHub repository: https://github.com/anuradhamudalige/create-enterprise-next-app
- Medium guide: https://medium.com/@theanuradha/next-js-enterprise-project-kickstarter-guide-6be3312ab2f5
Use with npx (after publish)
Run the package directly without installing it globally:
npx @ymssa/create-enterprise-next-appThe CLI asks for:
- App name (used as the target directory name)
- CICD Repo URL (injected into template files)
Then it will:
- Create a new folder:
<app-name> - Copy the template project into it
- Replace template placeholders like
{{appName}}and{{cicdRepoUrl}} - Run
npm ci --no-audit --no-fundin the generated app
Generated app commands
After scaffolding completes:
cd <app-name>
npm run devOther useful commands in the generated project:
npm run build:prod
npm startCurrent CLI interface
This package is currently interactive only.
- No positional arguments yet
- No command flags/options yet
Use:
npx @ymssa/create-enterprise-next-appLocal development (maintainer)
From this repository root, run the CLI locally:
node ./cli.jsTest the same flow as an npm package tarball:
npm pack
npx ./ymss-create-enterprise-next-app-1.0.0.tgzIf the generated filename changes by version, use the tarball name shown by
npm pack.
Publishing to npm
This package is configured for public npm publishing (publishConfig.access=public).
Typical release flow:
npm version patch
npm publishFor minor/major releases, use npm version minor or npm version major.
Notes
- Do not commit
.env.localfrom generated projects. - Verify generated project dependencies install successfully in your environment.
