Merge pull request #3 from RooVetGit/feature/vsixInstall

Build and installation instructions for VSIX package file
This commit is contained in:
John Stearns
2024-11-01 20:25:24 -07:00
committed by GitHub
5 changed files with 2401 additions and 2778 deletions

1
.gitignore vendored
View File

@@ -2,6 +2,5 @@ out
dist dist
node_modules node_modules
.vscode-test/ .vscode-test/
*.vsix
.DS_Store .DS_Store

View File

@@ -1,3 +1,34 @@
# Roo-Cline
## Roo Packaging and Installation
### Packaging
1. Bump the version in `package.json`
2. Build the VSIX file:
```bash
npm run vsix
```
3. The new VSIX file will be created in the `bin/` directory
4. Commit the new VSIX file to git and remove the old one:
```bash
git rm bin/roo-cline-*.vsix
git add bin/roo-cline-<new_version>.vsix
git commit -m "chore: update VSIX to version <new_version>"
```
### Installation
Install the plugin using the Cursor CLI:
```bash
cursor --install-extension bin/roo-cline-<latest_version>.vsix
```
Note: The VSIX file is checked into the git repository's `bin/` directory for easy distribution.
After installation, Roo Cline will appear in your Cursor's installed extensions list. You can verify this by opening Cursor's Extensions panel (Cmd/Ctrl+Shift+X) and checking under the "Installed" section.
---
# Cline (prev. Claude Dev) \#1 on OpenRouter # Cline (prev. Claude Dev) \#1 on OpenRouter
<p align="center"> <p align="center">

BIN
bin/roo-cline-1.0.1.vsix Normal file

Binary file not shown.

5132
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +1,22 @@
{ {
"name": "claude-dev", "name": "roo-cline",
"displayName": "Cline (prev. Claude Dev)", "displayName": "Roo Cline",
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
"version": "2.1.1", "version": "1.0.1",
"icon": "assets/icons/icon.png", "icon": "assets/icons/icon.png",
"galleryBanner": { "galleryBanner": {
"color": "#617A91", "color": "#617A91",
"theme": "dark" "theme": "dark"
}, },
"engines": { "engines": {
"vscode": "^1.84.0" "vscode": "1.93.1"
}, },
"author": { "author": {
"name": "Cline Bot Inc." "name": "Cline Bot Inc."
}, },
"license": "Apache-2.0",
"publisher": "saoudrizwan",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/cline/cline" "url": "https://github.com/RooVetGit/Roo-Cline"
}, },
"homepage": "https://cline.bot", "homepage": "https://cline.bot",
"categories": [ "categories": [
@@ -117,6 +115,7 @@
}, },
"scripts": { "scripts": {
"vscode:prepublish": "npm run package", "vscode:prepublish": "npm run package",
"vsix": "vsce package --out bin",
"compile": "npm run check-types && npm run lint && node esbuild.js", "compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*", "watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch", "watch:esbuild": "node esbuild.js --watch",
@@ -139,7 +138,6 @@
"@types/jest": "^29.5.14", "@types/jest": "^29.5.14",
"@types/mocha": "^10.0.7", "@types/mocha": "^10.0.7",
"@types/node": "20.x", "@types/node": "20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0", "@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9", "@vscode/test-cli": "^0.0.9",
@@ -157,6 +155,7 @@
"@types/clone-deep": "^4.0.4", "@types/clone-deep": "^4.0.4",
"@types/pdf-parse": "^1.1.4", "@types/pdf-parse": "^1.1.4",
"@types/turndown": "^5.0.5", "@types/turndown": "^5.0.5",
"@types/vscode": "^1.95.0",
"@vscode/codicons": "^0.0.36", "@vscode/codicons": "^0.0.36",
"axios": "^1.7.4", "axios": "^1.7.4",
"cheerio": "^1.0.0", "cheerio": "^1.0.0",