@puzzlin/enums
v1.0.2
Published
Shared enums
Downloads
20
Readme
Welcome to Puzzlin
Enjoy your differences!
Description
This repository contains shared enums for Puzzlin apps using TypeScript.
Getting started
- Run
npm i
if necessary.
Developing
To test the lib within another project before publishing:
- Run
npm run pack
to build and pack the lib locally. - Change directory to a project where the lib should be tested.
- Run
npm install ./path/to/puzzlin-enums-<npm_package_version>.tgz
with the .tgz sitting in the lib's project folder. - Run your test importing from
@puzzlin/enums
as you would with any npm package.
Publishing to NPM
- Bump package version.
- For a patch or a bugfix to your library, run
npm version patch
. - For new features, run
npm version minor
. - For breaking changes, run
npm version major
.
- For a patch or a bugfix to your library, run
- Run
npm run publish
.
That's it!