@omniumretail/component-library 1.0.72 → 1.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/NPMPUBLISH.md +29 -0
  2. package/package.json +1 -1
package/NPMPUBLISH.md ADDED
@@ -0,0 +1,29 @@
1
+ ## How to Publish a Package on npm
2
+
3
+ Follow these steps to publish your package on npm:
4
+
5
+ 1. **Set up your package**
6
+
7
+ Navigate to your project directory in the terminal. If you don't have a `package.json` file, create one by running `npm init` and fill out the prompts. If you want to skip the prompts and use the default configuration, run `npm init -y`.
8
+
9
+ 2. **Create your package**
10
+
11
+ Write your package code and make sure it works as expected. Update the `main` entry in your `package.json` file to point to your package entry point (like `index.js`).
12
+
13
+ 3. **Login to npm**
14
+
15
+ If you're not logged into npm, login via the terminal using `npm login`. If you don't have an account, sign up on the npm website. You'll be prompted to enter your username, password, and email.
16
+
17
+ 4. **Version your package**
18
+
19
+ Decide your package version. npm uses semantic versioning, or `semver`. If you're publishing for the first time, it's likely already at version `1.0.0` or whatever you set during `npm init`. If you're updating, update the version number in `package.json` or use `npm version <update_type>`, replacing `<update_type>` with `patch`, `minor`, or `major` as appropriate.
20
+
21
+ 5. **Publish your package**
22
+
23
+ Publish your package using `npm publish`. Your package will then be publicly available on npm.
24
+
25
+ 6. **Verify your package**
26
+
27
+ Check that your package is available by going to `https://www.npmjs.com/package/<your-package-name>`, replacing `<your-package-name>` with the name of your package.
28
+
29
+ Remember, to publish updates, update the version number in your `package.json` file or use the `npm version` command, then run `npm publish` again.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",