Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refactor: extract preview features to another repo (#2380)
  • Loading branch information
johnsoncodehk committed Feb 12, 2023
1 parent 719d31a commit 3783bb6
Show file tree
Hide file tree
Showing 26 changed files with 1 addition and 1,951 deletions.
17 changes: 0 additions & 17 deletions .vscode/launch.json
Expand Up @@ -19,23 +19,6 @@
"script": "watch"
}
},
{
"name": "Launch Preview",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-vue-preview"
],
"outFiles": [
"${workspaceRoot}/*/*/out/**/*.js"
],
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
},
{
"type": "extensionHost",
"request": "launch",
Expand Down
6 changes: 0 additions & 6 deletions README.md
Expand Up @@ -132,8 +132,6 @@ flowchart LR
VOLAR_VUE_SERVICE["@volar/vue-language-service"]
VOLAR_PUG_SERVICE["@volar/pug-language-service"]
VOLAR_TS_SERVICE["@volar/typescript-language-service"]
%% VOLAR_TS_FASTER["@volar/typescript-faster"]
%% VOLAR_PREVIEW["@volar/preview"]
VUE_TSC[vue-tsc]
VUE_COMPONENT_META[vue-component-meta]
TS_VUE_PLUGIN[typescript-vue-plugin]
Expand All @@ -148,7 +146,6 @@ flowchart LR
click VOLAR_PUG_SERVICE "https://github.com/johnsoncodehk/volar/tree/master/packages/pug-language-service"
click VOLAR_TS_SERVICE "https://github.com/johnsoncodehk/volar/tree/master/packages/typescript-language-service"
click VOLAR_TS_FASTER "https://github.com/johnsoncodehk/volar/tree/master/packages/typescript-faster"
click VOLAR_PREVIEW "https://github.com/johnsoncodehk/volar/tree/master/packages/preview"
%% Extrnal Packages
HTML_SERVICE[vscode-html-languageservice]
Expand Down Expand Up @@ -209,9 +206,6 @@ flowchart LR
VIM_VUE --> VUE_CLIENTS
LAPCE_VUE --> VUE_CLIENTS
%% VSC_VUE --> VOLAR_PREVIEW
%% COC_VUE --> VOLAR_PREVIEW
VUE_CLIENTS -- Language Server Protocol --> VOLAR_VUE_SERVER
VSC --> VSC_TS
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -3,10 +3,9 @@
"scripts": {
"build": "tsc -b tsconfig.build.json",
"build-ci": "tsc -b tsconfig.build-ci.json",
"watch": "npm run build && (npm run watch:base & npm run watch:vue & npm run watch:vue-preview & npm run watch:typescript-vue-plugin)",
"watch": "npm run build && (npm run watch:base & npm run watch:vue & npm run watch:typescript-vue-plugin)",
"watch:base": "tsc -b tsconfig.build.json -w",
"watch:vue": "cd ./packages/vscode-vue && npm run watch",
"watch:vue-preview": "cd ./packages/vscode-vue-preview && npm run watch",
"watch:typescript-vue-plugin": "cd ./packages/vscode-typescript-vue-plugin && npm run watch",
"prerelease": "npm run build && npm run test",
"version:test": "lerna version --exact --force-publish --yes --sync-workspace-lock --no-push --no-git-tag-version",
Expand Down
21 changes: 0 additions & 21 deletions packages/preview/LICENSE

This file was deleted.

34 changes: 0 additions & 34 deletions packages/preview/bin/nuxi.js

This file was deleted.

53 changes: 0 additions & 53 deletions packages/preview/bin/nuxi/configExtraContent.ts

This file was deleted.

0 comments on commit 3783bb6

Please sign in to comment.