Skip to content

Commit

Permalink
Merge branch 'master' into pr/3333
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jul 5, 2023
2 parents 6e7137f + f7dda2a commit 9352579
Show file tree
Hide file tree
Showing 26 changed files with 392 additions and 454 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: release

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- run: npm i -g pnpm ovsx
- run: pnpm install --frozen-lockfile --no-optional
- run: pnpm run build:minify && pnpm ovsx publish
working-directory: packages/vscode-vue
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
name: release

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- run: npm i -g pnpm ovsx
- run: pnpm install --frozen-lockfile --no-optional
- run: pnpm run build:minify && pnpm ovsx publish
working-directory: packages/vscode-vue
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
54 changes: 27 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: testing

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [16.x]
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2

# install node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# install pnpm
- run: npm i -g pnpm
- run: pnpm install --frozen-lockfile --no-optional
- run: pnpm run build-ci
- run: pnpm run test
name: testing

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [16.x]
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2

# install node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# install pnpm
- run: npm i -g pnpm
- run: pnpm install --frozen-lockfile --no-optional
- run: pnpm run build-ci
- run: pnpm run test
33 changes: 19 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Changelog

## 1.8.2 (2023/6/27)
## 1.8.3 (2023/6/28)

- fix: should not auto closing `<img>` tag ([#3217](https://github.com/vuejs/language-tools/issues/3217))
- fix: allow passing undefined as events ([#3122](https://github.com/vuejs/language-tools/issues/3122)) ([#3217](https://github.com/vuejs/language-tools/issues/3217)) - thanks @so1ve
- fix: fixes object literal parsing for <component :is> ([#3324](https://github.com/vuejs/language-tools/issues/3324)) ([#3171](https://github.com/vuejs/language-tools/issues/3171)) - thanks @so1ve
- fix: symbol types are lost ([#3300](https://github.com/vuejs/language-tools/issues/3300)) ([#3295](https://github.com/vuejs/language-tools/issues/3295)) - thanks @so1ve
- fix(ts-plugin): suppress errors when `composite` is enabled `composite`
- fix(language-server): trigger characters missing on web IDE
- perf(language-server): debounce for `isCancellationRequested()`
- perf(typescript): caching `getScriptFileNames()` result

**Breaking changes**

- no longer parse vue files outside tsconfig `include` option to avoid TS performance concerns ([#3326](https://github.com/vuejs/language-tools/issues/3326))
- fix(ts-plugin): tsserver crashes when import > 4MB .vue file ([#3332](https://github.com/vuejs/language-tools/issues/3332))
- fix(language-server): in specific os `fileExists()` throws ([#3336](https://github.com/vuejs/language-tools/issues/3336))

---

Expand Down Expand Up @@ -51,6 +41,21 @@
</h5>
</p>

## 1.8.2 (2023/6/27)

- fix: should not auto closing `<img>` tag ([#3217](https://github.com/vuejs/language-tools/issues/3217))
- fix: allow passing undefined as events ([#3122](https://github.com/vuejs/language-tools/issues/3122)) ([#3217](https://github.com/vuejs/language-tools/issues/3217)) - thanks @so1ve
- fix: fixes object literal parsing for <component :is> ([#3324](https://github.com/vuejs/language-tools/issues/3324)) ([#3171](https://github.com/vuejs/language-tools/issues/3171)) - thanks @so1ve
- fix: symbol types are lost ([#3300](https://github.com/vuejs/language-tools/issues/3300)) ([#3295](https://github.com/vuejs/language-tools/issues/3295)) - thanks @so1ve
- fix(ts-plugin): suppress errors when `composite` is enabled
- fix(language-server): trigger characters missing on web IDE
- perf(language-server): debounce for `isCancellationRequested()`
- perf(typescript): caching `getScriptFileNames()` result

**Breaking changes**

- no longer parse vue files outside tsconfig `include` option to avoid TS performance concerns ([#3326](https://github.com/vuejs/language-tools/issues/3326))

## 1.8.1 (2023/6/20)

- fix(language-server): 3 consecutive directories with the same name cause infinite recursion ([#3282](https://github.com/vuejs/language-tools/issues/3282)) - thanks @FelipeAzambuja
Expand All @@ -59,7 +64,7 @@
- types: simplify `__VLS_IsAny` - thanks @so1ve
- perf(ts-plugin): work without overriding language service instance to reduce half of memory usage ([#3221](https://github.com/vuejs/language-tools/issues/3221))

## 1.8.0 (2023/6/17) ([Highlights](https://github.com/vuejs/language-tools/releases/tag/v1.8.0))
## 1.8.0 (2023/6/17) ([Release notes](https://github.com/vuejs/language-tools/releases/tag/v1.8.0))

## 1.7.14 (2023/6/16) - pre-release

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"packages": [
"packages/*"
],
"version": "1.8.2"
"version": "1.8.3"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@types/node": "latest",
"@volar/language-service": "1.7.9",
"@volar/language-service": "1.8.0",
"typescript": "latest",
"vite": "latest",
"vitest": "latest"
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript-vue-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-vue-plugin",
"version": "1.8.2",
"version": "1.8.3",
"main": "out/index.js",
"license": "MIT",
"files": [
Expand All @@ -13,8 +13,8 @@
"directory": "packages/typescript-vue-plugin"
},
"dependencies": {
"@vue/language-core": "1.8.2",
"@vue/typescript": "1.8.2",
"@vue/language-core": "1.8.3",
"@vue/typescript": "1.8.3",
"vscode-uri": "^3.0.7"
}
}
18 changes: 7 additions & 11 deletions packages/vscode-typescript-vue-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "vscode-typescript-vue-plugin",
"version": "1.8.2",
"version": "1.8.3",
"repository": {
"type": "git",
"url": "https://github.com/vuejs/language-tools.git",
Expand All @@ -21,27 +21,23 @@
"contributes": {
"typescriptServerPlugins": [
{
"name": "typescript-vue-plugin-forward",
"name": "typescript-vue-plugin-bundle",
"enableForWorkspaceTypeScriptVersions": true
}
]
},
"scripts": {
"vscode:prepublish": "npm run build && sed -i '' '/\"typescript-vue-plugin-forward\": \"file:typescript-vue-plugin-forward\"/d' package.json",
"vscode:prepublish": "npm run build",
"prebuild": "cd ../.. && npm run build",
"build": "node scripts/build",
"watch": "node scripts/build --watch",
"pack": "vsce package && npm run reset",
"release": "vsce publish && npm run reset",
"release:next": "vsce publish --pre-release && npm run reset",
"reset": "git checkout package.json"
},
"dependencies": {
"typescript-vue-plugin-forward": "file:typescript-vue-plugin-forward"
"pack": "vsce package",
"release": "vsce publish",
"release:next": "vsce publish --pre-release"
},
"devDependencies": {
"esbuild": "0.15.18",
"typescript-vue-plugin": "1.8.2",
"typescript-vue-plugin": "1.8.3",
"vsce": "latest"
}
}
2 changes: 1 addition & 1 deletion packages/vscode-typescript-vue-plugin/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('esbuild').build({
entryPoints: ['./node_modules/typescript-vue-plugin/out/index.js'],
bundle: true,
outfile: './dist/index.js',
outfile: './node_modules/typescript-vue-plugin-bundle/index.js',
external: [
'vscode',
'typescript', // vue-component-meta
Expand Down

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions packages/vscode-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "volar",
"version": "1.8.2",
"version": "1.8.3",
"repository": {
"type": "git",
"url": "https://github.com/vuejs/language-tools.git",
Expand Down Expand Up @@ -733,9 +733,9 @@
"devDependencies": {
"@types/semver": "^7.3.13",
"@types/vscode": "1.67.0",
"@volar/vscode": "1.7.9",
"@vue/language-core": "1.8.2",
"@vue/language-server": "1.8.2",
"@volar/vscode": "1.8.0",
"@vue/language-core": "1.8.3",
"@vue/language-server": "1.8.3",
"esbuild": "0.15.18",
"esbuild-plugin-copy": "latest",
"esbuild-visualizer": "latest",
Expand Down
8 changes: 4 additions & 4 deletions packages/vue-component-meta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-component-meta",
"version": "1.8.2",
"version": "1.8.3",
"main": "out/index.js",
"license": "MIT",
"files": [
Expand All @@ -13,10 +13,10 @@
"directory": "packages/vue-component-meta"
},
"dependencies": {
"@volar/typescript": "1.7.9",
"@vue/language-core": "1.8.2",
"@volar/typescript": "1.8.0",
"@vue/language-core": "1.8.3",
"typesafe-path": "^0.2.2",
"vue-component-type-helpers": "1.8.2"
"vue-component-type-helpers": "1.8.3"
},
"peerDependencies": {
"typescript": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-component-meta/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function createComponentMetaCheckerWorker(
const scriptSnapshots = new Map<string, ts.IScriptSnapshot>();
const _host: vue.TypeScriptLanguageHost = {
getCurrentDirectory: () => rootPath,
getProjectVersion: () => projectVersion,
getProjectVersion: () => projectVersion.toString(),
getCompilationSettings: () => parsedCommandLine.options,
getScriptFileNames: () => fileNames,
getProjectReferences: () => parsedCommandLine.projectReferences,
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-component-type-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-component-type-helpers",
"version": "1.8.2",
"version": "1.8.3",
"license": "MIT",
"files": [
"*.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/vue-language-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-core",
"version": "1.8.2",
"version": "1.8.3",
"main": "out/index.js",
"license": "MIT",
"files": [
Expand All @@ -13,8 +13,8 @@
"directory": "packages/vue-language-core"
},
"dependencies": {
"@volar/language-core": "1.7.9",
"@volar/source-map": "1.7.9",
"@volar/language-core": "1.8.0",
"@volar/source-map": "1.8.0",
"@vue/compiler-dom": "^3.3.0",
"@vue/reactivity": "^3.3.0",
"@vue/shared": "^3.3.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/vue-language-plugin-pug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-plugin-pug",
"version": "1.8.2",
"version": "1.8.3",
"main": "out/index.js",
"license": "MIT",
"files": [
Expand All @@ -13,10 +13,10 @@
"directory": "packages/vue-language-plugin-pug"
},
"devDependencies": {
"@vue/language-core": "1.8.2"
"@vue/language-core": "1.8.3"
},
"dependencies": {
"@volar/source-map": "1.7.9",
"volar-service-pug": "0.0.8"
"@volar/source-map": "1.8.0",
"volar-service-pug": "0.0.9"
}
}
14 changes: 7 additions & 7 deletions packages/vue-language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-server",
"version": "1.8.2",
"version": "1.8.3",
"main": "out/index.js",
"license": "MIT",
"files": [
Expand All @@ -16,12 +16,12 @@
"directory": "packages/vue-language-server"
},
"dependencies": {
"@volar/language-core": "1.7.9",
"@volar/language-server": "1.7.9",
"@volar/typescript": "1.7.9",
"@vue/language-core": "1.8.2",
"@vue/language-service": "1.8.2",
"@volar/language-core": "1.8.0",
"@volar/language-server": "1.8.0",
"@volar/typescript": "1.8.0",
"@vue/language-core": "1.8.3",
"@vue/language-service": "1.8.3",
"vscode-languageserver-protocol": "^3.17.3",
"vue-component-meta": "1.8.2"
"vue-component-meta": "1.8.3"
}
}
Loading

0 comments on commit 9352579

Please sign in to comment.