@astrojs/check 0.5.10 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -28,7 +28,9 @@ export async function check(flags) {
28
28
  });
29
29
  }
30
30
  // Dynamically get the list of extensions to watch from the files already included in the project
31
- const checkedExtensions = Array.from(new Set(checker.linter.languageHost.getScriptFileNames().map((fileName) => path.extname(fileName))));
31
+ const checkedExtensions = Array.from(new Set(checker.linter.language
32
+ .typescript.projectHost.getScriptFileNames()
33
+ .map((fileName) => path.extname(fileName))));
32
34
  createWatcher(workspaceRoot, checkedExtensions)
33
35
  .on('add', (fileName) => {
34
36
  checker.linter.fileCreated(fileName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/check",
3
- "version": "0.5.10",
3
+ "version": "0.6.0",
4
4
  "author": "withastro",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "dist/**/*.d.ts"
21
21
  ],
22
22
  "dependencies": {
23
- "@astrojs/language-server": "^2.8.4",
23
+ "@astrojs/language-server": "^2.9.0",
24
24
  "chokidar": "^3.5.3",
25
25
  "fast-glob": "^3.3.1",
26
26
  "kleur": "^4.1.5",