Skip to content

Commit 160cfc9

Browse files
committed
chore: improve dx
1 parent b205440 commit 160cfc9

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

.vscode/launch.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"request": "launch",
88
"runtimeExecutable": "${execPath}",
99
"args": [
10-
"--extensionDevelopmentPath=${workspaceFolder}"
10+
"--disable-extensions",
11+
"--extensionDevelopmentPath=${workspaceFolder}",
12+
"${workspaceFolder}/playground"
1113
],
1214
"outFiles": [
13-
"${workspaceFolder}/dist/**/*.mjs"
15+
"${workspaceFolder}/dist/**/*.js"
1416
]
1517
}
1618
]

CONTRIBUTING.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ The goal of [vscode-npmx](https://marketplace.visualstudio.com/items?itemName=np
3838
### Prerequisites
3939

4040
- [Node.js](https://nodejs.org/) (LTS version recommended)
41-
- [pnpm](https://pnpm.io/) v10.28.1 or later
41+
- [pnpm](https://pnpm.io/) v10 or later
4242

4343
### Setup
4444

4545
1. fork and clone the repository
4646
2. install dependencies:
4747

48-
```bash
49-
pnpm install
50-
```
48+
```bash
49+
pnpm install
50+
```
5151

5252
3. start the development server:
5353

54-
```bash
55-
pnpm dev
56-
```
54+
```bash
55+
pnpm dev
56+
```
5757

5858
4. Press `F5` to open the VS Code debugger and start the extension in a new VS Code window.
5959

@@ -105,6 +105,10 @@ If you want to get ahead of any formatting issues, you can also run `pnpm lint:f
105105

106106
### Import order
107107

108+
> [!TIP]
109+
>
110+
> This will be fixed by eslint.
111+
108112
1. Type imports first (`import type { ... }`)
109113
2. Internal aliases (`#constants`, `#utils/`, etc.)
110114
3. External packages (including `node:`)
@@ -172,13 +176,12 @@ Format: `type(scope): description`
172176

173177
**Types:** `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
174178

175-
**Scopes (optional):** `docs`, `i18n`, `deps`
179+
**Scopes (optional):** `docs`, `utils`, `deps`
176180

177181
**Examples:**
178182

179183
- `fix: resolve search pagination issue`
180184
- `feat: add package version comparison`
181-
- `fix(i18n): update French translations`
182185
- `chore(deps): update vite to v6`
183186

184187
> [!NOTE]

playground/.vscode/settings.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)