1.0.21 • Published 4 months ago

czapp-shared v1.0.21

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 months ago

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
1.0.21

4 months ago

1.0.20

4 months ago

1.0.19

8 months ago

1.0.18

8 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.0

10 months ago