Skip to content

Commit

Permalink
chore: remove outdated dependencies and use latest esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Mar 11, 2024
1 parent 5969851 commit db32c4c
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 140 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "vlocode-project",
"packageManager": "pnpm@8.12.1",
"description": "Vlocode project packages",
"version": "0.20.0",
"version": "0.21.6",
"license": "MIT",
"author": {
"name": "Peter van Gulik",
Expand Down Expand Up @@ -92,7 +92,8 @@
"chalk": "^4.1.2",
"js-yaml": "^4.1.0",
"typescript": "5.1.6",
"xml2js": "^0.5.0"
"xml2js": "^0.5.0",
"esbuild": "^0.20.1"
},
"lint-staged": {
"*.ts": "eslint --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@vlocode/vlocity-deploy": "workspace:*",
"chalk": "^4.1.1",
"commander": "^9.2.0",
"esbuild-loader": "^4.0.2",
"esbuild-loader": "^4.0.3",
"glob": "^7.1.7",
"jest": "^29.7.0",
"log-symbols": "^4.0.0",
Expand Down
59 changes: 20 additions & 39 deletions packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
"onCommand:vlocode.omniScript.deployLwc",
"onCommand:vlocode.omniScript.activate",
"onCommand:vlocode.openMetaXml",
"onCommand:vlocode.openSourceFile"
"onCommand:vlocode.openSourceFile",
"onCommand:vlocode.apex.toggleCoverage"
],
"main": "./out/vlocode",
"contributes": {
Expand Down Expand Up @@ -408,16 +409,21 @@
},
{
"command": "vlocode.openMetaXml",
"title": "Open -meta.xml",
"title": "Salesforce: Open -meta.xml",
"icon": {
"light": "resources/light/meta-xml.svg",
"dark": "resources/dark/meta-xml.svg"
}
},
{
"command": "vlocode.openSourceFile",
"title": "Open Source",
"title": "Salesforce: Open Source",
"icon": "$(code)"
},
{
"command": "vlocode.apex.toggleCoverage",
"title": "APEX: Highlight Unit Test Coverage",
"icon": "$(test-view-icon)"
}
],
"menus": {
Expand Down Expand Up @@ -687,36 +693,9 @@
"when": "resourceScheme == file && resourcePath =~ /.+\\\\OmniScript\\\\.+\\\\.+\\.json$/"
},
{
"command": "vlocode.openMetaXml",
"when": "false"
},
{
"command": "vlocode.openMetaXml",
"when": "resourceScheme == file && resourcePath =~ /\\.cls$/ && false"
},
{
"command": "vlocode.openMetaXml",
"when": "false"
},
{
"command": "vlocode.openMetaXml",
"when": "resourceScheme == file && resourcePath =~ /\\.trigger$/ && false"
},
{
"command": "vlocode.openSourceFile",
"when": "false"
},
{
"command": "vlocode.openSourceFile",
"when": "resourceScheme == file && resourcePath =~ /\\.cls-meta\\.xml$/ && false"
},
{
"command": "vlocode.openSourceFile",
"when": "false"
},
{
"command": "vlocode.openSourceFile",
"when": "resourceScheme == file && resourcePath =~ /\\.trigger-meta\\.xml$/ && false"
"command": "vlocode.apex.toggleCoverage",
"group": "v_apex",
"when": "resourceExtname == .cls"
}
],
"explorer/context": [
Expand Down Expand Up @@ -951,6 +930,11 @@
"command": "vlocode.omniScript.activate",
"group": "v_vlocity_omniscript",
"when": "resourceScheme == file && resourcePath =~ /.+\\\\OmniScript\\\\.+\\\\.+\\.json$/"
},
{
"command": "vlocode.apex.toggleCoverage",
"group": "v_apex",
"when": "resourceExtname == .cls"
}
],
"view/item/context": [
Expand Down Expand Up @@ -1055,11 +1039,11 @@
"editor/title/run": [
{
"command": "vlocode.openMetaXml",
"when": "resourceScheme == file && resourcePath =~ /\\.cls$/"
"when": "resourceScheme == file && resourceExtname =~ /\\.cls$/"
},
{
"command": "vlocode.openMetaXml",
"when": "resourceScheme == file && resourcePath =~ /\\.trigger$/"
"when": "resourceScheme == file && resourceExtname =~ /\\.trigger$/"
},
{
"command": "vlocode.openSourceFile",
Expand Down Expand Up @@ -1541,7 +1525,6 @@
"@types/jsforce": "^1.9.38",
"@types/luxon": "^3.3.0",
"@types/node": "^20.4.2",
"@types/terser-webpack-plugin": "^5.2.0",
"@types/vscode": "^1.70.0",
"@types/webpack": "^5.28.1",
"@types/webpack-env": "^1.16.2",
Expand All @@ -1556,7 +1539,7 @@
"@vscode/vsce": "^2.22.0",
"chalk": "^4.1.1",
"copy-webpack-plugin": "^9.1.0",
"esbuild-loader": "^4.0.2",
"esbuild-loader": "^4.0.3",
"escape-string-regexp": "^4.0.0",
"fs-extra": "^11.0",
"globby": "^11.0.4",
Expand All @@ -1569,8 +1552,6 @@
"reflect-metadata": "^0.1.13",
"shx": "^0.3.4",
"source-map-support": "^0.5.21",
"terser": "^5.10.0",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.0",
"ts-node": "^10.4.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/vscode-extension/webpack/webpack.dev.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import * as webpack from 'webpack';
import TerserPlugin from 'terser-webpack-plugin';

import { default as common } from './webpack.common';

const development : webpack.Configuration = {
Expand Down
Loading

0 comments on commit db32c4c

Please sign in to comment.