1.0.12 • Published 3 years ago

@nlazzos/gittix-common v1.0.12

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

How to publish the package to NPM

The package must be in a git repository, so we first commit the changes.

git add .
git commit -m "some message"

Then every time we are going to publish a new version, we have to update the version number, so with that command, npm will automatically update the version for us.

npm version patch

In this case, we are writing the package in TypeScript but we want to publish it as JavaScript and add the TypeScript types separately, so with the build script, we are generating the corresponging files in the ./build folder (see package.json).

npm run build

Finally we can publish it to npm running the following command.

npm publish
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