https://github.com/easingthemes/spessasynth_lib
https://github.com/easingthemes/spessasynth_lib
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/easingthemes/spessasynth_lib
- Owner: easingthemes
- License: apache-2.0
- Created: 2024-10-06T20:23:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-06T20:23:58.000Z (over 1 year ago)
- Last Synced: 2025-03-26T00:08:05.482Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# npm-package-template
Description
[](https://npmjs.org/package/@companynamespace/npm-package-template)
[](https://github.com/companynamespace/npm-package-template/actions)
[](https://github.com/companynamespace/npm-package-template/actions)
[](https://github.com/semantic-release/semantic-release)
[](https://opensource.org/licenses/Apache-2.0)
## TLDR;
1. Create a new repo from this Template
[](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
2. Update the Readme
- replace `@companynamespace/npm-package-template` with the new package_name
3. Update package.json
- replace "name" `@companynamespace/npm-package-template` with the new package_name
- replace "repository.url" `https://github.com/companynamespace/npm-package-template` with the new repository url
- Add description, and other fields if needed
4. Update LICENSE
- Update `[COMPANY` name
- Update year `[yyyy]`
5. Update docs/CODE_OF_CONDUCT.md
- Update `` name
6. Activate automatic release
- disable `dry_run` in Release step in .github/workflows/release.yml.
## Content
### Docs
- LICENSE
- docs/CODE_OF_CONDUCT.md
- docs/CONTRIBUTING.md
- docs/CHANGELOG.md --> dynamically updated
### Issue template
- .github/ISSUE_TEMPLATE.md
### PR template
- .github/PULL_REQUEST_TEMPLATE.md --> automatically closes connected issue
### Workflows
- CI --> npm ci, test and build
- CodeQL --> Perform CodeQL Analysis (Security, etc.)
- Release --> semantic-release:
* Creates release notes
* Updates CHANGELOG
* Updates package.json version
* Creates Git tag/release
* Publish package to NPM
- Manual Release --> same as Release, but can be triggered manually in Actions tab
### Release
- based on Angular Commit Message Conventions in commits -
https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-header
- Commit message format is used to build:
* Release notes
* Changelog updates
* NPM package semver
### Commit message Convention
```
():
│ │ │
│ │ └─⫸ Summary in present tense. Not capitalized. No period at the end.
│ │
│ └─⫸ Commit Scope (optional): project|based|list
│
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
```