Browse Source

Build and installation instructions for VSIX package file

John Stearns 1 year ago
parent
commit
8a240d8ee4
5 changed files with 320 additions and 286 deletions
  1. 0 1
      .gitignore
  2. 31 0
      README.md
  3. BIN
      bin/roo-cline-1.0.1.vsix
  4. 282 277
      package-lock.json
  5. 7 8
      package.json

+ 0 - 1
.gitignore

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

+ 31 - 0
README.md

@@ -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
 
 <p align="center">

BIN
bin/roo-cline-1.0.1.vsix


File diff suppressed because it is too large
+ 282 - 277
package-lock.json


+ 7 - 8
package.json

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

Some files were not shown because too many files changed in this diff