Skip to content

Commit d0c2d2d

Browse files
authored
Merge branch 'main' into feat-expose-editor-instance
2 parents b47a95f + b85ec7d commit d0c2d2d

File tree

5 files changed

+43
-35
lines changed

5 files changed

+43
-35
lines changed

.github/workflows/release-continuous.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77

88
steps:
99
- name: Checkout code
10-
uses: actions/checkout@v4
10+
uses: actions/checkout@v5
1111

1212
- name: Install pnpm
1313
uses: pnpm/action-setup@v4
1414

1515
- name: Install Node.js
16-
uses: actions/setup-node@v4
16+
uses: actions/setup-node@v5
1717
with:
1818
node-version-file: '.node-version'
1919
cache: 'pnpm'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
id-token: write
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Install pnpm
2121
uses: pnpm/action-setup@v4
2222

2323
- name: Install Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v5
2525
with:
2626
node-version-file: '.node-version'
2727
cache: pnpm

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
"@volar/monaco": "2.4.23",
9393
"@volar/typescript": "2.4.23",
9494
"@vue/babel-plugin-jsx": "^1.4.0",
95-
"@vue/language-core": "3.0.7-alpha.1",
96-
"@vue/language-service": "3.0.7-alpha.1",
97-
"@vue/typescript-plugin": "3.0.7-alpha.1",
95+
"@vue/language-core": "3.0.8",
96+
"@vue/language-service": "3.0.8",
97+
"@vue/typescript-plugin": "3.0.8",
9898
"assert": "^2.1.0",
9999
"bumpp": "^10.2.2",
100100
"codemirror": "^5.65.18",
@@ -117,6 +117,6 @@
117117
"vscode-uri": "^3.1.0",
118118
"volar-service-typescript": "0.0.65",
119119
"vue": "^3.5.18",
120-
"vue-tsc": "3.0.7-alpha.1"
120+
"vue-tsc": "3.0.8"
121121
}
122122
}

pnpm-lock.yaml

Lines changed: 29 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/monaco/vue.worker.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { getComponentProps } from '@vue/typescript-plugin/lib/requests/getCompon
3232
import { getComponentSlots } from '@vue/typescript-plugin/lib/requests/getComponentSlots'
3333
import { getElementAttrs } from '@vue/typescript-plugin/lib/requests/getElementAttrs'
3434
import { getElementNames } from '@vue/typescript-plugin/lib/requests/getElementNames'
35-
import { getPropertiesAtLocation } from '@vue/typescript-plugin/lib/requests/getPropertiesAtLocation'
35+
import { isRefAtPosition } from '@vue/typescript-plugin/lib/requests/isRefAtPosition'
3636

3737
export interface CreateData {
3838
tsconfig: {
@@ -204,16 +204,15 @@ self.onmessage = async (msg: MessageEvent<WorkerMessage>) => {
204204
getElementNames(fileName) {
205205
return getElementNames(ts, getProgram(), fileName)
206206
},
207-
getPropertiesAtLocation(fileName, position) {
207+
isRefAtPosition(fileName, position) {
208208
const { sourceScript, virtualCode } = getVirtualCode(fileName)
209-
return getPropertiesAtLocation(
209+
return isRefAtPosition(
210210
ts,
211211
getLanguageService().context.language,
212212
getProgram(),
213213
sourceScript,
214214
virtualCode,
215215
position,
216-
false,
217216
)
218217
},
219218
async getQuickInfoAtPosition(fileName, position) {
@@ -260,6 +259,9 @@ self.onmessage = async (msg: MessageEvent<WorkerMessage>) => {
260259
getEncodedSemanticClassifications() {
261260
throw new Error('Not implemented')
262261
},
262+
getReactiveReferences() {
263+
throw new Error('Not implemented')
264+
},
263265
})
264266
const ignoreVueServicePlugins = new Set([
265267
'vue-extract-file',

0 commit comments

Comments
 (0)