2.0.108 • Published 2 years ago

@campus-gaming-network/tools v2.0.108

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

cgn-tools

Collection of utilities and constants that can be shared across all Campus Gaming Network apps.

Scripts

https://docs.npmjs.com/cli/v7/using-npm/scripts#life-cycle-scripts

prepare will run both BEFORE the package is packed and published, and on local npm install. Perfect for running building the code.

prepublishOnly will run BEFORE prepare and ONLY on npm publish.

preversion will run before bumping a new package version.

version will run after a new version has been bumped. If your package has a git repository, like in our case, a commit and a new version-tag will be made every time you bump a new version. This command will run BEFORE the commit is made.

postversion will run after the commit has been made. A perfect place for pushing the commit as well as the tag.

Publishing to NPM

npm publish

The package will first be built by the prepare script, then test and lint will run by the prepublishOnly script before the package is published.

Bumping a new version

npm version patch

Our preversion, version, and postversion will run, create a new tag in git and push it to our remote repository. Now publish again:

npm publish
2.0.108

2 years ago

2.0.105

2 years ago

2.0.104

2 years ago

2.0.102

2 years ago

2.0.100

2 years ago

2.0.9

2 years ago

2.0.98

2 years ago

2.0.96

2 years ago

2.0.94

2 years ago

2.0.92

2 years ago

2.0.6

2 years ago

2.0.8

2 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago