Skip to content

Commit

Permalink
chore: publish flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bisquit committed Jul 11, 2023
1 parent 8ba1186 commit dfa7d51
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: install vsce
run: pnpm add -g @vscode/vsce

- name: build
run: pnpm run build

- name: publish
run: |
pnpm run vsce:package
Expand Down
10 changes: 10 additions & 0 deletions CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ Open `DEBUG CONSOLE` (Cmd + Shift + y) to see logs.

After modifying, 「Cmd + Shift + P」 > 「Developer: Reload Window」 in extension host window.

## PR

Use `czg` or make sure to prefix type.

```sh
czg
```

## publish

### Manual publish

```sh
pnpm add -g @vscode/vsce
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
},
"scripts": {
"dev": "pnpm esbuild:watch",
"build": "pnpm run esbuild-base --minify",
"esbuild-base": "rimraf dist && esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "pnpm run esbuild-base --sourcemap",
"esbuild:watch": "pnpm run esbuild-base --sourcemap --watch",
"lint": "eslint \"src/**/*.ts\"",
"test": "vitest",
"test:ci": "vitest run",
"vscode:prepublish": "pnpm run esbuild-base --minify",
"vsce:package": "pnpm vsce package --no-dependencies",
"vsce:publish": "pnpm vsce publish --no-dependencies"
},
Expand Down

0 comments on commit dfa7d51

Please sign in to comment.