@autonomo/common v1.2.13
autonomo.common
A library that contains all needed common resources to be used in autonomo.api and autonomo.web repositories.
Table of Contents
Installing
npm installRunning in development mode
npm run devThis will build the package and will watch for any change to re-build it.
Building
npm run buildTesting
# running tests once
npm run test
# running tests on every change on code
npm run test:watch
# running tests and getting coverage report
npm run test:coveragePublishing
npm run publish:patchA npm user must be configured in order to be able to publish it.
Example of use in other client repo
Install first autonomo.common in the repo
npm install @autonomo.commonThen you need to import the resource (interface, type, enum, util, ...) from root package
import { Business } from '@autonomo/common';
const business: Business = {
key: 'myBusiness',
name: 'My business',
...
}3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago