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