Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(twoslash-vue): upgrade to Volar 2.2.0 #63

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
fix: test
zhiyuanzmj committed Dec 30, 2024

Unverified

No user is associated with the committer email.
commit ca5e328a228beaff914f01fa91323913041cb706

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.


Unchanged files with check annotations Beta

},
cleanUrls: true,
vite,

Check failure on line 109 in docs/.vitepress/config.ts

GitHub Actions / typecheck

Type 'UserConfig & Promise<UserConfig> & UserConfigFnObject & UserConfigFnPromise & UserConfigFn' is not assignable to type '(UserConfig & { configFile?: string | false | undefined; }) | undefined'.
themeConfig: {
logo: '/logo.svg',
nav: [
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
extensions: ['vue', 'md'],
}),
UnoCSS(

Check failure on line 20 in docs/.vitepress/vite.config.ts

GitHub Actions / typecheck

No overload matches this call.
fileURLToPath(new URL('./uno.config.ts', import.meta.url)),
),
// Converting Twoslash codeblocks into code-groups with the source code
it('has correct query', () => {
expect(result.meta.positionQueries)
.toMatchInlineSnapshot(`

Check failure on line 20 in packages/twoslash-vue/test/query.test.ts

GitHub Actions / test (lts/*, windows-latest)

packages/twoslash-vue/test/query.test.ts > basic > has correct query

Error: Snapshot `basic > has correct query 1` mismatched - Expected + Received [ - 94, + 115, - 162, + 183, - 997, + 1018, - 1166, + 1187, ] ❯ packages/twoslash-vue/test/query.test.ts:20:8
[
94,
162,