@flint.fyi/volar-language 0.1.1 → 0.1.2

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/lib/language.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { FileAboutData, FileReport, Language, Language as Language$2, LanguageFileCacheImpacts, LanguageReports, RuleContext, RuleReport } from "@flint.fyi/core";
2
- import { AST, ExtractedDirective, TypeScriptFileServices, TypeScriptNodesByName } from "@flint.fyi/typescript-language";
3
1
  import * as typescript from "typescript";
4
2
  import ts from "typescript";
3
+ import { FileAboutData, FileReport, Language, Language as Language$2, LanguageFileCacheImpacts, LanguageReports, RuleContext, RuleReport } from "@flint.fyi/core";
4
+ import { AST, ExtractedDirective, TypeScriptFileServices, TypeScriptNodesByName } from "@flint.fyi/typescript-language";
5
5
  import { Language as Language$1, LanguagePlugin, SourceScript } from "@volar/language-core";
6
6
  import { TypeScriptServiceScript } from "@volar/typescript";
7
7
 
package/lib/language.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { name, version } from "./package.js";
2
+ import { proxyCreateProgram } from "@volar/typescript/lib/node/proxyCreateProgram.js";
3
+ import ts from "typescript";
2
4
  import { DirectivesCollector, createLanguage, getColumnAndLineOfPosition, isSuggestionForFiles } from "@flint.fyi/core";
3
5
  import { setTSProgramCreationProxy } from "@flint.fyi/ts-patch";
4
6
  import { NodeSyntaxKinds, convertTypeScriptDiagnosticToLanguageReport, extractDirectivesFromTypeScriptFile, setVolarCreateFile, throwUnknownLanguageExtension, typescriptLanguage } from "@flint.fyi/typescript-language";
5
7
  import { FlintAssertionError, assert, nullThrows } from "@flint.fyi/utils";
6
- import { proxyCreateProgram } from "@volar/typescript/lib/node/proxyCreateProgram.js";
7
- import ts from "typescript";
8
8
  //#region src/language.ts
9
9
  const stateSymbol = Symbol.for("@flint.fyi/volar-language/state");
10
10
  const globalTyped = globalThis;
package/lib/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "@flint.fyi/volar-language";
3
- var version = "0.1.1";
3
+ var version = "0.1.2";
4
4
  //#endregion
5
5
  export { name, version };
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flint.fyi/volar-language",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "[Experimental] Volar.js language for Flint.",
5
5
  "homepage": "https://flint.fyi",
6
6
  "repository": {
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "license": "MIT",
12
12
  "author": {
13
- "name": "JoshuaKGoldberg",
14
- "email": "npm@joshuakgoldberg.com"
13
+ "name": "Flint Team",
14
+ "url": "https://flint.fyi/team"
15
15
  },
16
16
  "sideEffects": true,
17
17
  "type": "module",
@@ -26,10 +26,10 @@
26
26
  "@volar/language-core": "2.4.28",
27
27
  "@volar/typescript": "2.4.28",
28
28
  "typescript": "^5.9.0 || ^6.0.0",
29
- "@flint.fyi/core": "^0.22.0",
30
29
  "@flint.fyi/ts-patch": "^0.13.5",
31
- "@flint.fyi/typescript-language": "^0.18.2",
32
- "@flint.fyi/utils": "^0.14.1"
30
+ "@flint.fyi/core": "^0.23.0",
31
+ "@flint.fyi/utils": "^0.14.1",
32
+ "@flint.fyi/typescript-language": "^0.18.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "tsdown": "0.21.0",