My personal code generators / scaffolders
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Morten Olsen 2f4286b295
update
2023-09-25 10:22:55 +02:00
packages update 2023-09-25 10:22:55 +02:00
.eslintignore init 2023-05-27 20:35:37 +02:00
.eslintrc init 2023-05-27 20:35:37 +02:00
.gitignore init 2023-05-27 20:35:37 +02:00
.npmrc init 2023-05-27 20:35:37 +02:00
.prettierrc.json init 2023-05-27 20:35:37 +02:00
.yo-rc.json init 2023-05-27 20:35:37 +02:00
package.json init 2023-05-27 20:35:37 +02:00
pnpm-lock.yaml init 2023-05-27 20:35:37 +02:00
pnpm-workspace.yaml init 2023-05-27 20:35:37 +02:00
README.md init 2023-05-27 20:35:37 +02:00
TODO.md init 2023-05-27 20:35:37 +02:00
turbo.json init 2023-05-27 20:35:37 +02:00

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 repo
  • yo x-pkg [location]: Creates a new package in a mono repo
  • yo x-git [location]: Initializes Git and creates the repo on GitHub (Needs GITHUB_TOKEN or GH_TOKEN env variable)
  • yo x-npm [location]: Sets up NPM publishing as a GitHub action (GITHUB_TOKEN/GH_TOKEN is needed to auto create GitHub secrets)