Personal template for creating TypeScript libraries.
- If it should be published to NPM, add the
NPM_TOKEN
secret (make sure not to leave a trailing newline in there!). Otherwise, add"private": true
inpackage.json
. - Update the package name, description and repo URL in
package.json
- Enable 'Allow GitHub Actions to create and approve pull requests' in Settings > Actions (General) > `Workflow permissions
- Set protection on the master branch: require a pull request before merging, require reivew from code owners, require status checks to pass (select both ci options)
- Add the repo to the file sync automation rules
- Update the README, using the template commented out below