Skip to content

Commit

Permalink
remove bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
prsnnami committed Mar 17, 2023
1 parent 80500cd commit 32055e9
Show file tree
Hide file tree
Showing 5 changed files with 1,363 additions and 215 deletions.
3 changes: 1 addition & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
node_modules/**
**/*.ts
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ Add bundling
### 0.0.4

Add temperature 0 for better and consice results

### 0.0.6

removed bundlelr for the moment
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "CodexAI",
"description": "Code Assistant using the new Codex model from openai",
"publisher": "brainants",
"version": "0.0.4",
"version": "0.0.6",
"repository": {
"url": "https://github.com/Brainants/codexai/"
},
Expand All @@ -14,6 +14,7 @@
"Other"
],
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"configuration": {
"title": "CodexAI",
Expand All @@ -39,16 +40,12 @@
]
},
"scripts": {
"vscode:prepublish": "yarn compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && pnpm run lint",
"pretest": "yarn compile && yarn lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "yarn esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "yarn esbuild-base -- --sourcemap",
"esbuild-watch": "yarn esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
Expand All @@ -59,16 +56,20 @@
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"esbuild": "^0.17.12",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
"node-polyfill-webpack-plugin": "^2.0.1",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"axios": "^1.3.4",
"dotenv": "^16.0.3",
"jsonwebtoken": "^9.0.0",
"node-fetch": "^3.3.1",
"openai": "^3.2.1"
}
}
3 changes: 0 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import * as path from "path";
import axios from "axios";
import * as jwt from "jsonwebtoken";
import { Configuration, CreateEditResponse, OpenAIApi } from "openai";
import * as dotenv from "dotenv";

dotenv.config();

// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed
Expand Down
Loading

0 comments on commit 32055e9

Please sign in to comment.