1.0.21 • Published 9 months ago

czapp-shared v1.0.21

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

9 months ago

1.0.20

9 months ago

1.0.19

12 months ago

1.0.18

12 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago