1.0.21 • Published 3 months ago

czapp-shared v1.0.21

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
3 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

3 months ago

1.0.20

3 months ago

1.0.19

6 months ago

1.0.18

6 months ago

1.0.17

6 months ago

1.0.16

6 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.0

9 months ago