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

Commit

Permalink
v1.0.0-beta.18 - Fix shipit config (Attempt 7)
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Apr 8, 2019
1 parent 0a39431 commit c698803
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
10 changes: 7 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify

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

1. Login into your NPM account (You must be an admin under Shopify Org)
1. Login into your NPM account (Your account must be under Shopify Org)
```
npm login
```
Expand All @@ -128,15 +128,19 @@ You can read both the README files in the [v0 folder](https://github.com/Shopify
"name": "@shopify/<new-package-name>",
..
"publishConfig": {
"access": "public",
"@shopify:registry": "https://packages.shopify.io/shopify/node/npm/"
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
}
}
```
3. Run NPM publish (Make sure you are in the new package folder)
```
slate/packages/<new-package-name> $ npm publish
```
If you are getting permission errors, open `.npmrc` and comment out the following line:
```
@shopify:registry=...
```

### Auto-Deploy setup

Expand Down
4 changes: 4 additions & 0 deletions packages/slate-sections-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@
"jest": "^24.1.0",
"memory-fs": "^0.4.1",
"webpack": "^4.29.3"
},
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
}
}
4 changes: 4 additions & 0 deletions packages/slate-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,9 @@
},
"devDependencies": {
"mock-fs": "^4.6.0"
},
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
}
}
3 changes: 2 additions & 1 deletion packages/slate-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"jest": "^24.5.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
}
}

0 comments on commit c698803

Please sign in to comment.