|
|
@@ -264,34 +264,55 @@
|
|
|
}
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "prepare": "husky",
|
|
|
- "install:all": "npm run install:extension && npm run install:webview",
|
|
|
- "install:extension": "npm install",
|
|
|
- "install:webview": "cd webview-ui && npm install",
|
|
|
- "lint": "npm-run-all -l -p lint:*",
|
|
|
- "lint:extension": "eslint src --ext ts",
|
|
|
- "lint:webview": "cd webview-ui && npm run lint",
|
|
|
- "check-types": "npm-run-all -l -p check-types:*",
|
|
|
- "check-types:extension": "tsc --noEmit",
|
|
|
- "check-types:webview": "cd webview-ui && npm run check-types",
|
|
|
- "test": "npm-run-all -l -s test:*",
|
|
|
- "test:extension": "jest",
|
|
|
- "test:webview": "cd webview-ui && npm run test",
|
|
|
- "build": "npm-run-all -l -s build:webview build:extension",
|
|
|
- "build:extension": "mkdir -p bin && npx vsce package --out bin",
|
|
|
+ "build": "npm run build:webview && npm run vsix",
|
|
|
"build:webview": "cd webview-ui && npm run build",
|
|
|
+ "changeset": "changeset",
|
|
|
+ "check-types": "tsc --noEmit",
|
|
|
+ "compile": "tsc -p . --outDir out && node esbuild.js",
|
|
|
+ "compile:integration": "tsc -p tsconfig.integration.json",
|
|
|
+ "install:all": "npm install && cd webview-ui && npm install",
|
|
|
+ "lint": "eslint src --ext ts && npm run lint --prefix webview-ui",
|
|
|
+ "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
|
|
|
+ "pretest": "npm run compile && npm run compile:integration",
|
|
|
"dev": "cd webview-ui && npm run dev",
|
|
|
- "qa": "npm-run-all -l -p lint check-types && node esbuild.js",
|
|
|
- "e2e": "npm run build && tsc -p tsconfig.e2e.json && npx dotenvx run -f .env.e2e -- vscode-test",
|
|
|
+ "test": "jest && npm run test:webview",
|
|
|
+ "test:webview": "cd webview-ui && npm run test",
|
|
|
+ "test:integration": "npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- vscode-test",
|
|
|
+ "prepare": "husky",
|
|
|
+ "publish:marketplace": "vsce publish && 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",
|
|
|
+ "vsix": "mkdir -p bin && npx vsce package --out bin",
|
|
|
"watch": "npm-run-all -p watch:*",
|
|
|
"watch:esbuild": "node esbuild.js --watch",
|
|
|
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
|
- "package": "npm-run-all -l -p lint check-types && node esbuild.js --production",
|
|
|
- "changeset": "changeset",
|
|
|
- "version-packages": "changeset version && npm install --package-lock-only",
|
|
|
- "publish": "npm run build && changeset publish && npm install --package-lock-only",
|
|
|
- "publish:marketplace": "vsce publish && ovsx publish"
|
|
|
+ "watch-tests": "tsc -p . -w --outDir out"
|
|
|
+ },
|
|
|
+ "devDependencies": {
|
|
|
+ "@changesets/cli": "^2.27.10",
|
|
|
+ "@changesets/types": "^6.0.0",
|
|
|
+ "@dotenvx/dotenvx": "^1.34.0",
|
|
|
+ "@types/diff": "^5.2.1",
|
|
|
+ "@types/diff-match-patch": "^1.0.36",
|
|
|
+ "@types/jest": "^29.5.14",
|
|
|
+ "@types/mocha": "^10.0.7",
|
|
|
+ "@types/node": "20.x",
|
|
|
+ "@types/string-similarity": "^4.0.2",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
|
+ "@typescript-eslint/parser": "^7.11.0",
|
|
|
+ "@vscode/test-cli": "^0.0.9",
|
|
|
+ "@vscode/test-electron": "^2.4.0",
|
|
|
+ "esbuild": "^0.24.0",
|
|
|
+ "eslint": "^8.57.0",
|
|
|
+ "husky": "^9.1.7",
|
|
|
+ "jest": "^29.7.0",
|
|
|
+ "jest-simple-dot-reporter": "^1.0.5",
|
|
|
+ "lint-staged": "^15.2.11",
|
|
|
+ "npm-run-all": "^4.1.5",
|
|
|
+ "prettier": "^3.4.2",
|
|
|
+ "ts-jest": "^29.2.5",
|
|
|
+ "typescript": "^5.4.5"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@anthropic-ai/bedrock-sdk": "^0.10.2",
|
|
|
@@ -338,41 +359,13 @@
|
|
|
"web-tree-sitter": "^0.22.6",
|
|
|
"zod": "^3.23.8"
|
|
|
},
|
|
|
- "devDependencies": {
|
|
|
- "@changesets/cli": "^2.27.10",
|
|
|
- "@changesets/types": "^6.0.0",
|
|
|
- "@dotenvx/dotenvx": "^1.34.0",
|
|
|
- "@types/debug": "^4.1.12",
|
|
|
- "@types/diff": "^5.2.1",
|
|
|
- "@types/diff-match-patch": "^1.0.36",
|
|
|
- "@types/jest": "^29.5.14",
|
|
|
- "@types/mocha": "^10.0.7",
|
|
|
- "@types/node": "20.x",
|
|
|
- "@types/string-similarity": "^4.0.2",
|
|
|
- "@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
|
- "@typescript-eslint/parser": "^7.11.0",
|
|
|
- "@vscode/test-cli": "^0.0.9",
|
|
|
- "@vscode/test-electron": "^2.4.0",
|
|
|
- "esbuild": "^0.24.0",
|
|
|
- "eslint": "^8.57.0",
|
|
|
- "husky": "^9.1.7",
|
|
|
- "jest": "^29.7.0",
|
|
|
- "jest-simple-dot-reporter": "^1.0.5",
|
|
|
- "lint-staged": "^15.2.11",
|
|
|
- "npm-run-all": "^4.1.5",
|
|
|
- "prettier": "^3.4.2",
|
|
|
- "ts-jest": "^29.2.5",
|
|
|
- "typescript": "^5.4.5"
|
|
|
- },
|
|
|
"lint-staged": {
|
|
|
"*.{js,jsx,ts,tsx,json,css,md}": [
|
|
|
"prettier --write"
|
|
|
],
|
|
|
"src/**/*.{ts,tsx}": [
|
|
|
- "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
|
|
|
- ],
|
|
|
- "webview-ui/**/*.{ts,tsx}": [
|
|
|
- "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
|
|
|
+ "prettier --write",
|
|
|
+ "npx eslint -c .eslintrc.json --fix"
|
|
|
]
|
|
|
}
|
|
|
}
|