0.1.0 • Published 2 years ago
errorsparty-api-core v0.1.0
TypeScript Package Starter
This is a quick template to get started developing on typescript projects on Node.js
It contains configurations for the following:
- Visual Studio Code
- ESLint
- Prettier
- TypeScript
Getting Started
1. Fork this repository.
2. Download the repository.
git clone git@github.com:user/repository.git my-project
3. Navigate into the directory.
cd my-project
4. Install dependencies.
npm install
5. Change the properties in package.json
.
Note! Do not change the version property!
A) Change the name
property.
Change the name
property to wherever you want the package released to on NPM.
B) Change the description
property.
Change the description
property. This will be shown on NPM.
C) Change the author
property.
Change the author
property. This will be shown on NPM.
D) Change the contributors
property.
Change the contributors
property. This will be shown on NPM.
5. Change this README.md
file.
Make your own README.md
file that explains your project and how to use it.
6. Commit your changes.
git commit -m "Initiated project."
7. Update your changelog and commit.
Firstly copy the commit hash.
## [Unreleased]
- docs(init): Initiated the project. #commit by @contributor
git commit CHANGELOG.md
8. Start coding.
- return `Hello, ${name}!`;
+ return `¡Hola, ${name}!`;
9. Commit your changes.
git commit src/index.ts
10. Update your changelog and commit.
Firstly copy the commit hash.
## Unreleased
- chore(greet): Greet in Spanish. #commit2 by @contributor
- docs(init): Initiated the project. #commit1 by @contributor
git commit CHANGELOG.md
11. Make a new release.
git commit --allow-empty -m "Release #patch"
The commit message can include #pre
, #patch
, #minor
or #major
to update
the version and release.
The lifecycle for the CI is the following:
- update version (only on release)
- Fetch current version
- Apply version update on current version
- update changelog and package.json (only on release)
- prepare
- fmt check
- lint check
- build
- gzip
dist
(only on release) git tag
and create release draft (only on release)- publish (only on release)
0.1.0
2 years ago