@skarab/skaffold
v3.4.0
Published
The best way to scaffold a project as I would do it myself (Kappa)
Downloads
7
Maintainers
Readme
@skarab/skaffold
The best way to scaffold a project as I would do it myself.
Features
- 📐 Setup the holy trinity: Prettier, ESLint, TypeScript with my shared configuration.
- 🤖 Setup GitHub Actions to run the trinity on
push
andpull_request
. - 🔎 Setup lint-staged and simple-git-hooks to run Prettier and ESLint on staged files.
- ✅ Setup Vitest and create a minimal example in the
./test
directory. - 📦 Setup semantic-release for automatic release on NPM via GitHub Actions (see Publishing).
Installation
pnpm add --global @skarab/skaffold
Example
skaffold my-amazing-project
cd ./my-amazing-project
pnpm install
pnpm update # optional
Usage
Usage: skaffold [options] [command]
The best way to scaffold a project as I would do it myself (Kappa).
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
create [options] [name] create a new project
help [command] display help for command
Publishing
If you have selected the release
feature when creating your project, please check the following points:
Make sure you add your NPM_TOKEN as a secret in your repo configuration.
Edit the
.github/workflows/CI.yml
file and uncomment therelease
job.Edit the
package.json
and make your project public.{ "private": false, "publishConfig": { "access": "public" } }
The next time you push on the main branch your package will be automatically published on NPM 🚀