Skip to content

Commit

Permalink
refactor: @volar/typescript-plugin-forward -> `typescript-vue-plugi…
Browse files Browse the repository at this point in the history
…n-forward`
  • Loading branch information
johnsoncodehk committed Jul 16, 2022
1 parent b52e6dc commit e705d50
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 24 deletions.
1 change: 1 addition & 0 deletions .vscode/launch.json
Expand Up @@ -44,6 +44,7 @@
"name": "Launch TypeScript Vue Plugin",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}/extensions/vscode-typescript-vue-plugin"
],
"outFiles": [
Expand Down
2 changes: 2 additions & 0 deletions extensions/vscode-typescript-vue-plugin/.vscodeignore
@@ -0,0 +1,2 @@
scripts
typescript-vue-plugin-forward
2 changes: 1 addition & 1 deletion extensions/vscode-typescript-vue-plugin/package.json
Expand Up @@ -17,7 +17,7 @@
"contributes": {
"typescriptServerPlugins": [
{
"name": "@volar/typescript-plugin-forward",
"name": "typescript-vue-plugin-forward",
"enableForWorkspaceTypeScriptVersions": true
}
]
Expand Down
@@ -1,7 +1,7 @@
require('esbuild').build({
entryPoints: ['./node_modules/typescript-vue-plugin/out/index.js'],
bundle: true,
outfile: './out/index.js',
outfile: './dist/index.js',
external: ['vscode'],
format: 'cjs',
platform: 'node',
Expand Down

This file was deleted.

This file was deleted.

@@ -0,0 +1,6 @@
try {
module.exports = require('../typescript-vue-plugin');
}
catch {
module.exports = require('../../dist');
}
@@ -0,0 +1,4 @@
{
"name": "typescript-vue-plugin-forward",
"version": "0.0.0"
}
71 changes: 54 additions & 17 deletions pnpm-lock.yaml

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

0 comments on commit e705d50

Please sign in to comment.