Skip to content

Commit

Permalink
feat: add search and auto config
Browse files Browse the repository at this point in the history
  • Loading branch information
lxxorz committed Dec 10, 2024
1 parent 831bb0d commit e9bba3c
Show file tree
Hide file tree
Showing 6 changed files with 1,491 additions and 1,212 deletions.
1 change: 1 addition & 0 deletions .cursorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/data/rules/
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ auto generate instruction for cursor / copilot.

<!-- commands -->

| Command | Title |
| -------------------- | -------------------- |
| `cig.selectAIPrompt` | Generate Instruction |
| Command | Title |
| -------------------- | -------------------------- |
| `cig.selectAIPrompt` | Generate Instruction |
| `cig.searchAIPrompt` | Search and Add Instruction |

<!-- commands -->

## Development

1. clone the repo and run `pnpm install` to install the dependencies.
2. install vscode recommended extensions.
3. run `pnpm dev` to start the extension.

## Sponsors

## License
Expand Down
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "copilot-instruction-generator",
"version": "0.0.2",
"private": true,
"packageManager": "pnpm@9.7.1",
"packageManager": "pnpm@9.14.3",
"description": "",
"author": "Bjorn Li <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -41,6 +41,10 @@
{
"command": "cig.selectAIPrompt",
"title": "Generate Instruction"
},
{
"command": "cig.searchAIPrompt",
"title": "Search and Add Instruction"
}
],
"configuration": {
Expand Down Expand Up @@ -69,19 +73,19 @@
"release": "bumpp && nr publish"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
"@antfu/ni": "^0.23.0",
"@types/node": "^22.7.5",
"@types/vscode": "^1.92.0",
"@vscode/vsce": "^3.1.1",
"bumpp": "^9.7.1",
"eslint": "^9.12.0",
"@antfu/eslint-config": "^3.11.2",
"@antfu/ni": "^0.23.1",
"@types/node": "^22.10.1",
"@types/vscode": "^1.95.0",
"@vscode/vsce": "^3.2.1",
"bumpp": "^9.9.0",
"eslint": "^9.16.0",
"esno": "^4.8.0",
"pnpm": "^9.12.1",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"vitest": "^2.1.2",
"vscode-ext-gen": "^0.4.3"
"pnpm": "^9.15.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vitest": "^2.1.8",
"vscode-ext-gen": "^0.4.4"
}
}
Loading

0 comments on commit e9bba3c

Please sign in to comment.