Skip to content

Commit

Permalink
fix: vsce builds routine (#212)
Browse files Browse the repository at this point in the history
- re-apply installConfig
- create copy of production deps to include to package bundle &
  not break vsce runtime deps
  • Loading branch information
hoonoh committed Jul 13, 2022
1 parent 775f537 commit f2060e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/vscode-slonik-live-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@
"license": "MIT",
"displayName": "Slonik Live Server",
"description": "Tests Slonik SQL template tag queries, suggests table & column names and checks query costs against live PostgreSQL database",
"private": true,
"installConfig": {
"hoistingLimits": "dependencies",
"selfReferences": false
},
"scripts": {
"release": "yarn semantic-release",
"build": "yarn dlx rimraf dist && yarn tsc -p tsconfig.build.json",
"vscode:prepublish": "yarn build"
"vscode:prepublish": "yarn build && yarn workspaces focus --production && cp -R node_modules node_modules_tmp && yarn && yarn dlx rimraf node_modules && mv node_modules_tmp node_modules"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f2060e1

Please sign in to comment.