@oc-digital/data-library v1.9.0
OC-Digital function library
Beta Usage
1. increment the package version and add -beta.0 (e.g. 2.0.6 => 2.0.7-beta.0) and run npm install
1a. if you need to further increment and publish use -beta.1, -beta.2 and so on
1b. you can use this all in one command for the above - npm version 2.0.7-beta.0
2. publish the component library with command - npm publish --tag beta
3. pin the version in the receiving library to "=2.0.7-beta.0" and run npm install
4. once happy with the changes remove -beta.0 part and part and publish component library
4a. update the version in the receiving library to "^2.0.7"
Building and publishing
To publish new version login using npm login
, increment version in package.json
and run npm publish
. Subsequently it will build the library to build
folder and push it's contents to the npm.
Local Usage
You can override the remote library in favour of that on your machine, however few steps are required:
In the root of component library:
- install
npm install
and buildnpm run build
component library - run
npm link
In the receiving project:
- run
npm link data-library
5. Invoke your lambda function.
When finished with adjustments you need to unlink local component library with:npm unlink data-library
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago