diff --git a/.changeset/ten-stars-occur.md b/.changeset/ten-stars-occur.md new file mode 100644 index 00000000000..f358204a95c --- /dev/null +++ b/.changeset/ten-stars-occur.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Lock the versions of vsce and ovsx diff --git a/.github/workflows/marketplace-publish.yml b/.github/workflows/marketplace-publish.yml index 0080b10687b..834f38caf3f 100644 --- a/.github/workflows/marketplace-publish.yml +++ b/.github/workflows/marketplace-publish.yml @@ -29,9 +29,7 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - name: Install Dependencies - run: | - npm install -g vsce ovsx - npm run install:all + run: npm run install:all - name: Create .env file run: echo "POSTHOG_API_KEY=${{ secrets.POSTHOG_API_KEY }}" >> .env - name: Package Extension diff --git a/package-lock.json b/package-lock.json index ee74d97fedb..303ab8cb25c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -86,7 +86,7 @@ "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.11.0", "@vscode/test-electron": "^2.5.2", - "@vscode/vsce": "^3.3.2", + "@vscode/vsce": "3.3.2", "esbuild": "^0.25.0", "eslint": "^8.57.0", "execa": "^9.5.2", @@ -99,6 +99,7 @@ "mkdirp": "^3.0.1", "nock": "^14.0.4", "npm-run-all2": "^8.0.1", + "ovsx": "0.10.2", "prettier": "^3.4.2", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", @@ -13848,6 +13849,26 @@ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", "dev": true }, + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-ci/node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true, + "license": "MIT" + }, "node_modules/is-core-module": { "version": "2.15.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", @@ -16893,6 +16914,53 @@ "dev": true, "license": "MIT" }, + "node_modules/ovsx": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/ovsx/-/ovsx-0.10.2.tgz", + "integrity": "sha512-osLwIOz5Uu1ePvYYSjKw05bkCZo2j/ydQLjm3uO7bCfstyFFzmWyzMGTAL3wJpI4qpo1S47Y52+q09h9A2ZRkQ==", + "dev": true, + "license": "EPL-2.0", + "dependencies": { + "@vscode/vsce": "^3.2.1", + "commander": "^6.2.1", + "follow-redirects": "^1.14.6", + "is-ci": "^2.0.0", + "leven": "^3.1.0", + "semver": "^7.6.0", + "tmp": "^0.2.3", + "yauzl": "^3.1.3" + }, + "bin": { + "ovsx": "lib/ovsx" + }, + "engines": { + "node": ">= 20" + } + }, + "node_modules/ovsx/node_modules/commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/ovsx/node_modules/yauzl": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.0.tgz", + "integrity": "sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "pend": "~1.2.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/p-filter": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", diff --git a/package.json b/package.json index 6a8e1072bab..9b0257ea234 100644 --- a/package.json +++ b/package.json @@ -342,7 +342,7 @@ "test:extension-esm": "vitest run", "test:webview": "cd webview-ui && npm run test", "prepare": "husky", - "publish:marketplace": "vsce publish && ovsx publish", + "publish:marketplace": "npx vsce publish && npx ovsx publish", "publish": "npm run build && changeset publish && npm install --package-lock-only", "version-packages": "changeset version && npm install --package-lock-only", "vscode:prepublish": "npm run package", @@ -442,7 +442,7 @@ "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.11.0", "@vscode/test-electron": "^2.5.2", - "@vscode/vsce": "^3.3.2", + "@vscode/vsce": "3.3.2", "esbuild": "^0.25.0", "eslint": "^8.57.0", "execa": "^9.5.2", @@ -455,6 +455,7 @@ "mkdirp": "^3.0.1", "nock": "^14.0.4", "npm-run-all2": "^8.0.1", + "ovsx": "0.10.2", "prettier": "^3.4.2", "rimraf": "^6.0.1", "ts-jest": "^29.2.5",