vue-ts-lsp 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -4
- package/dist/index.js +5 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://github.com/tylersatre/vue-ts-lsp/actions/workflows/ci.yml)
|
|
2
2
|
[](https://www.npmjs.com/package/vue-ts-lsp)
|
|
3
3
|
[](LICENSE)
|
|
4
|
-
[](https://nodejs.org)
|
|
5
5
|
|
|
6
6
|
# vue-ts-lsp
|
|
7
7
|
|
|
@@ -192,15 +192,26 @@ npm install
|
|
|
192
192
|
|
|
193
193
|
> **Note:** The repo includes `.claude/settings.json` which enables the `typescript-lsp` plugin for Claude Code. This gives contributors TypeScript LSP support while working on this project. If it conflicts with your setup, you can override it in `.claude/settings.local.json`.
|
|
194
194
|
|
|
195
|
-
###
|
|
195
|
+
### Releasing
|
|
196
196
|
|
|
197
|
-
This project uses [changesets](https://github.com/changesets/changesets) for versioning and
|
|
197
|
+
This project uses [changesets](https://github.com/changesets/changesets) for versioning and npm publishing. **Do not create GitHub releases manually** — the CI handles it.
|
|
198
|
+
|
|
199
|
+
#### 1. Add a changeset with your PR
|
|
200
|
+
|
|
201
|
+
When submitting a PR with user-facing changes, add a changeset:
|
|
198
202
|
|
|
199
203
|
```bash
|
|
200
204
|
npx changeset
|
|
201
205
|
```
|
|
202
206
|
|
|
203
|
-
You'll be prompted to select the version bump type (major, minor, or patch) and a summary. Commit the generated changeset file with your PR.
|
|
207
|
+
You'll be prompted to select the version bump type (major, minor, or patch) and a summary. Commit the generated `.changeset/*.md` file with your PR.
|
|
208
|
+
|
|
209
|
+
#### 2. Merge to main
|
|
210
|
+
|
|
211
|
+
When the PR merges, the [Release workflow](.github/workflows/release.yml) runs automatically and does one of two things:
|
|
212
|
+
|
|
213
|
+
- **Pending changesets exist**: the `changesets/action` opens (or updates) a "Version Packages" PR that bumps `package.json`, updates `CHANGELOG.md`, and removes consumed changeset files.
|
|
214
|
+
- **No pending changesets** (i.e., the "Version Packages" PR was just merged): the action runs `npm run release`, which builds the package and publishes to npm, then creates a GitHub release.
|
|
204
215
|
|
|
205
216
|
## License
|
|
206
217
|
|
package/dist/index.js
CHANGED
|
@@ -198,6 +198,8 @@ var RetryTracker = class {
|
|
|
198
198
|
this.maxRestarts = maxRestarts;
|
|
199
199
|
this.windowMs = windowMs;
|
|
200
200
|
}
|
|
201
|
+
maxRestarts;
|
|
202
|
+
windowMs;
|
|
201
203
|
timestamps = [];
|
|
202
204
|
canRestart() {
|
|
203
205
|
const now = Date.now();
|
|
@@ -224,6 +226,9 @@ var DownstreamRequestTimeoutError = class extends Error {
|
|
|
224
226
|
this.timeoutMs = timeoutMs;
|
|
225
227
|
this.name = "DownstreamRequestTimeoutError";
|
|
226
228
|
}
|
|
229
|
+
target;
|
|
230
|
+
method;
|
|
231
|
+
timeoutMs;
|
|
227
232
|
};
|
|
228
233
|
var VUE_DEFINITION_RETRY_DELAY_MS = 1e3;
|
|
229
234
|
var VUE_TS_WARMUP_WINDOW_MS = 5e3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-ts-lsp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Unified Vue + TypeScript LSP proxy for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@vtsls/language-server": "^0.3.0",
|
|
24
24
|
"@vue/language-server": "^3.0.0",
|
|
25
|
-
"typescript": "^
|
|
25
|
+
"typescript": "^6.0.2",
|
|
26
26
|
"vscode-jsonrpc": "^8.2.1",
|
|
27
27
|
"vscode-languageserver-protocol": "^3.17.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@changesets/cli": "^2.30.0",
|
|
31
|
-
"@types/node": "^
|
|
31
|
+
"@types/node": "^25.5.0",
|
|
32
32
|
"prettier": "^3.8.1",
|
|
33
33
|
"tsup": "^8.4.0",
|
|
34
|
-
"vitest": "^
|
|
34
|
+
"vitest": "^4.1.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"registry": "https://registry.npmjs.org",
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": ">=20.19.0"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"author": "Tyler Satre <github@satre.co>",
|