czapp-shared v1.0.21
Czapp Shared
This is a shared library for Czapp projects. It contains common types and utils that is are needed by both client and server repositories.
Installation
To install:
npm install czapp-sharedTo use
import { MyType } from 'czapp-shared';Development
Note npm link does not work. Use Yalc instead.
First install Yalc globally:
npm install -g yalcThen run the following command in the root of this project:
yalc publishThen in the project that you want to use this package, run the following command:
yalc add czapp-sharedTo run the project in watch mode:
npm run watchTODO - make yalc republish after every change. At the moment it is manual. Run yalc publish after every change.
To build the project (generate the artifacts):
To build:
```bash
npm run buildTo run unit tests:
npm run test:unitTo release new version, and types and then run this...
// first build the package which generates the artifacts
npm run build
// then bump the version (bump version, commit, tag, push):
npm run release:bump
// then publish the package to npm so that it can be consumed by other projects
npm publish9 months ago
9 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago