Skip to content

Commit 1f4f2d4

Browse files
committed
build: add missing repository field in package.json for npm authentication
1 parent 568957f commit 1f4f2d4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
node-version-file: '24.x'
1818
check-latest: true
19+
registry-url: 'https://registry.npmjs.org'
1920
- name: Download Build Artifacts
2021
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2122
with:

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"version": "3.4.0",
44
"description": "micro-lc configuration server",
55
"license": "Apache-2.0",
6-
"bin": "./dist/cli/index.js",
6+
"bin": {
7+
"middleware": "dist/cli/index.js"
8+
},
9+
"repository": {
10+
"url": "git+ssh://git@github.com/micro-lc/middleware.git"
11+
},
712
"files": [
813
"dist",
914
"sdk",

0 commit comments

Comments
 (0)