@final-commerce/command-frame 0.1.41 → 0.1.42
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.
- package/README.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,23 @@ The library provides three main capabilities:
|
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
19
|
+
### From npm (public registry)
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @final-commerce/command-frame
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### From GitHub Packages
|
|
26
|
+
|
|
27
|
+
To install from GitHub Packages, add this to your project's `.npmrc`:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
@final-commerce:registry=https://npm.pkg.github.com
|
|
31
|
+
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Set `NODE_AUTH_TOKEN` to a GitHub personal access token with `read:packages` scope, then install as usual:
|
|
35
|
+
|
|
19
36
|
```bash
|
|
20
37
|
npm install @final-commerce/command-frame
|
|
21
38
|
```
|