1.22.7 • Published 3 years ago

@norfield/core v1.22.7

Weekly downloads
115
License
ISC
Repository
bitbucket
Last release
3 years ago

NORFIELD

Definitive source of Norfield's data structures, validation rules, and business logic


Installation

// Clone repo to local
git clone https://<user>@bitbucket.org/ndpdev/norfieldjs.git

// Install node modules for root folder
npm install

// Run unit tests
npm run test

Usage

This library is intended to encapsulate all the validation and business logic for Norfield models. It should not be coupled to any specific project, and be compatible with any front end / back end framework.

If you want to watch the repo for changes and recompile automatically, use the following command and remember to restart newtin-ii Nodemon:

npm run js:watch

Linking

To make changes in this repository available to another repository (such as newtin-ii) without having to push new versions up to NPM, you can use npm link:

# in norfieldjs:
sudo npm link

# in newtin-ii:
npm link @norfield/core

Before creating a pull request, be sure to unlink and reinstall packages and run unit tests. If you are using Nodemon you may need to restart since Nodemon ignores node_modules by default.


Publishing

For now, publishing packages is a manual process

// Navigate to the root directory
cd norfieldjs

// Log in to NPM (if necessary, you may receive a PUT 404 if not logged in)
npm login

// To publish to npm
npm publish

Documentation

Generating documentation

npm run docs
1.22.7

3 years ago

1.22.6

3 years ago

1.22.5

3 years ago

1.22.4

3 years ago

1.22.3

3 years ago

1.21.6

3 years ago

1.21.7

3 years ago

1.22.0

3 years ago

1.22.1

3 years ago

1.22.2

3 years ago

1.21.5

3 years ago

1.21.4

3 years ago

1.21.3

3 years ago

1.21.2

3 years ago

1.21.1

3 years ago

1.21.0

3 years ago

1.20.15

3 years ago

1.20.14

3 years ago

1.20.13

3 years ago

1.20.12

3 years ago

1.20.11

3 years ago

1.20.10

3 years ago

1.20.9

3 years ago

1.20.8

3 years ago

1.20.7

3 years ago

1.20.6

4 years ago

1.20.5

4 years ago

1.20.4

4 years ago

1.20.3

4 years ago

1.20.2

4 years ago

1.20.1

4 years ago

1.20.0

4 years ago

1.19.0

4 years ago

1.19.2

4 years ago

1.19.1

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago