@puzzlin/enums
v3.3.4
Published
Shared enums
Readme
Welcome to Puzzlin
Enjoy your differences!
Description
This repository contains shared enums for Puzzlin apps using TypeScript.
Getting started
- Run
npm iif necessary.
Developing
To test the lib within another project before publishing:
- Run
npm run packto 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>.tgzwith the .tgz sitting in the lib's project folder. - Run your test importing from
@puzzlin/enumsas 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!
