Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit c698803

Browse files
committed
v1.0.0-beta.18 - Fix shipit config (Attempt 7)
1 parent 0a39431 commit c698803

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

CONTRIBUTING.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify
118118

119119
⚠️ Note: If there is a new NPM package in the new release, you need to manually publish the new package first.
120120

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)
122122
```
123123
npm login
124124
```
@@ -128,15 +128,19 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify
128128
"name": "@shopify/<new-package-name>",
129129
..
130130
"publishConfig": {
131-
"access": "public",
132-
"@shopify:registry": "https://packages.shopify.io/shopify/node/npm/"
131+
"access": "public",
132+
"@shopify:registry": "https://registry.npmjs.org"
133133
}
134134
}
135135
```
136136
3. Run NPM publish (Make sure you are in the new package folder)
137137
```
138138
slate/packages/<new-package-name> $ npm publish
139139
```
140+
If you are getting permission errors, open `.npmrc` and comment out the following line:
141+
```
142+
@shopify:registry=...
143+
```
140144

141145
### Auto-Deploy setup
142146

packages/slate-sections-plugin/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@
1818
"jest": "^24.1.0",
1919
"memory-fs": "^0.4.1",
2020
"webpack": "^4.29.3"
21+
},
22+
"publishConfig": {
23+
"access": "public",
24+
"@shopify:registry": "https://registry.npmjs.org"
2125
}
2226
}

packages/slate-tools/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,9 @@
8686
},
8787
"devDependencies": {
8888
"mock-fs": "^4.6.0"
89+
},
90+
"publishConfig": {
91+
"access": "public",
92+
"@shopify:registry": "https://registry.npmjs.org"
8993
}
9094
}

packages/slate-translations/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"jest": "^24.5.0"
1818
},
1919
"publishConfig": {
20-
"access": "public"
20+
"access": "public",
21+
"@shopify:registry": "https://registry.npmjs.org"
2122
}
2223
}

0 commit comments

Comments
 (0)