Skip to content

Commit 7984e80

Browse files
committed
chore: update things for vscode
1 parent 55216a9 commit 7984e80

File tree

9 files changed

+1298
-274
lines changed

9 files changed

+1298
-274
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ jobs:
2525
- name: Install dependencies
2626
run: pnpm install
2727

28-
- run: pnpm run publish:utils-ai
28+
- run: pnpm -r publish --access public --no-git-checks
2929
env:
3030
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3131

32+
- run: pnpm run --filter utils-ai-vscode publish
33+
env:
34+
VSCE_PAT: ${{secrets.VSCE_PAT}}
35+
3236
- run: npx changelogithub
3337
env:
3438
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
node_modules
22
dist
3+
out
4+
.vscode-test/
5+
*.vsix

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"runtimeExecutable": "${execPath}",
9+
"args": [
10+
"--extensionDevelopmentPath=${workspaceFolder}/packages/utils-ai-vscode"
11+
],
12+
"outFiles": [
13+
"${workspaceFolder}/packages/utils-ai-vscode/dist/**/*.js"
14+
],
15+
"preLaunchTask": "npm: ext:dev"
16+
}
17+
]
18+
}

.vscode/tasks.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "ext:dev",
9+
"isBackground": true,
10+
"presentation": {
11+
"reveal": "never"
12+
},
13+
"problemMatcher": [
14+
{
15+
"base": "$ts-webpack-watch",
16+
"background": {
17+
"activeOnStart": true,
18+
"beginsPattern": "Build start",
19+
"endsPattern": "Build success"
20+
}
21+
}
22+
],
23+
"group": "build"
24+
}
25+
]
26+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Estéban Soubiran <https://github.com/barbapapazes>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "utils-ai",
33
"type": "module",
4+
"version": "0.1.1",
5+
"private": true,
46
"packageManager": "[email protected]",
57
"description": "A Set of AI Utils",
68
"license": "MIT",
@@ -17,6 +19,5 @@
1719
"@antfu/eslint-config": "1.0.0-beta.22",
1820
"bumpp": "^9.2.0",
1921
"eslint": "^8.51.0"
20-
},
21-
"version": "0.1.2"
22+
}
2223
}

packages/utils-ai-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"publisher": "barbapapazes",
33
"name": "utils-ai-vscode",
44
"displayName": "Utils AI",
5-
"version": "0.1.2",
5+
"version": "0.1.1",
66
"private": true,
77
"description": "Write faster with AI",
88
"license": "MIT",

packages/utils-ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "utils-ai",
33
"type": "module",
4-
"version": "0.1.2",
4+
"version": "0.1.1",
55
"packageManager": "[email protected]",
66
"description": "A CLI of AI Utils",
77
"author": "Estéban Soubiran <[email protected]> (https://github.com/barbapapazes/)",

0 commit comments

Comments
 (0)