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-shared
To use
import { MyType } from 'czapp-shared';
Development
Note npm link
does not work. Use Yalc instead.
First install Yalc globally:
npm install -g yalc
Then run the following command in the root of this project:
yalc publish
Then in the project that you want to use this package, run the following command:
yalc add czapp-shared
To run the project in watch mode:
npm run watch
TODO - 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 build
To run unit tests:
npm run test:unit
To 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 publish
4 months ago
4 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago