@nuskin/product-lib
v2.6.0
Published
Library to store/retrieve product information
Keywords
Readme
@nuskin/product-lib
Installing
Usng npm:
npm add @nuskin/product-libUsng yarn:
yarn add @nuskin/product-libExample usage
const { productLib } = require("@nuskin/product-lib");
let productFromSku = productLib.getProduct({
fromId: "01001054",
env: "dev",
market: "us",
language: "en",
});
console.log(JSON.stringify(productFromSku));
let productFromSlug = productLib.getProduct({
fromSlug: "tegreen",
env: "dev",
market: "us",
language: "en",
});
console.log(JSON.stringify(productFromSlug));Resources
- Changelog could go here
License
#### 7. Turning on your CI/CD pipeline
Once you are ready for your project to start running the CI/CD pipeline, you should rename the `gitlab-ci.yml`
to `.gitlab-ci.yml`.
```bash
git mv gitlab-ci.yml .gitlab-ci.yml
git commit -am"Chore: renaming gitlab-ci.yml to .gitlab-ci.yml so my pipeline runs"
git pushTODO: Write documentation about Semantic Release (don't forget prereleases)
How to use Semantic Release in your pipeline
Link to another page or write up instructions on how Semantic Release works with the pipeline
eslint commit-analyzer rules.
