diff --git a/.changeset/beige-doodles-type.md b/.changeset/beige-doodles-type.md new file mode 100644 index 00000000..dd347052 --- /dev/null +++ b/.changeset/beige-doodles-type.md @@ -0,0 +1,5 @@ +--- +'task-master-ai': patch +--- + +Resolve all issues related to MCP diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 00000000..72461b35 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,30 @@ +{ + "mode": "pre", + "tag": "rc", + "initialVersions": { + "task-master-ai": "0.13.1" + }, + "changesets": [ + "beige-doodles-type", + "beige-rats-accept", + "blue-spies-kick", + "cuddly-zebras-matter", + "curvy-candies-eat", + "easy-toys-wash", + "every-stars-sell", + "fine-monkeys-eat", + "fine-signs-add", + "gentle-views-jump", + "mighty-mirrors-watch", + "neat-donkeys-shave", + "nine-rocks-sink", + "ninety-ghosts-relax", + "ninety-wombats-pull", + "public-cooks-fetch", + "red-oranges-attend", + "red-suns-wash", + "tricky-papayas-hang", + "violet-papayas-see", + "violet-parrots-march" + ] +} diff --git a/.changeset/red-oranges-attend.md b/.changeset/red-oranges-attend.md new file mode 100644 index 00000000..4b86f7d2 --- /dev/null +++ b/.changeset/red-oranges-attend.md @@ -0,0 +1,5 @@ +--- +'task-master-ai': patch +--- + +Fix ERR_MODULE_NOT_FOUND when trying to run MCP Server diff --git a/.changeset/red-suns-wash.md b/.changeset/red-suns-wash.md new file mode 100644 index 00000000..fcf49b82 --- /dev/null +++ b/.changeset/red-suns-wash.md @@ -0,0 +1,5 @@ +--- +'task-master-ai': patch +--- + +Add src directory to exports diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml new file mode 100644 index 00000000..0bab3820 --- /dev/null +++ b/.github/workflows/pre-release.yml @@ -0,0 +1,57 @@ +name: Pre-Release (RC) + +on: + workflow_dispatch: # Allows manual triggering from GitHub UI/API + push: + branches: + - 'next' + +concurrency: pre-release-${{ github.ref }} + +jobs: + rc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + + - name: Cache node_modules + uses: actions/cache@v4 + with: + path: | + node_modules + */*/node_modules + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Install dependencies + run: npm ci + timeout-minutes: 2 + + - name: Enter RC mode + run: | + npx changeset pre exit || true + npx changeset pre enter rc + + - name: Version RC packages + run: | + git config user.name "GitHub Actions" + git config user.email "github-actions@example.com" + npx changeset version + git add . + git commit -m "chore: rc version bump" || echo "No changes to commit" + + - name: Create Release Candidate Pull Request or Publish Release Candidate to npm + uses: changesets/action@v1 + with: + publish: npm run release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e49148b5..a19fb49a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,9 @@ jobs: run: npm ci timeout-minutes: 2 + - name: Exit pre-release mode (safety check) + run: npx changeset pre exit || true + - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1 with: diff --git a/.gitignore b/.gitignore index d1ac4dca..330d26af 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,6 @@ dist *.debug init-debug.log dev-debug.log + +# NPMRC +.npmrc diff --git a/package-lock.json b/package-lock.json index 3125385e..342dd287 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "task-master-ai", - "version": "0.13.0", + "version": "0.13.2-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "task-master-ai", - "version": "0.13.0", + "version": "0.13.2-rc.1", "license": "MIT WITH Commons-Clause", "dependencies": { "@ai-sdk/anthropic": "^1.2.10", diff --git a/package.json b/package.json index 33919415..a9ef850d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "task-master-ai", - "version": "0.13.1", + "version": "0.13.2-rc.1", "description": "A task management system for ambitious AI-driven development that doesn't overwhelm and confuse Cursor.", "main": "index.js", "type": "module", @@ -82,15 +82,14 @@ "url": "https://github.com/eyaltoledano/claude-task-master/issues" }, "files": [ - "scripts/init.js", - "scripts/dev.js", - "scripts/modules/**", + "scripts/**", "assets/**", ".cursor/**", "README-task-master.md", "index.js", "bin/**", - "mcp-server/**" + "mcp-server/**", + "src/**" ], "overrides": { "node-fetch": "^3.3.2",