Skip to content

Commit

Permalink
Hardcoded registry URL for publishing package
Browse files Browse the repository at this point in the history
refs https://ghost.slack.com/archives/C02G9E68C/p1700068750858149

- it seems that having `npm publish` in `postship` gets rewritten by
  yarn to `yarn publish`, which will use the yarnpkg.com registry and
  not the npm registry which we prefer
- the apparent best fix for this is to hardcode the registry as done in
  this commit
  • Loading branch information
daniellockyer committed Nov 16, 2023
1 parent bcdaa1a commit 4f33dab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"type": "git",
"url": "[email protected]:TryGhost/gscan.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": "^14.18.0 || ^16.13.0 || ^18.12.1"
},
Expand Down

0 comments on commit 4f33dab

Please sign in to comment.