- Clone repo
npm i
or `npm install
- commit and push all changes
- merge to main
- login to npm
npm login
- update version number
- use
npm version patch
ornpm version minor
ornpm version major
- update manually in
package.json
- use
npm publish
Create a new template .ts file in the src/
and .test.ts file in the src/__tests__
with the given name.
Usage: Use linux/wsl and run ./functionAdd.sh fileName
Remove both .ts and .test.ts files in the src/
and src/__tests__
directories
Usage: Use linux/wsl and run ./functionRemove.sh fileName
Generate index.ts
in src/
exporting all function files in the directory
Usage: Use linux/wsl and run ./functionExport.sh