Skip to content

Commit 96e91d0

Browse files
committed
fix: resolve npm publish authentication and package content issues
1 parent 453b28f commit 96e91d0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/setup-node@v3
2121
with:
2222
node-version: 'lts/*' # Use the project's LTS Node version
23+
registry-url: 'https://registry.npmjs.org/'
2324

2425
- name: Install Dependencies
2526
run: npm ci
@@ -51,7 +52,7 @@ jobs:
5152
# Ensure this pushes to the correct branch (e.g., main)
5253

5354
- name: Publish to npm
54-
run: npm publish --access public # <-- Scoped packages need --access public
55+
run: npm publish --access public
5556
env:
5657
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5758

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
"description": "Azure DevOps reference server for the Model Context Protocol (MCP)",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
7+
"files": [
8+
"dist",
9+
"docs",
10+
"LICENSE",
11+
"README.md"
12+
],
713
"config": {
814
"commitizen": {
915
"path": "./node_modules/cz-conventional-changelog"

0 commit comments

Comments
 (0)