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

vue-tsc v1.0.14 throws with Cannot find module 'vue-tsc/out/proxy' #193

Closed
2 tasks done
cexbrayat opened this issue Dec 18, 2022 · 5 comments · Fixed by #194
Closed
2 tasks done

vue-tsc v1.0.14 throws with Cannot find module 'vue-tsc/out/proxy' #193

cexbrayat opened this issue Dec 18, 2022 · 5 comments · Fixed by #194

Comments

@cexbrayat
Copy link
Contributor

Describe the bug

Volar v1.0.14 has just been released and there are some changes,
in particular vuejs/language-tools@e5f7b23#diff-5270d6425aa3f2991337ef48a11f7e996d30adf2618e5c2428077ff2c8a8f149
that renames proxy.ts to index.ts.

Using vite-plugin-checker with vue-tsc v1.0.14 throws:

Error: Cannot find module 'vue-tsc/out/proxy'
Require stack:
- /home/circleci/redacted/node_modules/vite-plugin-checker/dist/cjs/checkers/vueTsc/prepareVueTsc.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Function.resolve (node:internal/modules/cjs/helpers:109:19)
    at Object.<anonymous> (/home/circleci/redacted/node_modules/vite-plugin-checker/dist/cjs/checkers/vueTsc/prepareVueTsc.js:39:28)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/home/circleci/redacted/node_modules/vite-plugin-checker/dist/cjs/checkers/vueTsc/main.js:42:28) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/circleci/redacted/node_modules/vite-plugin-checker/dist/cjs/checkers/vueTsc/prepareVueTsc.js'
  ]
}

Reproduction

npm create vue vue-tsc-v1.0.14 -- --typescript
cd vue-tsc-v1.0.14
npm i
npm i --save-dev --save-exact vite-plugin-checker

Enables vite-plugin checker for vue-tsc:

import checker from 'vite-plugin-checker'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), checker({
    vueTsc: true
  })],

then start:

npm run dev

Throws:

> vue-tsc-v1.0.14@0.0.0 dev
> vite

error when starting dev server:
Error: Cannot find module 'vue-tsc/out/proxy'
Require stack:
- /Users/cedric/Code/temp/vue-tsc-v1.0.14/node_modules/vite-plugin-checker/dist/cjs/checkers/vueTsc/prepareVueTsc.js

Expected behavior

Should start without error

System Info

System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 7.86 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.volta/tools/image/node/16.17.0/bin/node
    Yarn: 1.22.17 - ~/.volta/tools/image/yarn/1.22.17/bin/yarn
    npm: 8.19.3 - ~/.volta/tools/image/npm/8.19.3/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Firefox: 107.0.1
    Safari: 16.2
  npmPackages:
    vite-plugin-checker: 0.5.2 => 0.5.2

Additional context

This only breaks with vue-tsc v1.0.14, reverting to v1.0.13 works

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@cexbrayat cexbrayat changed the title vue-tsc v1.0.14 throws with `` vue-tsc v1.0.14 throws with Cannot find module 'vue-tsc/out/proxy' Dec 18, 2022
cexbrayat added a commit to cexbrayat/vite-plugin-checker that referenced this issue Dec 18, 2022
Fixes fi3ework#193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
cexbrayat added a commit to cexbrayat/vite-plugin-checker that referenced this issue Dec 18, 2022
Fixes fi3ework#193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
cexbrayat added a commit to cexbrayat/vite-plugin-checker that referenced this issue Dec 18, 2022
Fixes fi3ework#193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
@ilxqx
Copy link

ilxqx commented Dec 19, 2022

I was faced same problem:

