Skip to content

Commit 225d442

Browse files
committed
fix: update npm to latest for OIDC trusted publishing
1 parent a6bc45b commit 225d442

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
},
77
"metadata": {
88
"description": "Multi-layer codebase analysis tools",
9-
"version": "1.0.7"
9+
"version": "1.0.8"
1010
},
1111
"plugins": [
1212
{
1313
"name": "codebase-analyzer",
1414
"description": "Multi-layer codebase analysis with Gemini AI. 4 agents, 5 commands, 3 skills for architecture analysis, pattern detection, and dataflow tracing.",
15-
"version": "1.0.7",
15+
"version": "1.0.8",
1616
"author": {
1717
"name": "Jake Correa",
1818
"url": "https://github.com/jaykaycodes"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codebase-analyzer",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Multi-layer codebase analysis with Gemini AI. 4 agents, 5 commands, 3 skills for architecture analysis, pattern detection, and dataflow tracing.",
55
"author": {
66
"name": "Jake Correa",

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ jobs:
5656
uses: actions/setup-node@v4
5757
with:
5858
node-version: 20
59-
# Note: Don't use registry-url here - it creates an .npmrc that interferes with OIDC trusted publishing
59+
registry-url: 'https://registry.npmjs.org'
60+
61+
- name: Update npm for trusted publishing
62+
run: npm install -g npm@latest
6063

6164
- name: Install dependencies
6265
run: bun install
@@ -83,13 +86,10 @@ jobs:
8386
- name: Debug npm config
8487
if: steps.version.outputs.changed == 'true'
8588
run: |
89+
echo "=== npm version (must be >= 11.5.1 for trusted publishing) ==="
90+
npm --version
8691
echo "=== npm config ==="
8792
npm config list
88-
echo "=== .npmrc files ==="
89-
cat ~/.npmrc 2>/dev/null || echo "No ~/.npmrc"
90-
cat .npmrc 2>/dev/null || echo "No ./.npmrc"
91-
echo "=== npm whoami ==="
92-
npm whoami 2>&1 || echo "Not logged in (expected for OIDC)"
9393
9494
- name: Publish to npm (trusted publisher)
9595
if: steps.version.outputs.changed == 'true'

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ CI automatically publishes to npm when version changes on main.
139139

140140
**Trusted publisher config:** npm package must be linked to `jaykaycodes/codebase-analyzer-mcp` in npm settings (Settings → Publishing access → Add GitHub Actions as publisher).
141141

142+
**Requirements:** npm >= 11.5.1 (CI updates npm automatically). See [npm trusted publishing docs](https://docs.npmjs.com/trusted-publishers/).
143+
142144
## Key Learnings
143145

144146
_This section captures learnings as we work on this repository._

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codebase-analyzer-mcp",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Multi-layer codebase analysis with Gemini AI. MCP server + Claude plugin with progressive disclosure.",
55
"type": "module",
66
"main": "dist/mcp/server.js",

0 commit comments

Comments
 (0)