astro-vscode 0.24.4 → 0.26.1

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/package.json CHANGED
@@ -23,22 +23,10 @@
23
23
  "color": "#FFBE2D",
24
24
  "theme": "dark"
25
25
  },
26
- "version": "0.24.4",
26
+ "version": "0.26.1",
27
27
  "author": "withastro",
28
28
  "license": "MIT",
29
29
  "publisher": "astro-build",
30
- "scripts": {
31
- "build": "yarn run build:node & yarn run build:browser",
32
- "dev": "yarn run build:node --watch & yarn run build:browser --watch",
33
- "build:node": "node ./scripts/build-node.js",
34
- "build:browser": "node ./scripts/build-browser.js",
35
- "build:ci:node": "yarn run build:node & yarn run build:browser --empty",
36
- "build:ci:browser": "yarn run build:browser & yarn run build:node --empty",
37
- "test": "yarn run test:vscode && yarn run test:grammar",
38
- "test:vscode": "node ./test/runTest.js",
39
- "test:grammar": "node ./test/grammar/test.mjs",
40
- "update-grammar-snapshots": "node ./test/grammar/test.mjs --updateSnapshot"
41
- },
42
30
  "engines": {
43
31
  "vscode": "^1.67.0"
44
32
  },
@@ -52,10 +40,15 @@
52
40
  "prettier-plugin-astro": "^0.5.4"
53
41
  },
54
42
  "devDependencies": {
55
- "esbuild-plugin-copy": "^1.3.0",
56
- "@astrojs/language-server": "0.24.1",
43
+ "@astrojs/language-server": "0.26.1",
57
44
  "@types/vscode": "^1.67.0",
58
45
  "@vscode/test-electron": "^2.1.3",
46
+ "esbuild": "0.14.54",
47
+ "esbuild-plugin-copy": "^1.3.0",
48
+ "glob": "^8.0.3",
49
+ "kleur": "^4.1.5",
50
+ "mocha": "^9.2.2",
51
+ "@types/mocha": "^9.1.0",
59
52
  "path-browserify": "^1.0.1",
60
53
  "typescript": "~4.8.2",
61
54
  "vscode-languageclient": "^8.0.1",
@@ -330,5 +323,17 @@
330
323
  }
331
324
  }
332
325
  ]
326
+ },
327
+ "scripts": {
328
+ "build": "pnpm build:node & pnpm build:browser",
329
+ "dev": "pnpm build:node --watch & pnpm build:browser --watch",
330
+ "build:node": "node ./scripts/build-node.js",
331
+ "build:browser": "node ./scripts/build-browser.js",
332
+ "build:ci:node": "pnpm build:node & pnpm build:browser --empty",
333
+ "build:ci:browser": "pnpm build:browser & pnpm build:node --empty",
334
+ "test": "pnpm test:vscode && pnpm test:grammar",
335
+ "test:vscode": "node ./test/runTest.js",
336
+ "test:grammar": "node ./test/grammar/test.mjs",
337
+ "update-grammar-snapshots": "node ./test/grammar/test.mjs --updateSnapshot"
333
338
  }
