create-eep
v0.3.0
Published
Scaffold new projects from Engineering Enablement Platform (EEP) templates.
Maintainers
Readme
create-eep
Scaffold new projects from Engineering Enablement Platform (EEP) templates.
Early days. Optional template features (e.g. the Next.js docs site) and dependency install are coming.
Usage
Run it with no arguments and it asks for a project name and template:
npx create-eep@latestOr pass everything up front - with npx:
npx create-eep@latest my-app --template next-appOr with npm create (pass options after -- so npm forwards them):
npm create eep@latest my-app -- --template next-appNote the hyphen with npx - it's create-eep, not create eep.
Works with any package manager (pnpm create eep my-app --template next-app, yarn create eep ..., bunx create-eep ...).
Requires Node 22.13 or later.
Templates
| Name | Template |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| web-dev-starter | Web dev starter - plain HTML, CSS and JavaScript (default) |
| next-app | Next.js full-stack app |
Any public GitHub repo also works as a template:
npm create eep@latest my-app -- --template https://github.com/org/repoOptions
| Option | Description |
| ------------------------------ | --------------------------------------------------------------------------- |
| -t, --template <name-or-url> | Template name, GitHub repo URL or gh:org/repo (default web-dev-starter) |
| -y, --yes | Skip prompts and use the defaults |
| -v, --version | Print the version |
| -h, --help | Show help, including the template list |
For template authors
A template can include an .eep/ folder that tells create-eep how to turn it into a project.
create-eep applies it after downloading and then deletes .eep/, so it never reaches generated projects.
Templates without one (including any GitHub repo) are copied as-is.
.eep/template.json:
{
"version": 1,
"remove": ["path/only-needed-to-maintain-the-template/"],
"readme": "README.md"
}remove- paths always deleted from generated projects (must stay inside the project)readme- a starter README inside.eep/that replaces the template's own.{{projectName}}and{{templateName}}are filled inpackage.jsonname(if present) is set to the project name
If setup fails, the half-made project directory is removed.
Development
Requires Node 24 (see .nvmrc) and pnpm (version pinned in package.json - Corepack or pnpm itself will switch to it automatically).
The pre-commit hook also needs gitleaks (secret scanning), Trivy (dependency vulnerabilities), actionlint (GitHub Actions workflows) and shellcheck (shell scripts):
brew install gitleaks trivy actionlint shellcheckpnpm installpnpm install also sets up the Husky pre-commit hook. On every commit it scans staged files for secrets, runs Trivy when dependencies change, lints and formats staged files, and - when code changes - runs typecheck, tests and the build. For a WIP or TDD-red commit, skip the typecheck/tests/build step (secret scanning and linting still run):
SKIP_CHECKS=1 git commit -m "wip: ..."| Command | What it does |
| --------------------- | ------------------------------------------------------------------------------------------ |
| pnpm dev | Run the CLI from source, e.g. pnpm dev my-app --template web-dev-starter (no build step) |
| pnpm test | Run the test suite once |
| pnpm test:watch | Re-run tests on file changes |
| pnpm test:coverage | Run tests with a coverage report (HTML report in coverage/) |
| pnpm typecheck | Type-check with tsc (no output emitted) |
| pnpm lint | Lint with ESLint (fails on any warning) |
| pnpm lint:fix | Lint and auto-fix what can be fixed |
| pnpm lint:probe | Check the ESLint config still enforces each rule |
| pnpm lint:workflows | Lint GitHub Actions workflows with actionlint (+ shellcheck on run: steps) |
| pnpm lint:shell | Lint the pre-commit hook and scripts/*.sh with shellcheck |
| pnpm format | Format all files with Prettier |
| pnpm format:check | Check formatting without writing changes |
| pnpm build | Bundle the CLI into dist/index.mjs with tsdown |
| pnpm lint:package | Check the package is publishable (bin, files, ...) with publint |
| pnpm smoke | Build, pack, install the tarball into a temp project and run it |
Check workflow YAML locally before pushing - catches typos, broken ${{ }} expressions, bad needs: references and shell bugs in run: steps without waiting for a CI run:
pnpm lint:workflowsOpen the coverage report after pnpm test:coverage:
open coverage/index.htmlReleasing
Releases are automated with release-please - never bump the version or edit CHANGELOG.md by hand.
- Commit to
mainwith conventional commits -fix:means a patch release,feat:a minor one (docs:,chore:,ci:andtest:don't trigger a release). - release-please keeps a single Release PR open with the next version and changelog, updating it on every push.
- Merge the Release PR to release: it tags the commit, creates a GitHub Release, and the
publishjob publishes to npm via OIDC trusted publishing (with provenance).
Contributing
See CONTRIBUTING.md. Agents (and humans) should also follow AGENTS.md.
Found a security issue? Please report it privately - see SECURITY.md.