error when starting dev server:
Error: Cannot find module 'vue-tsc/out/proxy'
Require stack:
- /Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite-plugin-checker/dist/esm/checkers/vueTsc/prepareVueTsc.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
    at Function.resolve (node:internal/modules/cjs/helpers:109:19)
    at file:///Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite-plugin-checker/dist/esm/checkers/vueTsc/prepareVueTsc.js:8:28
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:526:24)
    at async createCheckers (file:///Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite-plugin-checker/dist/esm/main.js:25:37)
    at async config (file:///Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite-plugin-checker/dist/esm/main.js:46:18)
    at async runConfigHook (file:///Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite/dist/node/chunks/dep-6305614c.js:63149:25)
    at async resolveConfig (file:///Users/venus/WebstormProjects/fierce-framework-vue3/node_modules/vite/dist/node/chunks/dep-6305614c.js:62650:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

cexbrayat added a commit to cexbrayat/vite-plugin-checker that referenced this issue Dec 20, 2022
Fixes fi3ework#193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
cexbrayat added a commit to cexbrayat/vite-plugin-checker that referenced this issue Dec 21, 2022
Fixes fi3ework#193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
fi3ework pushed a commit that referenced this issue Dec 21, 2022
Fixes #193

volar v1.0.14 renamed the `proxy.ts` file in `index.ts` and changed `createProgramProxy` into `createProgram`.
gifaldyazkaa added a commit to vrtpro/chocolattech that referenced this issue Jan 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [postcss](https://postcss.org/)
([source](https://togithub.com/postcss/postcss)) | [`8.4.20` ->
`8.4.21`](https://renovatebot.com/diffs/npm/postcss/8.4.20/8.4.21) |
[![age](https://badges.renovateapi.com/packages/npm/postcss/8.4.21/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/postcss/8.4.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/postcss/8.4.21/compatibility-slim/8.4.20)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/postcss/8.4.21/confidence-slim/8.4.20)](https://docs.renovatebot.com/merge-confidence/)
|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`2.8.1` ->
`2.8.3`](https://renovatebot.com/diffs/npm/prettier/2.8.1/2.8.3) |
[![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.3/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.3/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`4.9.3` ->
`4.9.4`](https://renovatebot.com/diffs/npm/typescript/4.9.3/4.9.4) |
[![age](https://badges.renovateapi.com/packages/npm/typescript/4.9.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/typescript/4.9.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/typescript/4.9.4/compatibility-slim/4.9.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/typescript/4.9.4/confidence-slim/4.9.3)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.0.0` ->
`4.0.4`](https://renovatebot.com/diffs/npm/vite/4.0.0/4.0.4) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.0.4/compatibility-slim/4.0.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.0.4/confidence-slim/4.0.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [vue-tsc](https://togithub.com/johnsoncodehk/volar) | [`1.0.11` ->
`1.0.24`](https://renovatebot.com/diffs/npm/vue-tsc/1.0.11/1.0.24) |
[![age](https://badges.renovateapi.com/packages/npm/vue-tsc/1.0.24/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vue-tsc/1.0.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vue-tsc/1.0.24/compatibility-slim/1.0.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vue-tsc/1.0.24/confidence-slim/1.0.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>postcss/postcss</summary>

###
[`v8.4.21`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#&#8203;8421)

[Compare
Source](https://togithub.com/postcss/postcss/compare/8.4.20...8.4.21)

-   Fixed `Input#error` types (by Aleks Hudochenkov).

</details>

<details>
<summary>prettier/prettier</summary>

###
[`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;283)

[Compare
Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3)

[diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3)

##### Allow self-closing tags on custom elements
([#&#8203;14170](https://togithub.com/prettier/prettier/pull/14170) by
[@&#8203;fisker](https://togithub.com/fisker))

See [Angular v15.1.0 release
note](https://togithub.com/angular/angular/releases/tag/15.1.0) for
details.

<!-- prettier-ignore -->

```html
// Input
<app-test/>

// Prettier 2.8.2
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 | <app-test/>
    | ^^^^^^^^^
  2 |

// Prettier 2.8.3
<app-test />
```

###
[`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;282)

[Compare
Source](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)

[diff](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)

##### Don't lowercase link references
([#&#8203;13155](https://togithub.com/prettier/prettier/pull/13155) by
[@&#8203;DerekNonGeneric](https://togithub.com/DerekNonGeneric) &
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```markdown
<!-- Input -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[Keep a Changelog]: https://example.com/

<!-- Prettier 2.8.1 -->
We now don't strictly follow the release notes format suggested by [Keep a Changelog].

[keep a changelog]: https://example.com/
<!--
^^^^^^^^^^^^^^^^^^ lowercased
-->

<!-- Prettier 2.8.2 -->
<Same as input>
```

##### Preserve self-closing tags
([#&#8203;13691](https://togithub.com/prettier/prettier/pull/13691) by
[@&#8203;dcyriller](https://togithub.com/dcyriller))

<!-- prettier-ignore -->

```hbs
{{! Input }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component></Component>

{{! Prettier 2.8.1 }}
<div></div>
<div></div>
<custom-component></custom-component>
<custom-component></custom-component>
<i></i>
<i></i>
<Component />
<Component />

{{! Prettier 2.8.2 }}
<div />
<div></div>
<custom-component />
<custom-component></custom-component>
<i />
<i></i>
<Component />
<Component />
```

##### Allow custom "else if"-like blocks with block params
([#&#8203;13930](https://togithub.com/prettier/prettier/pull/13930) by
[@&#8203;jamescdavis](https://togithub.com/jamescdavis))

[#&#8203;13507](https://togithub.com/prettier/prettier/issues/13507)
added support for custom block keywords used with `else`, but failed to
allow block params. This updates printer-glimmer to allow block params
with custom "else if"-like blocks.

<!-- prettier-ignore -->

```hbs
{{! Input }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.1 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}

{{! Prettier 2.8.2 }}
{{#when isAtWork as |work|}}
  Ship that
  {{work}}!
{{else when isReading as |book|}}
  You can finish
  {{book}}
  eventually...
{{else}}
  Go to bed!
{{/when}}
```

##### Preserve empty lines between nested SCSS maps
([#&#8203;13931](https://togithub.com/prettier/prettier/pull/13931) by
[@&#8203;jneander](https://togithub.com/jneander))

<!-- prettier-ignore -->

```scss
/* Input */
$map: (
  'one': (
     'key': 'value',
  ),

  'two': (
     'key': 'value',
  ),
)

/* Prettier 2.8.1 */
$map: (
  'one': (
     'key': 'value',
  ),
  'two': (
     'key': 'value',
  ),
)

/* Prettier 2.8.2 */
$map: (
  'one': (
     'key': 'value',
  ),

  'two': (
     'key': 'value',
  ),
)
```

##### Fix missing parentheses when an expression statement starts with
`let[`
([#&#8203;14000](https://togithub.com/prettier/prettier/pull/14000),
[#&#8203;14044](https://togithub.com/prettier/prettier/pull/14044) by
[@&#8203;fisker](https://togithub.com/fisker),
[@&#8203;thorn0](https://togithub.com/thorn0))

<!-- prettier-ignore -->

```jsx
// Input
(let[0] = 2);

// Prettier 2.8.1
let[0] = 2;

// Prettier 2.8.1 (second format)
SyntaxError: Unexpected token (1:5)
> 1 | let[0] = 2;
    |     ^
  2 |

// Prettier 2.8.2
(let)[0] = 2;
```

##### Fix semicolon duplicated at the end of LESS file
([#&#8203;14007](https://togithub.com/prettier/prettier/pull/14007) by
[@&#8203;mvorisek](https://togithub.com/mvorisek))

<!-- prettier-ignore -->

```less
// Input
@&#8203;variable: {
  field: something;
};

// Prettier 2.8.1
@&#8203;variable: {
  field: something;
}; ;

// Prettier 2.8.2
@&#8203;variable: {
  field: something;
};
```

##### Fix no space after unary minus when followed by opening
parenthesis in LESS
([#&#8203;14008](https://togithub.com/prettier/prettier/pull/14008) by
[@&#8203;mvorisek](https://togithub.com/mvorisek))

<!-- prettier-ignore -->

```less
// Input
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.1
.unary_minus_single {
  margin: - (@&#8203;a);
}

.unary_minus_multi {
  margin: 0 - (@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}

// Prettier 2.8.2
.unary_minus_single {
  margin: -(@&#8203;a);
}

.unary_minus_multi {
  margin: 0 -(@&#8203;a);
}

.binary_minus {
  margin: 0 - (@&#8203;a);
}
```

##### Do not change case of property name if inside a variable
declaration in LESS
([#&#8203;14034](https://togithub.com/prettier/prettier/pull/14034) by
[@&#8203;mvorisek](https://togithub.com/mvorisek))

<!-- prettier-ignore -->

```less
// Input
@&#8203;var: {
  preserveCase: 0;
};

// Prettier 2.8.1
@&#8203;var: {
  preservecase: 0;
};

// Prettier 2.8.2
@&#8203;var: {
  preserveCase: 0;
};
```

##### Fix formatting for auto-accessors with comments
([#&#8203;14038](https://togithub.com/prettier/prettier/pull/14038) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
class A {
  @&#8203;dec()
  // comment
  accessor b;
}

// Prettier 2.8.1
class A {
  @&#8203;dec()
  accessor // comment
  b;
}

// Prettier 2.8.1 (second format)
class A {
  @&#8203;dec()
  accessor; // comment
  b;
}

// Prettier 2.8.2
class A {
  @&#8203;dec()
  // comment
  accessor b;
}
```

##### Add parentheses for TSTypeQuery to improve readability
([#&#8203;14042](https://togithub.com/prettier/prettier/pull/14042) by
[@&#8203;onishi-kohei](https://togithub.com/onishi-kohei))

<!-- prettier-ignore -->

```tsx
// Input
a as (typeof node.children)[number]
a as (typeof node.children)[]
a as ((typeof node.children)[number])[]

// Prettier 2.8.1
a as typeof node.children[number];
a as typeof node.children[];
a as typeof node.children[number][];

// Prettier 2.8.2
a as (typeof node.children)[number];
a as (typeof node.children)[];
a as (typeof node.children)[number][];
```

##### Fix displacing of comments in default switch case
([#&#8203;14047](https://togithub.com/prettier/prettier/pull/14047) by
[@&#8203;thorn0](https://togithub.com/thorn0))

It was a regression in Prettier 2.6.0.

<!-- prettier-ignore -->

```jsx
// Input
switch (state) {
  default:
    result = state; // no change
    break;
}

// Prettier 2.8.1
switch (state) {
  default: // no change
    result = state;
    break;
}

// Prettier 2.8.2
switch (state) {
  default:
    result = state; // no change
    break;
}
```

##### Support type annotations on auto accessors via `babel-ts`
([#&#8203;14049](https://togithub.com/prettier/prettier/pull/14049) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

[The bug that `@babel/parser` cannot parse auto accessors with type
annotations](https://togithub.com/babel/babel/issues/15205) has been
fixed. So we now support it via `babel-ts` parser.

<!-- prettier-ignore -->

```tsx
class Foo {
  accessor prop: number;
}
```

##### Fix formatting of empty type parameters
([#&#8203;14073](https://togithub.com/prettier/prettier/pull/14073) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
const foo: bar</* comment */> = () => baz;

// Prettier 2.8.1
Error: Comment "comment" was not printed. Please report this error!

// Prettier 2.8.2
const foo: bar</* comment */> = () => baz;
```

##### Add parentheses to head of `ExpressionStatement` instead of the
whole statement
([#&#8203;14077](https://togithub.com/prettier/prettier/pull/14077) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
({}).toString.call(foo) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo);

// Prettier 2.8.1
({}.toString.call(foo) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo));

// Prettier 2.8.2
({}).toString.call(foo.forEach) === "[object Array]"
  ? foo.forEach(iterateArray)
  : iterateObject(foo);
```

##### Fix comments after directive
([#&#8203;14081](https://togithub.com/prettier/prettier/pull/14081) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
"use strict" /* comment */;

// Prettier 2.8.1 (with other js parsers except `babel`)
Error: Comment "comment" was not printed. Please report this error!

// Prettier 2.8.2
<Same as input>
```

##### Fix formatting for comments inside JSX attribute
([#&#8203;14082](https://togithub.com/prettier/prettier/pull/14082) with
by [@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
function MyFunctionComponent() {
  <button label=/*old*/"new">button</button>
}

// Prettier 2.8.1
Error: Comment "old" was not printed. Please report this error!

// Prettier 2.8.2
function MyFunctionComponent() {
  <button label=/*old*/ "new">button</button>;
}
```

##### Quote numeric keys for json-stringify parser
([#&#8203;14083](https://togithub.com/prettier/prettier/pull/14083) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
{0: 'value'}

// Prettier 2.8.1
{
  0: "value"
}

// Prettier 2.8.2
{
  "0": "value"
}
```

##### Fix removing commas from function arguments in maps
([#&#8203;14089](https://togithub.com/prettier/prettier/pull/14089) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

<!-- prettier-ignore -->

```scss
/* Input */
$foo: map-fn(
  (
    "#{prop}": inner-fn($first, $second),
  )
);

/* Prettier 2.8.1 */
$foo: map-fn(("#{prop}": inner-fn($first $second)));

/* Prettier 2.8.2 */
$foo: map-fn(
  (
    "#{prop}": inner-fn($first, $second),
  )
);

```

##### Do not insert space in LESS property access
([#&#8203;14103](https://togithub.com/prettier/prettier/pull/14103) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```less
// Input
a {
  color: @&#8203;colors[@&#8203;white];
}

// Prettier 2.8.1
a {
  color: @&#8203;colors[ @&#8203;white];
}

// Prettier 2.8.2
<Same as input>
```

</details>

<details>
<summary>Microsoft/TypeScript</summary>

###
[`v4.9.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.9.4):
TypeScript 4.9.4

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v4.9.3...v4.9.4)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9).

For the complete list of fixed issues, check out the

- [fixed issues query for Typescript
v4.9.4](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+4.9.4%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)
- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

#### Changes:

-
[`e286821`](https://togithub.com/Microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2)
Bump version to 4.9.4 and LKG.
-
[`eb5419f`](https://togithub.com/Microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745)
Cherry-pick
[#&#8203;51704](https://togithub.com/Microsoft/TypeScript/issues/51704)
to release 4.9
([#&#8203;51712](https://togithub.com/Microsoft/TypeScript/issues/51712))
-
[`b4d382b`](https://togithub.com/Microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be)
Cherry-pick changes for narrowing to tagged literal types.
-
[`e7a02f4`](https://togithub.com/Microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5)
Port of
[#&#8203;51626](https://togithub.com/Microsoft/TypeScript/issues/51626)
and
[#&#8203;51689](https://togithub.com/Microsoft/TypeScript/issues/51689)
to release-4.9
([#&#8203;51627](https://togithub.com/Microsoft/TypeScript/issues/51627))
-
[`1727912`](https://togithub.com/Microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a)
Cherry-pick fix around `visitEachChild` to release-4.9.
([#&#8203;51544](https://togithub.com/Microsoft/TypeScript/issues/51544))

This list of changes was [auto
generated](https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/\_release?releaseId=117&\_a=release-summary).

</details>

<details>
<summary>vitejs/vite</summary>

###
[`v4.0.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small404-2023-01-03-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.0.3...v4.0.4)

- fix: importmap should insert before module preload link
([#&#8203;11492](https://togithub.com/vitejs/vite/issues/11492))
([25c64d7](https://togithub.com/vitejs/vite/commit/25c64d7)), closes
[#&#8203;11492](https://togithub.com/vitejs/vite/issues/11492)
- fix: server.host with ipv6 missed \[] (fix
[#&#8203;11466](https://togithub.com/vitejs/vite/issues/11466))
([#&#8203;11509](https://togithub.com/vitejs/vite/issues/11509))
([2c38bae](https://togithub.com/vitejs/vite/commit/2c38bae)), closes
[#&#8203;11466](https://togithub.com/vitejs/vite/issues/11466)
[#&#8203;11509](https://togithub.com/vitejs/vite/issues/11509)
- fix: stop considering parent URLs as public file
([#&#8203;11145](https://togithub.com/vitejs/vite/issues/11145))
([568a014](https://togithub.com/vitejs/vite/commit/568a014)), closes
[#&#8203;11145](https://togithub.com/vitejs/vite/issues/11145)
- fix(build): invalidate chunk hash when css changed
([#&#8203;11475](https://togithub.com/vitejs/vite/issues/11475))
([7a97a04](https://togithub.com/vitejs/vite/commit/7a97a04)), closes
[#&#8203;11475](https://togithub.com/vitejs/vite/issues/11475)
- fix(cli): ctrl+C no longer kills processes
([#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434))
([#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518))
([718fc1d](https://togithub.com/vitejs/vite/commit/718fc1d)), closes
[#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434)
[#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518)
- fix(cli): revert ctrl+C no longer kills processes
([#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434))
([#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518))
([#&#8203;11562](https://togithub.com/vitejs/vite/issues/11562))
([3748acb](https://togithub.com/vitejs/vite/commit/3748acb)), closes
[#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434)
[#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518)
[#&#8203;11562](https://togithub.com/vitejs/vite/issues/11562)
- fix(optimizer): check .vite/deps directory existence before removing
([#&#8203;11499](https://togithub.com/vitejs/vite/issues/11499))
([1b043f9](https://togithub.com/vitejs/vite/commit/1b043f9)), closes
[#&#8203;11499](https://togithub.com/vitejs/vite/issues/11499)
- fix(ssr): emit js sourcemaps for ssr builds
([#&#8203;11343](https://togithub.com/vitejs/vite/issues/11343))
([f12a1ab](https://togithub.com/vitejs/vite/commit/f12a1ab)), closes
[#&#8203;11343](https://togithub.com/vitejs/vite/issues/11343)
- chore: update license
([#&#8203;11476](https://togithub.com/vitejs/vite/issues/11476))
([3d346c0](https://togithub.com/vitejs/vite/commit/3d346c0)), closes
[#&#8203;11476](https://togithub.com/vitejs/vite/issues/11476)
- chore(deps): update dependency
[@&#8203;rollup/plugin-json](https://togithub.com/rollup/plugin-json) to
v6 ([#&#8203;11553](https://togithub.com/vitejs/vite/issues/11553))
([3647d07](https://togithub.com/vitejs/vite/commit/3647d07)), closes
[#&#8203;11553](https://togithub.com/vitejs/vite/issues/11553)

###
[`v4.0.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small403-2022-12-21-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.0.2...v4.0.3)

- chore(deps): update dependency
[@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v24 ([#&#8203;11420](https://togithub.com/vitejs/vite/issues/11420))
([241db16](https://togithub.com/vitejs/vite/commit/241db16)), closes
[#&#8203;11420](https://togithub.com/vitejs/vite/issues/11420)
- chore(typo): fix typo
([#&#8203;11445](https://togithub.com/vitejs/vite/issues/11445))
([ed80ea5](https://togithub.com/vitejs/vite/commit/ed80ea5)), closes
[#&#8203;11445](https://togithub.com/vitejs/vite/issues/11445)
- fix(ssr): ignore module exports condition
([#&#8203;11409](https://togithub.com/vitejs/vite/issues/11409))
([d3c9c0b](https://togithub.com/vitejs/vite/commit/d3c9c0b)), closes
[#&#8203;11409](https://togithub.com/vitejs/vite/issues/11409)
- feat: allow import.meta.hot define override
([#&#8203;8944](https://togithub.com/vitejs/vite/issues/8944))
([857d578](https://togithub.com/vitejs/vite/commit/857d578)), closes
[#&#8203;8944](https://togithub.com/vitejs/vite/issues/8944)

###
[`v4.0.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small402-2022-12-18-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.0.1...v4.0.2)

- fix: fix the error message in the `toOutputFilePathWithoutRuntime`
function
([#&#8203;11367](https://togithub.com/vitejs/vite/issues/11367))
([8820f75](https://togithub.com/vitejs/vite/commit/8820f75)), closes
[#&#8203;11367](https://togithub.com/vitejs/vite/issues/11367)
- fix: make `vite optimize` prebundle for dev
([#&#8203;11387](https://togithub.com/vitejs/vite/issues/11387))
([b4ced0f](https://togithub.com/vitejs/vite/commit/b4ced0f)), closes
[#&#8203;11387](https://togithub.com/vitejs/vite/issues/11387)
- fix: revert
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
([#&#8203;11412](https://togithub.com/vitejs/vite/issues/11412))
([6587d2f](https://togithub.com/vitejs/vite/commit/6587d2f)), closes
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
[#&#8203;11412](https://togithub.com/vitejs/vite/issues/11412)
- fix: server and preview open fails to add slash before relative path
([#&#8203;11394](https://togithub.com/vitejs/vite/issues/11394))
([57276b7](https://togithub.com/vitejs/vite/commit/57276b7)), closes
[#&#8203;11394](https://togithub.com/vitejs/vite/issues/11394)
- fix: skip applescript when no Chromium browser found (fixes
[#&#8203;11205](https://togithub.com/vitejs/vite/issues/11205))
([#&#8203;11406](https://togithub.com/vitejs/vite/issues/11406))
([274d1f3](https://togithub.com/vitejs/vite/commit/274d1f3)), closes
[#&#8203;11205](https://togithub.com/vitejs/vite/issues/11205)
[#&#8203;11406](https://togithub.com/vitejs/vite/issues/11406)
- fix(deps): update dependency ufo to v1
([#&#8203;11372](https://togithub.com/vitejs/vite/issues/11372))
([4288300](https://togithub.com/vitejs/vite/commit/4288300)), closes
[#&#8203;11372](https://togithub.com/vitejs/vite/issues/11372)
- chore: typecheck create-vite
([#&#8203;11295](https://togithub.com/vitejs/vite/issues/11295))
([af86e5b](https://togithub.com/vitejs/vite/commit/af86e5b)), closes
[#&#8203;11295](https://togithub.com/vitejs/vite/issues/11295)
- chore(deps): update dependency convert-source-map to v2
([#&#8203;10548](https://togithub.com/vitejs/vite/issues/10548))
([8dc6528](https://togithub.com/vitejs/vite/commit/8dc6528)), closes
[#&#8203;10548](https://togithub.com/vitejs/vite/issues/10548)
- chore(deps): update dependency mlly to v1
([#&#8203;11370](https://togithub.com/vitejs/vite/issues/11370))
([9662d4d](https://togithub.com/vitejs/vite/commit/9662d4d)), closes
[#&#8203;11370](https://togithub.com/vitejs/vite/issues/11370)

###
[`v4.0.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small401-2022-12-12-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/566d4c7bb51cf56550a5374ee46e1e1cbea1cf1f...v4.0.1)

- feat: show server url by pressing `u`
([#&#8203;11319](https://togithub.com/vitejs/vite/issues/11319))
([8c0bb7b](https://togithub.com/vitejs/vite/commit/8c0bb7b)), closes
[#&#8203;11319](https://togithub.com/vitejs/vite/issues/11319)
- feat(html): clickable error position for html parse error
([#&#8203;11334](https://togithub.com/vitejs/vite/issues/11334))
([2e15f3d](https://togithub.com/vitejs/vite/commit/2e15f3d)), closes
[#&#8203;11334](https://togithub.com/vitejs/vite/issues/11334)
- fix: ?inline warning for .css.js file
([#&#8203;11347](https://togithub.com/vitejs/vite/issues/11347))
([729fb1a](https://togithub.com/vitejs/vite/commit/729fb1a)), closes
[#&#8203;11347](https://togithub.com/vitejs/vite/issues/11347)
- fix: check if build exists so preview doesn't show 404s due to
nonexistent build
([#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564))
([0a1db8c](https://togithub.com/vitejs/vite/commit/0a1db8c)), closes
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
- fix: derive `useDefineForClassFields` value from
`tsconfig.compilerOptions.target` (fixes
[#&#8203;10296](https://togithub.com/vitejs/vite/issues/10296)) (#
([42976d8](https://togithub.com/vitejs/vite/commit/42976d8)), closes
[#&#8203;10296](https://togithub.com/vitejs/vite/issues/10296)
[#&#8203;11301](https://togithub.com/vitejs/vite/issues/11301)
- fix: preview fallback
([#&#8203;11312](https://togithub.com/vitejs/vite/issues/11312))
([cfedf9c](https://togithub.com/vitejs/vite/commit/cfedf9c)), closes
[#&#8203;11312](https://togithub.com/vitejs/vite/issues/11312)
- fix: respect base when using `/__open-in-editor`
([#&#8203;11337](https://togithub.com/vitejs/vite/issues/11337))
([8856c2e](https://togithub.com/vitejs/vite/commit/8856c2e)), closes
[#&#8203;11337](https://togithub.com/vitejs/vite/issues/11337)
- fix: wrongly resolve to optimized doppelganger
([#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290))
([34fec41](https://togithub.com/vitejs/vite/commit/34fec41)), closes
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
- fix(env): test NODE_ENV override before expand
([#&#8203;11309](https://togithub.com/vitejs/vite/issues/11309))
([d0a9281](https://togithub.com/vitejs/vite/commit/d0a9281)), closes
[#&#8203;11309](https://togithub.com/vitejs/vite/issues/11309)
- fix(preview): Revert
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564) - throw
Error on missing outDir
([#&#8203;11335](https://togithub.com/vitejs/vite/issues/11335))
([3aaa0ea](https://togithub.com/vitejs/vite/commit/3aaa0ea)), closes
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
[#&#8203;11335](https://togithub.com/vitejs/vite/issues/11335)
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
- docs: fix banner image in CHANGELOG.md
([#&#8203;11336](https://togithub.com/vitejs/vite/issues/11336))
([45b66f4](https://togithub.com/vitejs/vite/commit/45b66f4)), closes
[#&#8203;11336](https://togithub.com/vitejs/vite/issues/11336)
- chore: enable `@typescript-eslint/ban-ts-comment`
([#&#8203;11326](https://togithub.com/vitejs/vite/issues/11326))
([e58a4f0](https://togithub.com/vitejs/vite/commit/e58a4f0)), closes
[#&#8203;11326](https://togithub.com/vitejs/vite/issues/11326)
- chore: fix format
([#&#8203;11311](https://togithub.com/vitejs/vite/issues/11311))
([9c2b1c0](https://togithub.com/vitejs/vite/commit/9c2b1c0)), closes
[#&#8203;11311](https://togithub.com/vitejs/vite/issues/11311)
- chore: update changelog release notes for 4.0
([#&#8203;11285](https://togithub.com/vitejs/vite/issues/11285))
([83abd37](https://togithub.com/vitejs/vite/commit/83abd37)), closes
[#&#8203;11285](https://togithub.com/vitejs/vite/issues/11285)
- chore(deps): update all non-major dependencies
([#&#8203;11321](https://togithub.com/vitejs/vite/issues/11321))
([dcc0004](https://togithub.com/vitejs/vite/commit/dcc0004)), closes
[#&#8203;11321](https://togithub.com/vitejs/vite/issues/11321)
- chore(esbuild): add test for configuration overrides
([#&#8203;11267](https://togithub.com/vitejs/vite/issues/11267))
([f897b64](https://togithub.com/vitejs/vite/commit/f897b64)), closes
[#&#8203;11267](https://togithub.com/vitejs/vite/issues/11267)

</details>

<details>
<summary>johnsoncodehk/volar</summary>

###
[`v1.0.24`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1024-202318)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.22...v1.0.24)

-   feat: add `vueCompilerOptions.macros` setting for vue-macros plugins
- feat(framework): expose `FileCapabilities.full`,
`FileRangeCapabilities.full`, `MirrorBehaviorCapabilities.full`
- feat: renamed `normalizeComponentAutoImportName` setting to
`normalizeComponentImportName`
- feat: support normalize component name for import statement completion
([#&#8203;2286](https://togithub.com/johnsoncodehk/volar/issues/2286))
- feat: normalize `Index` to folder name when
`normalizeComponentImportName` enabled
([vuejs/language-tools#2071 (comment))
-   feat: support update imports on multiple files move
- fix(typescript-plugin): fixed `Projects must list all files or use an
'include' pattern` error
([#&#8203;2271](https://togithub.com/johnsoncodehk/volar/issues/2271))
- fix: language client sending `parseSfc` requests when not a vue
document changed
- fix: typescript actions not working for `codeActionsOnSave` setting
([#&#8203;2188](https://togithub.com/johnsoncodehk/volar/issues/2188))
- fix: fixed `c is not iterable` error edge case
([#&#8203;2282](https://togithub.com/johnsoncodehk/volar/issues/2282))
-   fix: cannot select workspace tsdk on status bar with takeover mode
- fix(plugin-api): cannot catch errors for `getEmbeddedFileNames()`,
`resolveEmbeddedFile()`
- fix(component-meta): cannot detection of slots in script-less SFC
([#&#8203;2113](https://togithub.com/johnsoncodehk/volar/issues/2113))
- perf(component-meta): resolve schema on demand
([#&#8203;2288](https://togithub.com/johnsoncodehk/volar/issues/2288))

##### Platinum Sponsors

<table><tr>
<td align="center" valign="middle"><a href="https://volta.net/"><img
src="https://raw.githubusercontent.com/johnsoncodehk/volar/master/.github/sponsors/volta.svg"
height="60" /></a></td>
</tr></table>

##### Gold Sponsors

<table><tr>
<td align="center" valign="middle"><a href="https://vuejs.org/"><img
src="https://raw.githubusercontent.com/johnsoncodehk/volar/master/.github/sponsors/vue.png"
height="80" /></a></td>
</tr></table>

##### Silver Sponsors

<table><tr>
<td align="center" valign="middle"><a
href="https://www.prefect.io/"><img
src="https://raw.githubusercontent.com/johnsoncodehk/volar/master/.github/sponsors/prefect.svg"
height="50" /></a></td>
<td align="center" valign="middle"><a
href="https://togithub.com/365talents"><img
src="https://raw.githubusercontent.com/johnsoncodehk/volar/master/.github/sponsors/365talents.png"
height="70" /></a></td>
</tr></table>

###
[`v1.0.22`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1022-202315)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.21...v1.0.22)

-   fix: document folding ranges not working in .ts

###
[`v1.0.21`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1021-202315)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.20...v1.0.21)

-   fix: cannot jump to .vue definition from .ts with takeover mode
- fix: cannot detect `@volar/vue-language-plugin-pug` installed
([#&#8203;2272](https://togithub.com/johnsoncodehk/volar/issues/2272))
- fix: ignore incremental update for v-for expression
([#&#8203;2266](https://togithub.com/johnsoncodehk/volar/issues/2266))
-   fix: auto insert spaces for `{{}}` not working
- fix: completion in template inserts stray leading dot
([#&#8203;2155](https://togithub.com/johnsoncodehk/volar/issues/2155))
- fix: if source document EOL is `\r\n`, virtual document mapping
decorations range incorrect

###
[`v1.0.20`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1020-202314)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.19...v1.0.20)

-   feat: support browser navigation for embedded preview
- feat: released pug extension
([#&#8203;2274](https://togithub.com/johnsoncodehk/volar/issues/2274))
- feat: add `volar.takeOverMode.extension` setting for choice extension
that takeover \*.ts language support
- fix(typescript-vue-plugin): can't always get latest status of .vue
files
([#&#8203;2271](https://togithub.com/johnsoncodehk/volar/issues/2271))
- fix: multi-line template interpolation formatting indentation
incorrect
- refactor(framework): simplify `LanguageServerPlugin` api and
dependency injection connection
([#&#8203;2273](https://togithub.com/johnsoncodehk/volar/issues/2273))
- refactor(framework): combine `createLanguageService` and
`createDocumentService`

###
[`v1.0.19`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1019-20221231)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.18...v1.0.19)

- feat: add `experimentalAdditionalLanguageModules` option for
`vueCompilerOptions`
([#&#8203;2267](https://togithub.com/johnsoncodehk/volar/issues/2267))
- fix: TS
`typescript/javascript.preferences.autoImportFileExcludePatterns`
setting not working
- fix: formatting not working for extra vue file extensions
([#&#8203;2263](https://togithub.com/johnsoncodehk/volar/issues/2263))
- fix(doctor): accidentally report `@vue/compiler-dom` warning
([#&#8203;2262](https://togithub.com/johnsoncodehk/volar/issues/2262))
- fix(vue-component-meta): `required` property incorrect
([#&#8203;2256](https://togithub.com/johnsoncodehk/volar/issues/2256))
- fix(preview): cannot start preview if project never start run vite
server
([#&#8203;2223](https://togithub.com/johnsoncodehk/volar/issues/2223))
-   fix: references codeLens not working

###
[`v1.0.18`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1018-20221226)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.17...v1.0.18)

- feat: check deprecated properties for `vueCompilerOptions` in tsconfig
- fix: auto add spaces for `{{}}` not working if template block not at
the top
-   fix: remove duplicate file watchers for .vue files
- fix: auto complete randomly report `[TS Error] { }` and failed
([#&#8203;2190](https://togithub.com/johnsoncodehk/volar/issues/2190))
-   fix: cross-file renaming cannot be performed consecutively
- fix: should not report unknown tag error without `strictTemplates`
enabled
([#&#8203;2255](https://togithub.com/johnsoncodehk/volar/issues/2255))

###
[`v1.0.17`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1017-20221226)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.16...v1.0.17)

- feat: support syntax highlighting for `lang="json5"`
([#&#8203;2244](https://togithub.com/johnsoncodehk/volar/issues/2244))
- feat: support for generating virtual file from multiple sources
([#&#8203;2253](https://togithub.com/johnsoncodehk/volar/issues/2253))
-   feat: display mapping data on hover for virtual document
- feat: re-support component semantic token
([#&#8203;2252](https://togithub.com/johnsoncodehk/volar/issues/2252))
-   fix(vue-tsc): cannot resolve hook path from extends options
- fix: fixed workspace configs caching not working edge case
([#&#8203;2062](https://togithub.com/johnsoncodehk/volar/issues/2062))
-   fix: cannot find volar.config.js for sub folder tsconfig project
- fix: emmet abbreviation suggestion keeps disappearing every third
letter
([#&#8203;2240](https://togithub.com/johnsoncodehk/volar/issues/2240))
- fix: `{{ }}` colorizedBracketPairs not working
([#&#8203;1759](https://togithub.com/johnsoncodehk/volar/issues/1759))
- fix: fixed volar-base language servers executePluginCommand duplicate
registration error
- fix: avoid throw on un-exist workspace folder
([#&#8203;2039](https://togithub.com/johnsoncodehk/volar/issues/2039))
- fix: ignore class, style attrs when `v-bind` exist
([#&#8203;2166](https://togithub.com/johnsoncodehk/volar/issues/2166))
- fix: functional component type check not working when return type
includes `props` property
([#&#8203;2206](https://togithub.com/johnsoncodehk/volar/issues/2206))
- fix: v-slot error when `noPropertyAccessFromIndexSignature` is enabled
([#&#8203;2236](https://togithub.com/johnsoncodehk/volar/issues/2236))
- fix: `skipTemplateCodegen` should ignore template slots emit
([#&#8203;2237](https://togithub.com/johnsoncodehk/volar/issues/2237))
- fix: recursive closing of html tag edge cases
([#&#8203;2238](https://togithub.com/johnsoncodehk/volar/issues/2238))
([#&#8203;2247](https://togithub.com/johnsoncodehk/volar/issues/2247))
- fix: double quotes not allowed in attribute value
([#&#8203;2250](https://togithub.com/johnsoncodehk/volar/issues/2250))
-   perf: embedded files on demand calculation not working

###
[`v1.0.16`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1016-20221220)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.14...v1.0.16)

- feat(component-meta): make `schema.ignore` accept functions
([#&#8203;2232](https://togithub.com/johnsoncodehk/volar/issues/2232))
- feat: add `volar.icon.splitEditors` setting
([#&#8203;2163](https://togithub.com/johnsoncodehk/volar/issues/2163))
-   feat: support twoslash queries in .ts when using takeover mode
- fix: fixed typescript-vue-plugin performance regression
([#&#8203;2228](https://togithub.com/johnsoncodehk/volar/issues/2228))
- fix: deleting space for `{{ |}}` become `{{ | }}`
([#&#8203;2222](https://togithub.com/johnsoncodehk/volar/issues/2222))
- fix: dynamic slot name type `<slot :name="(name as 'a' | 'b')" />` not
working
([#&#8203;2233](https://togithub.com/johnsoncodehk/volar/issues/2233))
- fix: typed template slots missing when template only exist dynamic
slots
([#&#8203;2233](https://togithub.com/johnsoncodehk/volar/issues/2233))
- fix: fixed template `Type 'void' has no call signatures` errors
([#&#8203;2225](https://togithub.com/johnsoncodehk/volar/issues/2225))
- fix(vue-tsc): shim `vue-tsc/out/proxy.js` for vite-plugin-checker
([fi3ework/vite-plugin-checker#193)
- perf: rewrite typescript-vue-plugin for much better performance and
fixed path resolve edge case
([#&#8203;2137](https://togithub.com/johnsoncodehk/volar/issues/2137))

###
[`v1.0.14`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1014-20221218)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.13...v1.0.14)

- feat: add angular language server example
([#&#8203;2215](https://togithub.com/johnsoncodehk/volar/issues/2215))
- feat(vue-tsc): support for hook api
([#&#8203;2217](https://togithub.com/johnsoncodehk/volar/issues/2217))
- feat: add `vue-tsc-eslint-hook` module to support use eslint in
vue-tsc
([#&#8203;2220](https://togithub.com/johnsoncodehk/volar/issues/2220))
- feat: add setting `volar.vueserver.maxFileSize`
([#&#8203;2186](https://togithub.com/johnsoncodehk/volar/issues/2186))
- feat: add setting `volar.doctor.checkVueTsc` and disable by default
([#&#8203;2186](https://togithub.com/johnsoncodehk/volar/issues/2186))
- feat: add setting `volar.vueserver.configFilePath`
([#&#8203;2078](https://togithub.com/johnsoncodehk/volar/issues/2078))
- feat: auto add space between double curly brackets
([#&#8203;2088](https://togithub.com/johnsoncodehk/volar/issues/2088))
- feat: support formatting for style `v-bind`
([#&#8203;2105](https://togithub.com/johnsoncodehk/volar/issues/2105))
- fix: virtual code mapping ignored offset 0
([#&#8203;2052](https://togithub.com/johnsoncodehk/volar/issues/2052))
- fix: auto complete ref value with '.value' not working
([#&#8203;2203](https://togithub.com/johnsoncodehk/volar/issues/2203))
- fix: template AST broken by slot name incremental update
([#&#8203;2207](https://togithub.com/johnsoncodehk/volar/issues/2207))
- fix: preview not working for Vite v4
([#&#8203;2198](https://togithub.com/johnsoncodehk/volar/issues/2198))

###
[`v1.0.13`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1013-20221212)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.12...v1.0.13)

-   feat(web-ide): show loading file at status bar
-   feat(web-ide): support node_modules types via CDN
-   feat(web-ide): support locale typescript diagnostic messages
-   fix(web-ide): cannot use default typescript lib types
-   fix(web-ide): cannot found match tsconfig
- fix: `volar.config.js` plugins dirty cache between different tsconfig
projects

###
[`v1.0.12`](https://togithub.com/johnsoncodehk/volar/blob/HEAD/CHANGELOG.md#&#8203;1012-2022129)

[Compare
Source](https://togithub.com/johnsoncodehk/volar/compare/v1.0.11...v1.0.12)

- feat: added `@volar/vscode-language-client` package
([#&#8203;2181](https://togithub.com/johnsoncodehk/volar/issues/2181))
- fix: document content messed up randomly
([#&#8203;1807](https://togithub.com/johnsoncodehk/volar/issues/1807))
- fix: "Show Virtual Files" mapping background color unclear with light
theme
([#&#8203;2147](https://togithub.com/johnsoncodehk/volar/issues/2147))
([#&#8203;2170](https://togithub.com/johnsoncodehk/volar/issues/2170))
- fix: props type checking not working for Element Plus components
([#&#8203;2176](https://togithub.com/johnsoncodehk/volar/issues/2176))
([#&#8203;2180](https://togithub.com/johnsoncodehk/volar/issues/2180))
- fix: attribute values being wrapped in parentheses while typing
([#&#8203;2182](https://togithub.com/johnsoncodehk/volar/issues/2182))
- fix: formatting crashes
([#&#8203;2077](https://togithub.com/johnsoncodehk/volar/issues/2077))
- fix: cannot emit component type with `DefineComponent` when template
has slots
([#&#8203;2161](https://togithub.com/johnsoncodehk/volar/issues/2161))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/gifaldyazkaa/chocolattech).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDguMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOC4xIn0=-->
@theoephraim
Copy link

@cexbrayat @fi3ework

I've just upgraded some dependencies and still seeing this issue.
I created a brand new project as well to confirm...

Reverting vue-tsc to 1.0.13, does resolve it for now, but it seems this issue is not quite fixed.

To reproduce

  • set up a new vue project using vite started npm create vite@latest
  • install vite-plugin-checker and add to vite config
error when starting dev server:
Error: Cannot find module 'vue-tsc/out/proxy'
Require stack:
- /.../node_modules/.pnpm/vite-plugin-checker@0.5.1_vwvfc4ezh6jlf6pa67auy3eulu/node_modules/vite-plugin-checker/dist/esm/checkers/vueTsc/prepareVueTsc.js

@fi3ework
Copy link
Owner

@cexbrayat In vue-tsc 1.1.0, vue-tsc/out/proxy has been removed. It's been fixed in 538a0d9 and released in 0.5.3. Bump the version should fix all.

@theoephraim
Copy link

I could have sworn I was on the latest versions of everything. Apologies for the noise!

@ouyangzhigang
Copy link

ouyangzhigang commented Feb 27, 2023

ERROR Cannot start nuxt: Cannot find module 'vue-tsc/out/proxy' 15:54:39
Require stack:

  • D:\private\nuxt-app-workflow\node_modules\vite-plugin-checker\dist\esm\checkers\vueTsc\prepareVueTsc.js

"vue-tsc": "^1.2.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants