Browse Source

Fix changeset version bumping (#3850)

Chris Estreich 7 months ago
parent
commit
0521163212
5 changed files with 8 additions and 12 deletions
  1. 5 0
      .changeset/quick-years-grow.md
  2. 1 1
      .github/workflows/changeset-release.yml
  3. 2 1
      package.json
  4. 0 6
      pnpm-lock.yaml
  5. 0 4
      src/package.json

+ 5 - 0
.changeset/quick-years-grow.md

@@ -0,0 +1,5 @@
+---
+"roo-cline": patch
+---
+
+Fix changeset npm script

+ 1 - 1
.github/workflows/changeset-release.yml

@@ -60,7 +60,7 @@ jobs:
         with:
           commit: "changeset version bump"
           title: "Changeset version bump"
-          version: pnpm --filter roo-cline version-packages # This performs the changeset version bump
+          version: pnpm changeset:version # This performs the changeset version bump
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 

+ 2 - 1
package.json

@@ -14,7 +14,8 @@
 		"clean": "turbo clean --log-order grouped --output-logs new-only && rimraf dist out bin .vite-port .turbo",
 		"build": "pnpm --filter roo-cline vsix",
 		"build:nightly": "pnpm --filter @roo-code/vscode-nightly vsix",
-		"changeset": "changeset",
+		"publish": "pnpm build && changeset publish && pnpm install --frozen-lockfile",
+		"changeset:version": "changeset version && pnpm install --frozen-lockfile",
 		"knip": "pnpm --filter @roo-code/build build && knip --include files",
 		"update-contributors": "node scripts/update-contributors.js"
 	},

+ 0 - 6
pnpm-lock.yaml

@@ -330,12 +330,6 @@ importers:
         specifier: ^3.24.2
         version: 3.24.4
     devDependencies:
-      '@changesets/cli':
-        specifier: ^2.27.10
-        version: 2.29.4
-      '@changesets/types':
-        specifier: ^6.0.0
-        version: 6.1.0
       '@jest/globals':
         specifier: ^29.7.0
         version: 29.7.0

+ 0 - 4
src/package.json

@@ -327,8 +327,6 @@
 		"build": "pnpm bundle --production && pnpm --filter @roo-code/vscode-webview build",
 		"build:development": "pnpm bundle && pnpm --filter @roo-code/vscode-webview build",
 		"publish:marketplace": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
-		"publish": "pnpm vsix && changeset publish && pnpm install --package-lock-only",
-		"version-packages": "changeset version && pnpm install --package-lock-only",
 		"vscode:prepublish": "pnpm build",
 		"vsix": "mkdirp ../bin && npx vsce package --no-dependencies --out ../bin",
 		"watch:esbuild": "pnpm bundle --watch",
@@ -397,8 +395,6 @@
 		"zod": "^3.24.2"
 	},
 	"devDependencies": {
-		"@changesets/cli": "^2.27.10",
-		"@changesets/types": "^6.0.0",
 		"@jest/globals": "^29.7.0",
 		"@roo-code/config-eslint": "workspace:^",
 		"@roo-code/config-typescript": "workspace:^",