My personal code generators / scaffolders
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| packages | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc.json | ||
| .yo-rc.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| TODO.md | ||
| turbo.json | ||
Setup
npm i -g yo
git clone https://github.com/morten-olsen/generators
cd generators
pnpm bootstrap
Commands
yo x-repo [location]: Creates a new mono repoyo x-pkg [location]: Creates a new package in a mono repoyo x-git [location]: Initializes Git and creates the repo on GitHub (NeedsGITHUB_TOKENorGH_TOKENenv variable)yo x-npm [location]: Sets up NPM publishing as a GitHub action (GITHUB_TOKEN/GH_TOKENis needed to auto create GitHub secrets)