This repository was archived by the owner on Jul 19, 2021. It is now read-only.
File tree 4 files changed +17
-4
lines changed
4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify
118
118
119
119
⚠️ Note: If there is a new NPM package in the new release, you need to manually publish the new package first.
120
120
121
- 1 . Login into your NPM account (You must be an admin under Shopify Org)
121
+ 1 . Login into your NPM account (Your account must be under Shopify Org)
122
122
```
123
123
npm login
124
124
```
@@ -128,15 +128,19 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify
128
128
"name": "@shopify/<new-package-name>",
129
129
..
130
130
"publishConfig": {
131
- "access": "public",
132
- "@shopify:registry": "https://packages.shopify.io/shopify/node/npm/ "
131
+ "access": "public",
132
+ "@shopify:registry": "https://registry.npmjs.org "
133
133
}
134
134
}
135
135
```
136
136
3 . Run NPM publish (Make sure you are in the new package folder)
137
137
```
138
138
slate/packages/<new-package-name> $ npm publish
139
139
```
140
+ If you are getting permission errors, open ` .npmrc ` and comment out the following line:
141
+ ```
142
+ @shopify:registry=...
143
+ ```
140
144
141
145
### Auto-Deploy setup
142
146
Original file line number Diff line number Diff line change 18
18
"jest" : " ^24.1.0" ,
19
19
"memory-fs" : " ^0.4.1" ,
20
20
"webpack" : " ^4.29.3"
21
+ },
22
+ "publishConfig" : {
23
+ "access" : " public" ,
24
+ "@shopify:registry" : " https://registry.npmjs.org"
21
25
}
22
26
}
Original file line number Diff line number Diff line change 86
86
},
87
87
"devDependencies" : {
88
88
"mock-fs" : " ^4.6.0"
89
+ },
90
+ "publishConfig" : {
91
+ "access" : " public" ,
92
+ "@shopify:registry" : " https://registry.npmjs.org"
89
93
}
90
94
}
Original file line number Diff line number Diff line change 17
17
"jest" : " ^24.5.0"
18
18
},
19
19
"publishConfig" : {
20
- "access" : " public"
20
+ "access" : " public" ,
21
+ "@shopify:registry" : " https://registry.npmjs.org"
21
22
}
22
23
}
You can’t perform that action at this time.
0 commit comments