From 883b176e30377a1a35527bdcb2add8b40ab4d0b4 Mon Sep 17 00:00:00 2001 From: Yezi Zhou Date: Fri, 6 Feb 2026 19:17:36 -0600 Subject: [PATCH 1/3] chore: remove CI debugging --- .github/workflows/release.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c00b0a..f1799f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,22 +93,8 @@ jobs: - name: Type-check run: bunx tsc --noEmit - - - name: Verify npm supports trusted publishing - run: | - NPM_VERSION=$(npm --version) - echo "npm version: $NPM_VERSION" - MAJOR=$(echo "$NPM_VERSION" | cut -d. -f1) - if [ "$MAJOR" -lt 11 ]; then - echo "::error::npm >= 11.5.1 required for trusted publishing (found $NPM_VERSION)" - exit 1 - fi - - - name: Clear .npmrc auth token (let npm use OIDC) - run: npm config delete //registry.npmjs.org/:_authToken || true - - name: Publish to npm - run: npm publish --access public + run: npm publish - name: Push version bump to PR branch run: | From 76271ceb141dcd78898c914af7667803e5db890f Mon Sep 17 00:00:00 2001 From: Yezi Zhou Date: Fri, 6 Feb 2026 19:37:26 -0600 Subject: [PATCH 2/3] chore: add repo path --- .github/workflows/release.yml | 15 +++++++++++++-- package.json | 4 ++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1799f3..6025a2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,7 +94,17 @@ jobs: - name: Type-check run: bunx tsc --noEmit - name: Publish to npm - run: npm publish + run: | + npm publish --access public 2>&1 | tee /tmp/npm-publish.log + EXIT_CODE=${PIPESTATUS[0]} + if [ $EXIT_CODE -ne 0 ]; then + if grep -q "You cannot publish over the previously published versions" /tmp/npm-publish.log; then + echo "::warning::Version already published on npm — skipping" + else + cat /tmp/npm-publish.log + exit $EXIT_CODE + fi + fi - name: Push version bump to PR branch run: | @@ -117,7 +127,8 @@ jobs: run: | gh pr merge ${{ github.event.pull_request.number }} \ --repo ${{ github.repository }} \ - --merge + --merge \ + --admin - name: Checkout main (post-merge) uses: actions/checkout@v4 diff --git a/package.json b/package.json index 56a6c7f..c2754b6 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "description": "Sync Everything Claude Code (ECC) configs into Cursor IDE — rules, skills, agents, commands, and MCP servers. One command to supercharge your Cursor setup.", "type": "module", "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cminn10/ecc2cursor" + }, "bin": { "ecc2cursor": "dist/cli.mjs" }, From 81e173fbf4b6daa087f9b4232fc5a9738a809534 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 7 Feb 2026 01:59:59 +0000 Subject: [PATCH 3/3] chore: release v0.1.0 --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c2754b6..2a5255c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecc2cursor", - "version": "0.0.1", + "version": "0.1.0", "description": "Sync Everything Claude Code (ECC) configs into Cursor IDE — rules, skills, agents, commands, and MCP servers. One command to supercharge your Cursor setup.", "type": "module", "license": "MIT", @@ -11,7 +11,11 @@ "bin": { "ecc2cursor": "dist/cli.mjs" }, - "files": ["dist", "README.md", "LICENSE"], + "files": [ + "dist", + "README.md", + "LICENSE" + ], "keywords": [ "cursor", "cursor-ide",