Skip to content

Commit cb3c8f6

Browse files
committed
fix: wire NODE_AUTH_TOKEN in .npmrc for npm publish auth, fix repository.url
1 parent 10faa1f commit cb3c8f6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# GitHub Packages registry for @backendworks scope
22
@backendworks:registry=https://npm.pkg.github.com
3+
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/BackendWorks/post-db.git"
15+
"url": "git+https://github.com/BackendWorks/post-db.git"
1616
},
1717
"scripts": {
1818
"build": "rimraf dist && tsc -p tsconfig.build.json",

0 commit comments

Comments
 (0)