334
- }
339
+ }
package/CHANGELOG.md DELETED
@@ -1,657 +0,0 @@
1
- # astro-vscode
2
-
3
- ## 0.24.4
4
-
5
- ### Patch Changes
6
-
7
- - 96957ac: Fix extension not working properly inside the browser
8
-
9
- ## 0.24.3
10
-
11
- ### Patch Changes
12
-
13
- - 7390abe: We're in deploy hell, but this time it'll work
14
-
15
- ## 0.24.2
16
-
17
- ### Patch Changes
18
-
19
- - 6b2ca00: Retry deploy again
20
-
21
- ## 0.24.1
22
-
23
- ### Patch Changes
24
-
25
- - 180ade5: Empty changeset for failed publish
26
-
27
- ## 0.24.0
28
-
29
- ### Minor Changes
30
-
31
- - b66ae70: Update the VS Code extension to use a bundled version of the language server for better performance and compatibility with running the extension in the web
32
- - 5a583d3: TypeScript will now be loaded from VS Code / the workspace instead of being bundled inside the language server
33
-
34
- ### Patch Changes
35
-
36
- - Updated dependencies [b66ae70]
37
- - @astrojs/ts-plugin@0.3.0
38
-
39
- ## 0.23.3
40
-
41
- ### Patch Changes
42
-
43
- - 150946c: Publish failed
44
- - Updated dependencies [150946c]
45
- - @astrojs/language-server@0.23.3
46
-
47
- ## 0.23.2
48
-
49
- ### Patch Changes
50
-
51
- - Updated dependencies [b13fb51]
52
- - @astrojs/language-server@0.23.2
53
-
54
- ## 0.23.1
55
-
56
- ### Patch Changes
57
-
58
- - Updated dependencies [422376e]
59
- - @astrojs/language-server@0.23.1
60
-
61
- ## 0.23.0
62
-
63
- ### Patch Changes
64
-
65
- - 56c14f8: Fix a regression with how VS Code handle unbalanced brackets since 1.70
66
- - Updated dependencies [b6c95f2]
67
- - Updated dependencies [1dcef68]
68
- - @astrojs/language-server@0.23.0
69
-
70
- ## 0.22.0
71
-
72
- ### Patch Changes
73
-
74
- - f3777ac: Added settings to configure the path to the language server and the runtime to use to run it
75
- - Updated dependencies [61620f1]
76
- - Updated dependencies [9337f00]
77
- - Updated dependencies [d5aafc0]
78
- - @astrojs/language-server@0.22.0
79
-
80
- ## 0.21.1
81
-
82
- ### Patch Changes
83
-
84
- - Updated dependencies [0e9d7d0]
85
- - Updated dependencies [3f79dbf]
86
- - @astrojs/language-server@0.21.1
87
-
88
- ## 0.21.0
89
-
90
- ### Minor Changes
91
-
92
- - 574b75d: Remove support for the Markdown component
93
-
94
- ### Patch Changes
95
-
96
- - 81f3aa5: Added a debug command to show the currently opened document's TSX output
97
- - Updated dependencies [81f3aa5]
98
- - Updated dependencies [574b75d]
99
- - Updated dependencies [d23ba22]
100
- - @astrojs/language-server@0.21.0
101
-
102
- ## 0.20.4
103
-
104
- ### Patch Changes
105
-
106
- - a3a13d1: Fix extension failing to send a notification when ts|jsconfig.json was updated
107
- - a04124c: Fixed syntax highlighting not working properly for components with @, \_ and . in them
108
-
109
- ## 0.20.3
110
-
111
- ### Patch Changes
112
-
113
- - Updated dependencies [081cf24]
114
- - @astrojs/language-server@0.20.3
115
-
116
- ## 0.20.2
117
-
118
- ### Patch Changes
119
-
120
- - bd47f6e: Fix changes to an Astro config file causing the extension to crash, fixed JSON modules not being updated properly
121
-
122
- ## 0.20.1
123
-
124
- ### Patch Changes
125
-
126
- - Updated dependencies [e6996f5]
127
- - Updated dependencies [4589c2b]
128
- - @astrojs/language-server@0.20.1
129
-
130
- ## 0.20.0
131
-
132
- ### Patch Changes
133
-
134
- - Updated dependencies [fa3f0f7]
135
- - Updated dependencies [ba0fab1]
136
- - @astrojs/language-server@0.20.0
137
-
138
- ## 0.19.6
139
-
140
- ### Patch Changes
141
-
142
- - Updated dependencies [4c1045d]
143
- - @astrojs/language-server@0.19.6
144
-
145
- ## 0.19.5
146
-
147
- ### Patch Changes
148
-
149
- - 421ab52: Added a new setting (`astro.typescript.allowArbitraryAttributes`) to enable support for arbitrary attributes
150
- - Updated dependencies [421ab52]
151
- - Updated dependencies [06e3c95]
152
- - Updated dependencies [301dcfb]
153
- - Updated dependencies [dd1283b]
154
- - @astrojs/language-server@0.19.5
155
-
156
- ## 0.19.4
157
-
158
- ### Patch Changes
159
-
160
- - Updated dependencies [1033856]
161
- - @astrojs/language-server@0.19.4
162
-
163
- ## 0.19.3
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [49ff4ef]
168
- - Updated dependencies [14cbf05]
169
- - @astrojs/language-server@0.19.3
170
-
171
- ## 0.19.2
172
-
173
- ### Patch Changes
174
-
175
- - Updated dependencies [7de4967]
176
- - @astrojs/language-server@0.19.2
177
-
178
- ## 0.19.1
179
-
180
- ### Patch Changes
181
-
182
- - 59e8ad6: Update README, disable frontmatter indenting by default
183
- - fec2817: Improved syntax highlighting, auto-indentation and auto-closing
184
- - Updated dependencies [729dff5]
185
- - Updated dependencies [05a48c2]
186
- - Updated dependencies [fe2d26b]
187
- - @astrojs/language-server@0.19.1
188
-
189
- ## 0.19.0
190
-
191
- ### Minor Changes
192
-
193
- - a97b9a4: Add support for Inlay Hints. Minimum VS Code version supported starting from this update is 1.67.0 (April 2022)
194
-
195
- ### Patch Changes
196
-
197
- - Updated dependencies [a97b9a4]
198
- - @astrojs/language-server@0.19.0
199
-
200
- ## 0.18.1
201
-
202
- ### Patch Changes
203
-
204
- - 666739a: Revert update to latest LSP and inlay hints support
205
- - Updated dependencies [666739a]
206
- - @astrojs/language-server@0.18.1
207
-
208
- ## 0.18.0
209
-
210
- ### Minor Changes
211
-
212
- - d3c6fd8: Add support for formatting
213
- - 09e1163: Updated language server to latest version of LSP, added support for Inlay Hints
214
-
215
- ### Patch Changes
216
-
217
- - Updated dependencies [d3c6fd8]
218
- - Updated dependencies [09e1163]
219
- - Updated dependencies [fcaba8e]
220
- - Updated dependencies [4138005]
221
- - Updated dependencies [76ff46a]
222
- - @astrojs/language-server@0.18.0
223
-
224
- ## 0.17.0
225
-
226
- ### Patch Changes
227
-
228
- - Updated dependencies [3ad0f65]
229
- - Updated dependencies [2e9da14]
230
- - @astrojs/language-server@0.17.0
231
-
232
- ## 0.16.1
233
-
234
- ### Patch Changes
235
-
236
- - Updated dependencies [ad5a5e5]
237
- - Updated dependencies [1bd790d]
238
- - @astrojs/language-server@0.16.1
239
-
240
- ## 0.16.0
241
-
242
- ### Patch Changes
243
-
244
- - 1bcae45: Remove support for Node 12 (VS Code versions under 1.56)
245
- - Updated dependencies [b485acd]
246
- - Updated dependencies [1cff04c]
247
- - Updated dependencies [1bcae45]
248
- - Updated dependencies [9abff62]
249
- - Updated dependencies [c8d81a1]
250
- - @astrojs/language-server@0.16.0
251
-
252
- ## 0.15.0
253
-
254
- ### Patch Changes
255
-
256
- - Updated dependencies [7978de1]
257
- - Updated dependencies [3ac74bc]
258
- - Updated dependencies [6bb45cb]
259
- - @astrojs/language-server@0.15.0
260
-
261
- ## 0.14.0
262
-
263
- ### Patch Changes
264
-
265
- - Updated dependencies [9118c46]
266
- - Updated dependencies [9ea5b97]
267
- - Updated dependencies [dbf624a]
268
- - @astrojs/language-server@0.14.0
269
-
270
- ## 0.13.4
271
-
272
- ### Patch Changes
273
-
274
- - 74c9961: Fixed Astro syntax to detect `<Markdown />` component correctly
275
- - Updated dependencies [5874655]
276
- - @astrojs/language-server@0.13.4
277
-
278
- ## 0.13.3
279
-
280
- ### Patch Changes
281
-
282
- - Updated dependencies [1fb21ff]
283
- - Updated dependencies [99d7536]
284
- - Updated dependencies [b363c00]
285
- - @astrojs/language-server@0.13.3
286
-
287
- ## 0.13.2
288
-
289
- ### Patch Changes
290
-
291
- - Updated dependencies [aff8b76]
292
- - @astrojs/language-server@0.13.2
293
-
294
- ## 0.13.1
295
-
296
- ### Patch Changes
297
-
298
- - ea74fdb: Publish failed
299
- - Updated dependencies [ea74fdb]
300
- - @astrojs/language-server@0.13.1
301
-
302
- ## 0.13.0
303
-
304
- ### Minor Changes
305
-
306
- - 82b8891: Add HTML hover info, fix Astro directives producing errors, fix missing children property for JSX based frameworks
307
-
308
- ### Patch Changes
309
-
310
- - Updated dependencies [9f4f907]
311
- - Updated dependencies [82b8891]
312
- - Updated dependencies [c09116f]
313
- - @astrojs/language-server@0.13.0
314
-
315
- ## 0.12.1
316
-
317
- ### Patch Changes
318
-
319
- - Updated dependencies [49955c6]
320
- - @astrojs/language-server@0.12.1
321
-
322
- ## 0.12.0
323
-
324
- ### Minor Changes
325
-
326
- - 8a58a56: Refactor the language-server, fixes many issues related to imports, add support for completions in multiple style tags
327
-
328
- ### Patch Changes
329
-
330
- - Updated dependencies [8a58a56]
331
- - @astrojs/language-server@0.12.0
332
-
333
- ## 0.11.0
334
-
335
- ### Patch Changes
336
-
337
- - d056cd5: Fixes production bugs in extension
338
- - Updated dependencies [d056cd5]
339
- - Updated dependencies [fd92a85]
340
- - @astrojs/language-server@0.11.0
341
- - @astrojs/ts-plugin@0.2.1
342
-
343
- ## 0.9.3
344
-
345
- ### Patch Changes
346
-
347
- - c4d43b4: Deploy to OpenVSX
348
- - Updated dependencies [c4d43b4]
349
- - @astrojs/language-server@0.9.3
350
-
351
- ## 0.9.2
352
-
353
- ### Patch Changes
354
-
355
- - 91404d1: Enable publishing to OpenVSX
356
- - Updated dependencies [91404d1]
357
- - @astrojs/language-server@0.9.2
358
-
359
- ## 0.9.1
360
-
361
- ### Patch Changes
362
-
363
- - 7dc85cc: Add support for Emmet inside components, upgrade Emmet version
364
- - Updated dependencies [7dc85cc]
365
- - @astrojs/language-server@0.9.1
366
-
367
- ## 0.9.0
368
-
369
- ### Minor Changes
370
-
371
- - 6b6b47a: Remove internal astro.d.ts files, instead prefer the one provided by Astro itself
372
-
373
- ### Patch Changes
374
-
375
- - Updated dependencies [6b6b47a]
376
- - @astrojs/language-server@0.9.0
377
- - @astrojs/ts-plugin@0.2.0
378
-
379
- ## 0.8.10
380
-
381
- ### Patch Changes
382
-
383
- - 8878324: Add feature to reload language server on ts/jsconfig change
384
- - Updated dependencies [5b16fb4]
385
- - @astrojs/language-server@0.8.10
386
-
387
- ## 0.8.9
388
-
389
- ### Patch Changes
390
-
391
- - Updated dependencies [d0485a2]
392
- - @astrojs/language-server@0.8.9
393
-
394
- ## 0.8.8
395
-
396
- ### Patch Changes
397
-
398
- - Updated dependencies [526d5c7]
399
- - @astrojs/language-server@0.8.8
400
-
401
- ## 0.8.7
402
-
403
- ### Patch Changes
404
-
405
- - Updated dependencies [897ab35]
406
- - @astrojs/language-server@0.8.7
407
-
408
- ## 0.8.6
409
-
410
- ### Patch Changes
411
-
412
- - Updated dependencies [97559b6]
413
- - Updated dependencies [4c93d24]
414
- - @astrojs/language-server@0.8.6
415
-
416
- ## 0.8.5
417
-
418
- ### Patch Changes
419
-
420
- - f1f3091: Fix commenting, namespaced elements, and Fragment typings
421
- - Updated dependencies [f1f3091]
422
- - @astrojs/language-server@0.8.5
423
- - @astrojs/ts-plugin@0.1.1
424
-
425
- ## 0.8.4
426
-
427
- ### Patch Changes
428
-
429
- - Updated dependencies [481e009]
430
- - @astrojs/language-server@0.8.4
431
-
432
- ## 0.8.3
433
-
434
- ### Patch Changes
435
-
436
- - cad5430: Fix plain script and style blocks
437
- - Updated dependencies [fef3091]
438
- - @astrojs/language-server@0.8.3
439
-
440
- ## 0.8.2
441
-
442
- ### Patch Changes
443
-
444
- - a408131: Several fixes for the syntax highlighter
445
- - Updated dependencies [528c6bd]
446
- - @astrojs/language-server@0.8.2
447
-
448
- ## 0.8.1
449
-
450
- ### Patch Changes
451
-
452
- - Updated dependencies [b20db6e]
453
- - @astrojs/language-server@0.8.1
454
-
455
- ## 0.8.0
456
-
457
- ### Minor Changes
458
-
459
- - cf48420: Adds syntax highlighting support for Astro fenced codeblocks in all Markdown files
460
-
461
- ## 0.7.20
462
-
463
- ### Patch Changes
464
-
465
- - 5034f23: Adds support for running as a [Web Extension](https://code.visualstudio.com/api/extension-guides/web-extensions)
466
-
467
- ## 0.7.19
468
-
469
- ### Patch Changes
470
-
471
- - 2910b03: Add support for at-prefixed attributes
472
- - Updated dependencies [2910b03]
473
- - @astrojs/language-server@0.7.19
474
-
475
- ## 0.7.18
476
-
477
- ### Patch Changes
478
-
479
- - Updated dependencies [12b4ed3]
480
- - @astrojs/language-server@0.7.18
481
-
482
- ## 0.7.17
483
-
484
- ### Patch Changes
485
-
486
- - Updated dependencies [7c6f6a6]
487
- - @astrojs/language-server@0.7.17
488
-
489
- ## 0.7.16
490
-
491
- ### Patch Changes
492
-
493
- - Updated dependencies [b6f44d4]
494
- - Updated dependencies [4166283]
495
- - @astrojs/language-server@0.7.16
496
-
497
- ## 0.7.15
498
-
499
- ### Patch Changes
500
-
501
- - Updated dependencies [6340a79]
502
- - @astrojs/language-server@0.7.15
503
-
504
- ## 0.7.14
505
-
506
- ### Patch Changes
507
-
508
- - Updated dependencies [e0facf6]
509
- - Updated dependencies [3c903c3]
510
- - Updated dependencies [b0a8bc1]
511
- - @astrojs/language-server@0.7.14
512
-
513
- ## 0.7.13
514
-
515
- ### Patch Changes
516
-
517
- - Updated dependencies [1b2afc7]
518
- - @astrojs/language-server@0.7.13
519
-
520
- ## 0.7.12
521
-
522
- ### Patch Changes
523
-
524
- - Updated dependencies [553969e]
525
- - Updated dependencies [b4c1b70]
526
- - @astrojs/language-server@0.7.12
527
-
528
- ## 0.7.11
529
-
530
- ### Patch Changes
531
-
532
- - Updated dependencies [02bcb91]
533
- - @astrojs/language-server@0.7.11
534
-
535
- ## 0.7.10
536
-
537
- ### Patch Changes
538
-
539
- - Updated dependencies [1958d51]
540
- - Updated dependencies [f558e54]
541
- - @astrojs/language-server@0.7.10
542
-
543
- ## 0.7.9
544
-
545
- ### Patch Changes
546
-
547
- - Updated dependencies [6c952ae]
548
- - @astrojs/language-server@0.7.9
549
-
550
- ## 0.7.8
551
-
552
- ### Patch Changes
553
-
554
- - Updated dependencies [f2f7fc8]
555
- - @astrojs/language-server@0.7.8
556
-
557
- ## 0.7.7
558
-
559
- ### Patch Changes
560
-
561
- - Updated dependencies [6501757]
562
- - @astrojs/language-server@0.7.7
563
-
564
- ## 0.7.6
565
-
566
- ### Patch Changes
567
-
568
- - Updated dependencies [ea2d56d]
569
- - @astrojs/language-server@0.7.6
570
-
571
- ## 0.7.4
572
-
573
- ### Patch Changes
574
-
575
- - Updated dependencies [6604c9f]
576
- - @astrojs/language-server@0.7.4
577
-
578
- ## 0.7.3
579
-
580
- ### Patch Changes
581
-
582
- - ae4a9e5: Provides special highlighting for component names
583
- - Updated dependencies [8f7bd34]
584
- - @astrojs/language-server@0.7.3
585
-
586
- ## 0.7.2
587
-
588
- ### Patch Changes
589
-
590
- - 1b3a832: Adds diagnostics (errors and warnings)
591
- - Updated dependencies [1b3a832]
592
- - @astrojs/language-server@0.7.2
593
-
594
- ## 0.7.1
595
-
596
- ### Patch Changes
597
-
598
- - Updated dependencies [7874c06]
599
- - @astrojs/language-server@0.7.1
600
-
601
- ## 0.7.1
602
-
603
- ### Patch Changes
604
-
605
- - 25a7f22: Publishing new version
606
-
607
- ## 0.7.0
608
-
609
- ### Patch Changes
610
-
611
- - Updated dependencies [72d3ff0]
612
- - @astrojs/language-server@0.7.0
613
-
614
- ## 0.6.1
615
-
616
- - Makes the v0.6.0 features actually work 😅
617
-
618
- ## 0.6.0
619
-
620
- - Fixes bug with signature help not appearing in the component script section.
621
- - Adds completion suggestions for `Astro.*` APIs in the component script.
622
- - Adds support for Hover based hints in the component script section.
623
- - Fixes bug with Go to Definition (cmd + click) for Components.
624
-
625
- ## 0.5.0
626
-
627
- - Bug fixes, dependency updates
628
-
629
- ## 0.4.3
630
-
631
- ### Patch Changes
632
-
633
- - Improve support for <Markdown> component
634
- - Bug fixes and improvements
635
-
636
- ## 0.4.2
637
-
638
- ### Patch Changes
639
-
640
- - b3886c2: Added support for new <Markdown> component
641
-
642
- ## 0.4.1
643
-
644
- ### Patch Changes
645
-
646
- - Updated VS Code Marketplace banner
647
-
648
- ## 0.4.0
649
-
650
- ### Minor Changes
651
-
652
- - 06e2597: Adds support for import suggestions
653
-
654
- ### Patch Changes
655
-
656
- - Updated dependencies [06e2597]
657
- - astro-languageserver@0.4.0