1.0.9 • Published 1 year ago

@pinaid/formula v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Formula

Installation

npm:

$ npm install --save @pinaid/formula

yarn:

$ yarn add @pinaid/formula

Usage

Once the package is installed, you can import the library using import or require approach:

import formula from '@pinaid/formula`;

console.log(formula.version);

// or

import { version } from '@pinaid/formula`;

console.log(version);

// or

const formula = require('@pinaid/formula);

console.log(formula.version);

APIs

Function/Scoped FunctionDocs
fvREADME
pvREADME
pmtREADME
compoundREADME
goal (scoped)README

Test & Development

From root project:

$ npm run test:watch --workspace=@pinaid/formula

From formula directory:

$ npm run test:watch

Run Examples

Run the package as dev & watch mode:

$ npm run dev --workspace=@pinaid/formula

Run the examples:

$ cd packages/formula/examples
$ npm start

Build

From root project:

$ npm run build --workspace=@pinaid/formula

Versioning & Add Changelogs

Create changelog draft:

$ npm run changeset

Update draft inside .changeset/newly-added-draft-file-name.json

Bump version & update CHANGELOG.md

$ npm run changeset:version

Publishing

Publish the package to npm:

Need authentication (one time) before publishing to npm, run:

$ npm adduser

Publish:

$ npm publish --workspace=@pinaid/formula
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.1

1 year ago

1.0.0

1 year ago