@thesquad-components/sqd-module-template 0.1.9 → 0.2.0
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 +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,6 +97,21 @@ npm publish --access public
|
|
|
97
97
|
|
|
98
98
|
If the package should be private, use `--access restricted`.
|
|
99
99
|
|
|
100
|
+
#### Publish using an access token
|
|
101
|
+
|
|
102
|
+
1) Create a token at `https://www.npmjs.com/settings` (Access Tokens)
|
|
103
|
+
2) In terminal #1:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
export NPM_TOKEN=npm_...
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
3) In terminal #2 (same folder):
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npm publish --access public
|
|
113
|
+
```
|
|
114
|
+
|
|
100
115
|
### 9) Use it in another app
|
|
101
116
|
|
|
102
117
|
```bash
|