1.0.0 • Published 1 year ago

aic-fb-core v1.0.0

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

Core Types and Interfaces Form Builder

Import

import {ClassName} from "@core/form-builder/lib/utils/class-name";

Local Link

Run

npm link

Build the package

Run

npm run build

Test the package

You can test the code with Jest

npm test

You can find the test coverage in coverage/lcov-report/index.html.

Check dependencies

You can check and upgrade dependencies to the latest versions, ignoring specified versions. with npm-check-updates:

npm run check-updates

You can also use npm run check-updates:minor to update only patch and minor.

Instead npm run check-updates:patch only updates patch.

Publish

First commit the changes to GitHub. Then login to your NPM account (If you don’t have an account you can do so on https://www.npmjs.com/signup)

npm login

Then run publish:

npm publish

If you're using a scoped name use:

npm publish --access public

Bumping a new version

To update the package use:

npm version patch

and then

npm publish

Install and use the package

To use the package in a project:

npm i @core/form-builder [gitlab]

and then in a file:

import {ciao} from "@core/form-builder";

const b = ciao("mondo");
console.log(b); 
1.0.0

1 year ago