0.6.0 • Published 6 months ago
@kamatte-me/npm-sandbox v0.6.0
@kamatte-me/npm-sandbox
My NPM sandbox project.
Build ESM / CJS package with TypeScript.
Tools
Getting Started 🚀
- Create a new GitHub repository
- Download this repository
- Modify the Release Workflow in
.github/workflows/release.yml
- - run: pnpm auto shipit + - run: pnpm auto shipit --dry-run
- Update the following package information in
package.json
name
version
:0.0.0
description
keywords
homepage
repository
license
author
- Update
README.md
- Update
LICENSE
- Push to GitHub
git init git add --all git commit -m "first commit" git branch -M main git remote add origin git@github.com:<user>/<repo>.git git push -u origin main
- Create an initial GitHub release (for auto)
- Tag & Release Title:
v0.0.0
- Tag & Release Title:
- Generate new tokens
- GitHub Personal Access Token (classic)
- Select scopes
repo
- Select scopes
- NPM Granular Access Token
- Permissions:
Read and write
- Permissions:
- GitHub Personal Access Token (classic)
- Configure GitHub repository
Settings
Actions
>General
>Workflow permissions
- Enable
Read and write permissions
- Enable
Allow GitHub Actions to create and approve pull requests
- Enable
Secrets and variables
>Actions
>New repository secret
GH_ADMIN_TOKEN
: Your GitHub Personal Access TokenNPM_TOKEN
: Your NPM Granular Access Token
Branches
>Add rule
- For the
main
branch:- Enable
Require a pull request before merging
- Enable
Require approvals
- Enable
Dismiss stale pull request approvals when new commits are pushed
- Enable
- Enable
Require status checks to pass before merging
Status checks that are required.
test
lint
typecheck
build
- Enable
- For the
next
branch:- Use the same settings as the main branch
- Enable
Allow deletions
- For the
- Install the following GitHub Apps
- Create labels for auto
GH_TOKEN=<Your GitHub Personal Access Token> pnpm auto create-labels
- DEVELOP YOUR LIBRARY
- Familiarize yourself with the auto release workflow release workflow
- First Publish 🎉
- Revert the release workflow changes
- PR and Merge the reverted changes into the
main
branch
- Remove the
v0.0.0
tag
0.6.0
6 months ago
0.5.0
6 months ago
0.4.0
6 months ago
0.3.5
6 months ago
0.3.4
6 months ago
0.3.3
6 months ago
0.3.2
6 months ago
0.3.1
6 months ago
0.3.0
6 months ago
0.2.7
6 months ago
0.2.6
6 months ago
0.2.5
6 months ago
0.2.4
6 months ago
0.2.3
6 months ago
0.2.2
6 months ago
0.2.1
6 months ago
0.2.0
6 months ago
0.1.0
6 months ago
0.0.15
6 months ago
0.0.14
6 months ago
0.0.13
6 months ago
0.0.12
6 months ago
0.0.11
6 months ago
0.0.10
6 months ago
0.0.9
6 months ago
0.0.8
6 months ago
0.0.7
6 months ago
0.0.6
6 months ago
0.0.5
6 months ago
0.0.4
6 months ago
0.0.3
6 months ago
0.0.2
6 months ago
0.0.1
6 months ago