13.0.0 • Published 1 month ago

@pagopa/ts-commons v13.0.0

Weekly downloads
53
License
MIT
Repository
github
Last release
1 month ago

Build Status

FOSSA Status

codecov

Maintainability

TypeScript Commons

This module provides code shared by the projects of the IO App initiative.

Documentation is available here

Contributing

In the following there are instructions to build the app in your computer for development purposes.

Pre-requisites

We built a script for helping setting up the laptop, you can find it here

Otherwise, please follow the following steps:

Install NodeJS

To run the project you need to install a properly version of NodeJS.

On macOS and Linux we recommend the use of a virtual environment, such as nodenv for managing multiple versions of NodeJS. The node version used in this project is stored in .node-version.

If you already have nodenv installed and configured on your system, the correct version node will be set when you access the app directory.

To install, follow the steps described below.

Install brew

If you do not have it already, install brew following the installation instructions in the home page.

Install nodenv

brew install nodenv

Install yarn

For the management of javascript dependencies we use Yarn.

Yarn is a node application. IF you have already installed in your system version of node compatible with yarn, you can install it as a global command with:

npm install -g yarn

Install dependencies

Install the libraries used by the project:

$ yarn install --frozen-lockfile

Run Tests

Run Unit Tests

$ yarn test

Run Lint Check

$ yarn lint

Updating/publishing online docs

$ yarn docs

Releasing a version

Release has been automatized by using Azure Pipelines.

To release a new version please go to io-ts-commons project on Azure and manually run pagopa.io-ts-commons.deploy the pipeline. Be aware to choose the right release version between major|minor|patch

License

FOSSA Status

13.0.0

1 month ago

12.6.0

1 month ago

12.5.1

1 month ago

12.5.0

4 months ago

12.4.1

4 months ago

12.4.0

5 months ago

12.3.0

6 months ago

12.1.0

9 months ago

12.2.0

8 months ago

12.0.0

1 year ago

10.14.2

1 year ago

10.15.0

1 year ago

11.0.0

1 year ago

10.14.0

1 year ago

10.14.1

1 year ago

10.12.0

1 year ago

10.11.1

1 year ago

10.13.0

1 year ago

10.11.0

1 year ago

10.10.0

2 years ago

10.5.0

2 years ago

10.6.0

2 years ago

10.5.1

2 years ago

10.7.0

2 years ago

10.8.0

2 years ago

10.7.1

2 years ago

10.9.0

2 years ago

10.4.0

2 years ago

10.3.0

2 years ago

10.2.1

3 years ago

10.2.0

3 years ago

10.1.0

3 years ago

10.0.1

3 years ago

10.0.0

3 years ago

9.6.0

3 years ago

9.5.1

3 years ago

9.5.0

3 years ago

9.4.1

3 years ago

9.4.0

3 years ago

9.3.0

3 years ago

9.2.0

3 years ago

9.1.0

3 years ago

9.0.0

3 years ago