1.0.22 • Published 2 years ago

@bookkeeping/common v1.0.22

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How to publish

  • Rename the package name in package.json
  • Create a git in the library
  • Login npm in CLI
  • Run npm version patch to increment version number
  • Publish to shawtickets
npm i
npm login
git commit -m ""
npm version patch
npm run build
npm publish --access public

Set up typescript

We write typescript but publish javasript to NPM after transpire.

tsc --init
npm install typescript del-cli --save-dev

npm install express \
  express-validator \
  cookie-session \
  jsonwebtoken \
  http-status-codes \
  @types/cookie-session \
  @types/express \
  @types/jsonwebtoken

Patch

The steps can be condensed into "pub" script in package.json.

git add .
git commit -m "Some message"
npm version patch
npm run build
npm publish

Short-hand: npm run pub

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago