diff --git a/packages/vscode-slonik-live-server/.vscodeignore b/packages/vscode-slonik-live-server/.vscodeignore new file mode 100644 index 00000000..e7e35611 --- /dev/null +++ b/packages/vscode-slonik-live-server/.vscodeignore @@ -0,0 +1,3 @@ +src/ +tsconfig*.json +.gitignore diff --git a/packages/vscode-slonik-live-server/package.json b/packages/vscode-slonik-live-server/package.json index ec27b3f0..8b40859e 100644 --- a/packages/vscode-slonik-live-server/package.json +++ b/packages/vscode-slonik-live-server/package.json @@ -12,7 +12,7 @@ "scripts": { "postinstall": "yarn build", "build": "rimraf dist && tsc -p tsconfig.build.json", - "vscode:prepublish": "npm run compile", + "vscode:prepublish": "npm install --no-save && npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./" }, diff --git a/packages/vscode-slonik-live-server/src/index.ts b/packages/vscode-slonik-live-server/src/index.ts index 767df6e0..296101ce 100644 --- a/packages/vscode-slonik-live-server/src/index.ts +++ b/packages/vscode-slonik-live-server/src/index.ts @@ -1,5 +1,3 @@ -import 'ts-slonik-live-server-plugin'; - import { DeepPartial } from 'ts-essentials'; import { PluginConfig } from 'ts-slonik-live-server-plugin/dist/lib/config'; import { ExtensionContext, extensions, window, workspace } from 'vscode';