Skip to content

feat: upgrade to Volar 2.0 alpha #1178

feat: upgrade to Volar 2.0 alpha

feat: upgrade to Volar 2.0 alpha #1178

Triggered via pull request November 16, 2023 21:53
Status Failure
Total duration 1m 3s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

33 errors
Test: node-18, ubuntu-latest
Namespace '"/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index"' has no exported member 'Project'.
Test: node-18, ubuntu-latest
Property 'createServiceEnvironment' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, ubuntu-latest
Property 'createTypeScriptKitProject' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, ubuntu-latest
Property 'createTypeScriptInferredKitProject' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, ubuntu-latest
Expected 2 arguments, but got 3.
Test: node-18, ubuntu-latest
Type '{ fileName: string; languageId: string; kind: FileKind.TypeScriptHostFile; capabilities: { codeAction: true; documentFormatting: false; diagnostic: true; documentSymbol: true; inlayHint: true; foldingRange: true; }; codegenStacks: never[]; snapshot: { ...; }; mappings: Mapping<...>[]; embeddedFiles: never[]; }' is not assignable to type 'VirtualFile'.
Test: node-18, ubuntu-latest
Type '{ createVirtualFile(fileName: string, snapshot: IScriptSnapshot): AstroFile | undefined; updateVirtualFile(astroFile: AstroFile, snapshot: IScriptSnapshot): void; resolveTypeScriptProjectHost(host: any): any; }' is not assignable to type 'Language<AstroFile>'.
Test: node-18, ubuntu-latest
Parameter 'host' implicitly has an 'any' type.
Test: node-18, ubuntu-latest
Parameter 'moduleName' implicitly has an 'any' type.
Test: node-18, ubuntu-latest
Parameter 'impliedNodeFormat' implicitly has an 'any' type.
Test: node-20, ubuntu-latest
Namespace '"/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index"' has no exported member 'Project'.
Test: node-20, ubuntu-latest
Property 'createServiceEnvironment' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-20, ubuntu-latest
Property 'createTypeScriptKitProject' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-20, ubuntu-latest
Property 'createTypeScriptInferredKitProject' does not exist on type 'typeof import("/home/runner/work/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-20, ubuntu-latest
Expected 2 arguments, but got 3.
Test: node-20, ubuntu-latest
Type '{ fileName: string; languageId: string; kind: FileKind.TypeScriptHostFile; capabilities: { codeAction: true; documentFormatting: false; diagnostic: true; documentSymbol: true; inlayHint: true; foldingRange: true; }; codegenStacks: never[]; snapshot: { ...; }; mappings: Mapping<...>[]; embeddedFiles: never[]; }' is not assignable to type 'VirtualFile'.
Test: node-20, ubuntu-latest
Type '{ createVirtualFile(fileName: string, snapshot: IScriptSnapshot): AstroFile | undefined; updateVirtualFile(astroFile: AstroFile, snapshot: IScriptSnapshot): void; resolveTypeScriptProjectHost(host: any): any; }' is not assignable to type 'Language<AstroFile>'.
Test: node-20, ubuntu-latest
Parameter 'host' implicitly has an 'any' type.
Test: node-20, ubuntu-latest
Parameter 'moduleName' implicitly has an 'any' type.
Test: node-20, ubuntu-latest
Parameter 'impliedNodeFormat' implicitly has an 'any' type.
Test: node-18, macos-latest
Type '{ fileName: string; languageId: string; kind: FileKind.TypeScriptHostFile; capabilities: { codeAction: true; documentFormatting: false; diagnostic: true; documentSymbol: true; inlayHint: true; foldingRange: true; }; codegenStacks: never[]; snapshot: { ...; }; mappings: Mapping<...>[]; embeddedFiles: never[]; }' is not assignable to type 'VirtualFile'.
Test: node-18, macos-latest
Module '"@volar/language-core"' has no exported member 'createFileProvider'.
Test: node-18, macos-latest
Process completed with exit code 1.
Test: node-18, windows-latest
Namespace '"D:/a/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index"' has no exported member 'Project'.
Test: node-18, windows-latest
Property 'createServiceEnvironment' does not exist on type 'typeof import("D:/a/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, windows-latest
Property 'createTypeScriptKitProject' does not exist on type 'typeof import("D:/a/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, windows-latest
Property 'createTypeScriptInferredKitProject' does not exist on type 'typeof import("D:/a/language-tools/language-tools/node_modules/.pnpm/@volar+kit@1.10.9_typescript@5.2.2/node_modules/@volar/kit/out/index")'.
Test: node-18, windows-latest
Expected 2 arguments, but got 3.
Test: node-18, windows-latest
Type '{ fileName: string; languageId: string; kind: FileKind.TypeScriptHostFile; capabilities: { codeAction: true; documentFormatting: false; diagnostic: true; documentSymbol: true; inlayHint: true; foldingRange: true; }; codegenStacks: never[]; snapshot: { ...; }; mappings: Mapping<...>[]; embeddedFiles: never[]; }' is not assignable to type 'VirtualFile'.
Test: node-18, windows-latest
Type '{ createVirtualFile(fileName: string, snapshot: IScriptSnapshot): AstroFile | undefined; updateVirtualFile(astroFile: AstroFile, snapshot: IScriptSnapshot): void; resolveTypeScriptProjectHost(host: any): any; }' is not assignable to type 'Language<AstroFile>'.
Test: node-18, windows-latest
Parameter 'host' implicitly has an 'any' type.
Test: node-18, windows-latest
Parameter 'moduleName' implicitly has an 'any' type.
Test: node-18, windows-latest
Parameter 'impliedNodeFormat' implicitly has an 'any' type.