From 79a6b0c254282e6c61ff759846d7fe27560bb5fd Mon Sep 17 00:00:00 2001 From: Nick Chen Date: Tue, 6 Feb 2018 16:43:02 -0800 Subject: [PATCH 1/9] Update LWC to 0.16.3 (#293) --- packages/salesforcedx-vscode-lwc/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/salesforcedx-vscode-lwc/package.json b/packages/salesforcedx-vscode-lwc/package.json index 38b7cd0..b1e7e20 100644 --- a/packages/salesforcedx-vscode-lwc/package.json +++ b/packages/salesforcedx-vscode-lwc/package.json @@ -23,7 +23,7 @@ "categories": ["Languages"], "dependencies": { "@salesforce/salesforcedx-utils-vscode": "41.18.0", - "lwc-language-server": "0.16.2", + "lwc-language-server": "0.16.3", "vscode-languageclient": "3.5.0", "eslint": "4.16.0", "eslint-plugin-lwc": "0.3.2", From 28ffb3a9c9e16ff0c3001f57116547a7a9a53e22 Mon Sep 17 00:00:00 2001 From: lcampos Date: Wed, 7 Feb 2018 10:11:29 -0800 Subject: [PATCH 2/9] Update CHANGELOG.md for v42.2.0 (#294) * Update CHANGELOG.md for v42.2.0 * Edit text; remove ISV debugging entry * Fixed "Apex" capitalization and added a comma * Removed ISV debugging command (the feature is hidden by default, and most of it isn't ready yet) * Edited Find All References entry for similarity with previous Go To Definition entries --- packages/salesforcedx-vscode/CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/salesforcedx-vscode/CHANGELOG.md b/packages/salesforcedx-vscode/CHANGELOG.md index b1aae67..36421af 100644 --- a/packages/salesforcedx-vscode/CHANGELOG.md +++ b/packages/salesforcedx-vscode/CHANGELOG.md @@ -1,3 +1,13 @@ +## 42.2.0 - February 5, 2018 +### Added +#### salesforcedx-vscode-core + +* Code action to run Apex tests; run a single method or all test methods in a test class ([PR #291](https://github.com/forcedotcom/salesforcedx-vscode/pull/291)) + +#### salesforcedx-vscode-apex + +* Find All References feature for Apex fields and properties; includes usage in expressions, declarations, and references in Apex code ([PR #292](https://github.com/forcedotcom/salesforcedx-vscode/pull/292)) + ## 41.18.0 - January 22, 2018 ### Fixed #### salesforcedx-vscode From 7c6e8c82db0ec7129b6ec4da8075e063d736ed46 Mon Sep 17 00:00:00 2001 From: Ruth Sears-Blazej Date: Wed, 7 Feb 2018 15:25:54 -0800 Subject: [PATCH 3/9] Ruth/docs for v42.2.0 (#297) * Add docs for running Apex tests @W-4654445@ * Add docs for Find All References @W-4681566@ --- packages/salesforcedx-vscode-apex/README.md | 7 +++++++ packages/salesforcedx-vscode-core/README.md | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/packages/salesforcedx-vscode-apex/README.md b/packages/salesforcedx-vscode-apex/README.md index 44ebc04..7bc2176 100644 --- a/packages/salesforcedx-vscode-apex/README.md +++ b/packages/salesforcedx-vscode-apex/README.md @@ -42,6 +42,13 @@ To view a definition, right-click the item and select **Peek Definition**, or pr To jump to the location of a definition, right-click the item and select **Go to Definition**, or press F12. ![Previewing, viewing, and jumping to a definition](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-apex/images/apex_go_to_definition.gif) +## Find All References to Types +You can find all references to: +* Apex class variables +* Apex properties + +To find references to an item, right-click the item and select **Find All References**, or press Shift+F12. + ## Check Syntax Errors in Your Code If you leave out a `;`, `}`, or `)`, the syntax error is marked with a red squiggly line in the editor. diff --git a/packages/salesforcedx-vscode-core/README.md b/packages/salesforcedx-vscode-core/README.md index 6393c8d..ce00495 100644 --- a/packages/salesforcedx-vscode-core/README.md +++ b/packages/salesforcedx-vscode-core/README.md @@ -59,6 +59,10 @@ A badge in the footer shows your current default scratch org. It uses the org’ To check your running tasks, expand the Running Tasks view in the Explorer. ![Running Tasks view, showing that Apex tests are running](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-core/images/running_tasks.png) +## Run Apex Tests +To run Apex tests, in your `.cls` file, click the name of an Apex test class or method. Next, click the code actions lightbulb that appears by the class or method signature, and then select **SFDX: Invoke Apex Test Method** or **SFDX: Invoke All Apex Tests in Class**. +![GIF that shows running Apex tests for a method and then a class](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-core/images/apex_test_run.gif) + ## Edit Your Workspace Settings To edit your workspace settings, select **Code** > **Preferences** > **Settings** (macOS) or **File** > **Preferences** > **Settings** (Windows and Linux). From 0d0f37e70c1ea1f268a66e3d5190f14f03acca52 Mon Sep 17 00:00:00 2001 From: Ruth Sears-Blazej Date: Thu, 8 Feb 2018 08:17:49 -0800 Subject: [PATCH 4/9] Fix release date for 42.2.0 --- packages/salesforcedx-vscode/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/salesforcedx-vscode/CHANGELOG.md b/packages/salesforcedx-vscode/CHANGELOG.md index 36421af..fd0e1f8 100644 --- a/packages/salesforcedx-vscode/CHANGELOG.md +++ b/packages/salesforcedx-vscode/CHANGELOG.md @@ -1,4 +1,4 @@ -## 42.2.0 - February 5, 2018 +## 42.2.0 - February 10, 2018 ### Added #### salesforcedx-vscode-core From edadf14a90167df1be832dd37d9ddcf979172edc Mon Sep 17 00:00:00 2001 From: Nick Chen Date: Thu, 8 Feb 2018 09:37:34 -0800 Subject: [PATCH 5/9] Explain that this extension is under closed pilot (#298) * Explain that this extension is under closed pilot * Add the preview: true to LWC --- packages/salesforcedx-vscode-lwc/README.md | 4 ++++ packages/salesforcedx-vscode-lwc/package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/salesforcedx-vscode-lwc/README.md b/packages/salesforcedx-vscode-lwc/README.md index 7e6b46f..1fbeec6 100644 --- a/packages/salesforcedx-vscode-lwc/README.md +++ b/packages/salesforcedx-vscode-lwc/README.md @@ -1 +1,5 @@ # salesforcedx-vscode-lwc + +salesforce-vscode-lwc is part of a private pilot for testing new features. We are not accepting pilot enrollments at this time. This extension will not work unless you are part of the pilot. + +We provide salesforce-vscode-lwc to selected customers through a pilot program that requires agreement to specific terms and conditions. salesforce-vscode-lwc is subject to change and isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. diff --git a/packages/salesforcedx-vscode-lwc/package.json b/packages/salesforcedx-vscode-lwc/package.json index b1e7e20..5295c1a 100644 --- a/packages/salesforcedx-vscode-lwc/package.json +++ b/packages/salesforcedx-vscode-lwc/package.json @@ -16,6 +16,7 @@ }, "version": "41.18.0", "publisher": "salesforce", + "preview": true, "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" From e28de1f57e1e023c740913da100a63ac2e42f540 Mon Sep 17 00:00:00 2001 From: Nick Chen Date: Fri, 9 Feb 2018 09:07:23 -0800 Subject: [PATCH 6/9] Use LWC 0.16.4 (#299) --- packages/salesforcedx-vscode-lwc/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/salesforcedx-vscode-lwc/package.json b/packages/salesforcedx-vscode-lwc/package.json index 5295c1a..0a429b7 100644 --- a/packages/salesforcedx-vscode-lwc/package.json +++ b/packages/salesforcedx-vscode-lwc/package.json @@ -24,7 +24,7 @@ "categories": ["Languages"], "dependencies": { "@salesforce/salesforcedx-utils-vscode": "41.18.0", - "lwc-language-server": "0.16.3", + "lwc-language-server": "0.16.4", "vscode-languageclient": "3.5.0", "eslint": "4.16.0", "eslint-plugin-lwc": "0.3.2", From 7efdd12f3b9c747e696e7ccf80f7a901e753b8bc Mon Sep 17 00:00:00 2001 From: Luis Campos Date: Sat, 10 Feb 2018 12:23:57 -0800 Subject: [PATCH 7/9] v42.2.0 --- lerna.json | 2 +- .../salesforcedx-apex-debugger/package.json | 25 ++++---- .../salesforcedx-slds-linter/package.json | 13 ++-- .../package.json | 21 +++---- .../salesforcedx-utils-vscode/package.json | 23 +++---- .../package.json | 18 +++--- .../package.json | 20 +++--- .../package.json | 32 ++++++---- .../salesforcedx-vscode-apex/package.json | 33 ++++++---- .../salesforcedx-vscode-core/package.json | 47 ++++++-------- .../package.json | 23 +++---- packages/salesforcedx-vscode-lwc/package.json | 30 ++++----- .../package.json | 35 +++++++---- .../package.json | 62 ++++++++++++++----- packages/salesforcedx-vscode/package.json | 9 +-- packages/system-tests/package.json | 4 +- 16 files changed, 230 insertions(+), 167 deletions(-) diff --git a/lerna.json b/lerna.json index 5dea8d2..440a8e1 100644 --- a/lerna.json +++ b/lerna.json @@ -3,5 +3,5 @@ "packages": [ "packages/*" ], - "version": "41.18.0" + "version": "42.2.0" } diff --git a/packages/salesforcedx-apex-debugger/package.json b/packages/salesforcedx-apex-debugger/package.json index c8d3666..0fdcc15 100644 --- a/packages/salesforcedx-apex-debugger/package.json +++ b/packages/salesforcedx-apex-debugger/package.json @@ -2,15 +2,17 @@ "name": "@salesforce/salesforcedx-apex-debugger", "displayName": "Apex Debugger Adapter", "description": "Implements the VS Code Debug Protocol for the Apex Debugger", - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Debuggers"], + "categories": [ + "Debuggers" + ], "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "async-lock": "1.0.0", "faye": "1.1.2", "request-light": "0.2.1", @@ -40,16 +42,15 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", - "test:unit": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters", - "test:integration": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration --reporter mocha-multi-reporters" + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", + "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters", + "test:integration": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration --reporter mocha-multi-reporters" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-slds-linter/package.json b/packages/salesforcedx-slds-linter/package.json index d1606ca..92a1963 100644 --- a/packages/salesforcedx-slds-linter/package.json +++ b/packages/salesforcedx-slds-linter/package.json @@ -2,10 +2,12 @@ "name": "@salesforce/salesforcedx-slds-linter", "displayName": "SFDX SLDS Linting for VS Code", "description": "Provides linting for deprecated SLDS class names", - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", - "categories": ["Other"], + "categories": [ + "Other" + ], "engines": { "vscode": "^1.17.0" }, @@ -39,10 +41,13 @@ "test:unit": "node ./node_modules/vscode/bin/test" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] }, "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "vscode-languageclient": "3.3.0", "vscode-languageserver": "^3.3.0" } diff --git a/packages/salesforcedx-sobjects-faux-generator/package.json b/packages/salesforcedx-sobjects-faux-generator/package.json index babea3c..888a80f 100644 --- a/packages/salesforcedx-sobjects-faux-generator/package.json +++ b/packages/salesforcedx-sobjects-faux-generator/package.json @@ -1,16 +1,15 @@ { "name": "@salesforce/salesforcedx-sobjects-faux-generator", "displayName": "Salesforce SObject Faux Generator", - "description": - "Fetches sobjects and generates their faux apex class to be used for Apex Language Server", - "version": "41.18.0", + "description": "Fetches sobjects and generates their faux apex class to be used for Apex Language Server", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "request-light": "0.2.1", "rxjs": "^5.4.1", "shelljs": "0.7.8", @@ -36,14 +35,14 @@ "lint": "tslint --project .", "watch": "tsc -watch -p .", "clean": "shx rm -rf node_modules && shx rm -rf out", - "test": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit", - "test:integration": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration" + "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit", + "test:integration": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-utils-vscode/package.json b/packages/salesforcedx-utils-vscode/package.json index 78f5657..da10a27 100644 --- a/packages/salesforcedx-utils-vscode/package.json +++ b/packages/salesforcedx-utils-vscode/package.json @@ -1,12 +1,13 @@ { "name": "@salesforce/salesforcedx-utils-vscode", "displayName": "SFDX Utilities for VS Code", - "description": - "Provides utilies to interface the SFDX libraries with VS Code", - "version": "41.18.0", + "description": "Provides utilies to interface the SFDX libraries with VS Code", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", - "categories": ["Other"], + "categories": [ + "Other" + ], "dependencies": { "rxjs": "^5.4.1", "tree-kill": "^1.1.0" @@ -37,15 +38,15 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", - "test:unit": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", + "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", "coverage": "./node_modules/.bin/nyc npm test" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-visualforce-language-server/package.json b/packages/salesforcedx-visualforce-language-server/package.json index 43f9f3e..c20f039 100644 --- a/packages/salesforcedx-visualforce-language-server/package.json +++ b/packages/salesforcedx-visualforce-language-server/package.json @@ -1,14 +1,14 @@ { "name": "@salesforce/salesforcedx-visualforce-language-server", "description": "Visualforce language server", - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, "dependencies": { - "@salesforce/salesforcedx-visualforce-markup-language-server": "41.18.0", + "@salesforce/salesforcedx-visualforce-markup-language-server": "42.2.0", "vscode-css-languageservice": "2.1.9", "vscode-languageserver": "3.4.2", "vscode-languageserver-protocol": "3.4.2", @@ -33,14 +33,14 @@ "compile": "tsc -p ./ && shx cp -R test/fixtures out/test", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-visualforce-markup-language-server/package.json b/packages/salesforcedx-visualforce-markup-language-server/package.json index d934e67..8b6f6c9 100644 --- a/packages/salesforcedx-visualforce-markup-language-server/package.json +++ b/packages/salesforcedx-visualforce-markup-language-server/package.json @@ -1,13 +1,15 @@ { "name": "@salesforce/salesforcedx-visualforce-markup-language-server", "description": "Language service for Visualforce Markup", - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "activationEvents": ["onView:never"], + "activationEvents": [ + "onView:never" + ], "main": "./out/src/htmlLanguageService.js", "typings": "./out/src/htmlLanguageService", "devDependencies": { @@ -34,14 +36,14 @@ "compile": "tsc -p ./ && shx cp src/beautify/beautify-* out/src/beautify", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": - "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-vscode-apex-debugger/package.json b/packages/salesforcedx-vscode-apex-debugger/package.json index 619d6de..f7fabe8 100644 --- a/packages/salesforcedx-vscode-apex-debugger/package.json +++ b/packages/salesforcedx-vscode-apex-debugger/package.json @@ -14,15 +14,17 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Debuggers"], + "categories": [ + "Debuggers" + ], "dependencies": { - "@salesforce/salesforcedx-apex-debugger": "41.18.0", + "@salesforce/salesforcedx-apex-debugger": "42.2.0", "vscode-debugprotocol": "1.24.0" }, "devDependencies": { @@ -47,13 +49,15 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": ["onDebug", "workspaceContains:sfdx-project.json"], + "activationEvents": [ + "onDebug", + "workspaceContains:sfdx-project.json" + ], "main": "./out/src", "contributes": { "breakpoints": [ @@ -78,10 +82,11 @@ { "type": "apex", "label": "Apex Debugger", - "program": - "./node_modules/@salesforce/salesforcedx-apex-debugger/out/src/adapter/apexDebug.js", + "program": "./node_modules/@salesforce/salesforcedx-apex-debugger/out/src/adapter/apexDebug.js", "runtime": "node", - "languages": ["apex"], + "languages": [ + "apex" + ], "configurationSnippets": [ { "label": "%launch_snippet_label_text%", @@ -100,7 +105,9 @@ "configurationAttributes": { "launch": { "properties": { - "required": ["sfdxProject"], + "required": [ + "sfdxProject" + ], "userIdFilter": { "type": "array", "description": "%user_id_filter_text%", @@ -147,7 +154,10 @@ "default": "${workspaceRoot}" }, "trace": { - "type": ["boolean", "string"], + "type": [ + "boolean", + "string" + ], "description": "%trace_text%", "default": false } diff --git a/packages/salesforcedx-vscode-apex/package.json b/packages/salesforcedx-vscode-apex/package.json index 0255e21..1ab16e9 100644 --- a/packages/salesforcedx-vscode-apex/package.json +++ b/packages/salesforcedx-vscode-apex/package.json @@ -1,8 +1,7 @@ { "name": "salesforcedx-vscode-apex", "displayName": "Apex Code Editor for Visual Studio Code", - "description": - "Provides code-editing features for the Apex programming language", + "description": "Provides code-editing features for the Apex programming language", "qna": "https://github.com/forcedotcom/salesforcedx-vscode/issues", "bugs": { "url": "https://github.com/forcedotcom/salesforcedx-vscode/issues" @@ -15,13 +14,15 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Languages"], + "categories": [ + "Languages" + ], "devDependencies": { "@types/chai": "^4.0.0", "@types/mocha": "2.2.38", @@ -43,13 +44,14 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && cd out && node ../../../scripts/clean-all-but-jar.js && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && cd out && node ../../../scripts/clean-all-but-jar.js && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": ["workspaceContains:sfdx-project.json"], + "activationEvents": [ + "workspaceContains:sfdx-project.json" + ], "main": "./out/src", "contributes": { "configuration": { @@ -57,7 +59,10 @@ "title": "%configuration_title%", "properties": { "salesforcedx-vscode-apex.java.home": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "default": null, "description": "%java_home_description%" } @@ -66,8 +71,14 @@ "languages": [ { "id": "apex", - "aliases": ["Apex", "apex"], - "extensions": [".cls", ".trigger"], + "aliases": [ + "Apex", + "apex" + ], + "extensions": [ + ".cls", + ".trigger" + ], "configuration": "./syntaxes/apex.configuration.json" } ], @@ -80,7 +91,7 @@ ] }, "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "expand-home-dir": "0.0.3", "find-java-home": "0.2.0", "path-exists": "3.0.0", diff --git a/packages/salesforcedx-vscode-core/package.json b/packages/salesforcedx-vscode-core/package.json index 876e868..6b9d71c 100644 --- a/packages/salesforcedx-vscode-core/package.json +++ b/packages/salesforcedx-vscode-core/package.json @@ -14,16 +14,18 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Other"], + "categories": [ + "Other" + ], "dependencies": { - "@salesforce/salesforcedx-sobjects-faux-generator": "41.18.0", - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-sobjects-faux-generator": "42.2.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "glob": "^7.1.2", "rxjs": "^5.4.1" }, @@ -51,13 +53,10 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": - "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", - "test:unit": - "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" + "test": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", + "test:unit": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" }, "activationEvents": [ "workspaceContains:sfdx-project.json", @@ -84,43 +83,35 @@ "explorer/context": [ { "command": "sfdx.force.apex.class.create", - "when": - "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.visualforce.component.create", - "when": - "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.visualforce.page.create", - "when": - "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.lightning.app.create", - "when": - "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.component.create", - "when": - "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.event.create", - "when": - "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.interface.create", - "when": - "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.apex.trigger.create", - "when": - "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" } ], "commandPalette": [ @@ -408,7 +399,9 @@ "title": "%feature_previews_title%", "properties": { "salesforcedx-vscode-core.show-cli-success-msg": { - "type": ["boolean"], + "type": [ + "boolean" + ], "default": true, "description": "%show_cli_success_msg_description%" }, diff --git a/packages/salesforcedx-vscode-lightning/package.json b/packages/salesforcedx-vscode-lightning/package.json index 9f3eec1..18d6d40 100644 --- a/packages/salesforcedx-vscode-lightning/package.json +++ b/packages/salesforcedx-vscode-lightning/package.json @@ -14,18 +14,20 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Languages"], + "categories": [ + "Languages" + ], "dependencies": { - "@salesforce/salesforcedx-slds-linter": "41.18.0" + "@salesforce/salesforcedx-slds-linter": "42.2.0" }, "devDependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "@types/chai": "^4.0.0", "@types/mocha": "2.2.38", "@types/node": "^6.0.40", @@ -45,15 +47,14 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": - "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", - "test:unit": - "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" + "test": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", + "test:unit": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" }, - "activationEvents": ["workspaceContains:sfdx-project.json"], + "activationEvents": [ + "workspaceContains:sfdx-project.json" + ], "main": "./out/src", "contributes": { "languages": [ diff --git a/packages/salesforcedx-vscode-lwc/package.json b/packages/salesforcedx-vscode-lwc/package.json index 0a429b7..d87b7f6 100644 --- a/packages/salesforcedx-vscode-lwc/package.json +++ b/packages/salesforcedx-vscode-lwc/package.json @@ -14,21 +14,23 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "preview": true, "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Languages"], + "categories": [ + "Languages" + ], "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", - "lwc-language-server": "0.16.4", - "vscode-languageclient": "3.5.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "eslint": "4.16.0", "eslint-plugin-lwc": "0.3.2", - "rxjs": "^5.4.1" + "lwc-language-server": "0.16.4", + "rxjs": "^5.4.1", + "vscode-languageclient": "3.5.0" }, "devDependencies": { "@types/chai": "^4.0.0", @@ -54,24 +56,22 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "pretest": "node ../../scripts/download-vscode-for-system-tests", - "test": - "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions", - "test:unit": - "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions" + "test": "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions", + "test:unit": "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions" }, - "activationEvents": ["workspaceContains:sfdx-project.json"], + "activationEvents": [ + "workspaceContains:sfdx-project.json" + ], "main": "./out/src", "contributes": { "menus": { "explorer/context": [ { "command": "sfdx.force.lightning.lwc.create", - "when": - "explorerResourceIsFolder && resourceFilename == lightningcomponents && sfdx:project_opened" + "when": "explorerResourceIsFolder && resourceFilename == lightningcomponents && sfdx:project_opened" } ], "commandPalette": [ diff --git a/packages/salesforcedx-vscode-replay-debugger/package.json b/packages/salesforcedx-vscode-replay-debugger/package.json index c942bda..3dda21a 100644 --- a/packages/salesforcedx-vscode-replay-debugger/package.json +++ b/packages/salesforcedx-vscode-replay-debugger/package.json @@ -14,15 +14,17 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.19.0" }, - "categories": ["Debuggers"], + "categories": [ + "Debuggers" + ], "dependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "vscode-debugadapter": "1.25.0", "vscode-debugprotocol": "1.25.0", "vscode-uri": "1.0.1" @@ -53,13 +55,10 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", - "test:unit": - "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters" + "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", + "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters" }, "activationEvents": [ "onDebug", @@ -78,7 +77,9 @@ "label": "Apex Replay Debugger", "program": "./out/src/adapter/apexReplayDebug.js", "runtime": "node", - "languages": ["apex"], + "languages": [ + "apex" + ], "variables": { "AskForLogFileName": "extension.replay-debugger.getLogFileName" }, @@ -99,7 +100,9 @@ "configurationAttributes": { "launch": { "properties": { - "required": ["logFile"], + "required": [ + "logFile" + ], "logFile": { "type": "string", "description": "%logfile_text%", @@ -111,7 +114,10 @@ "default": true }, "trace": { - "type": ["boolean", "string"], + "type": [ + "boolean", + "string" + ], "description": "%trace_text%", "default": false } @@ -122,6 +128,9 @@ ] }, "nyc": { - "reporter": ["text-summary", "lcov"] + "reporter": [ + "text-summary", + "lcov" + ] } } diff --git a/packages/salesforcedx-vscode-visualforce/package.json b/packages/salesforcedx-vscode-visualforce/package.json index df712cc..345635f 100644 --- a/packages/salesforcedx-vscode-visualforce/package.json +++ b/packages/salesforcedx-vscode-visualforce/package.json @@ -14,23 +14,25 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { "vscode": "^1.17.0" }, - "categories": ["Languages"], + "categories": [ + "Languages" + ], "dependencies": { - "@salesforce/salesforcedx-visualforce-language-server": "41.18.0", - "@salesforce/salesforcedx-visualforce-markup-language-server": "41.18.0", + "@salesforce/salesforcedx-visualforce-language-server": "42.2.0", + "@salesforce/salesforcedx-visualforce-markup-language-server": "42.2.0", "typescript": "2.6.2", "vscode-languageclient": "3.4.2", "vscode-languageserver-protocol": "3.4.2", "vscode-languageserver-types": "3.4.0" }, "devDependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "@types/chai": "^4.0.0", "@types/mocha": "2.2.38", "@types/node": "^6.0.40", @@ -48,20 +50,27 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": - "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": ["workspaceContains:sfdx-project.json"], + "activationEvents": [ + "workspaceContains:sfdx-project.json" + ], "main": "./out/src/extension", "contributes": { "languages": [ { "id": "visualforce", - "aliases": ["Visualforce", "visualforce"], - "extensions": [".page", ".component"], + "aliases": [ + "Visualforce", + "visualforce" + ], + "extensions": [ + ".page", + ".component" + ], "configuration": "./syntaxes/visualforce.configuration.json" } ], @@ -93,13 +102,19 @@ "description": "%visualforce.format.wrapLineLength.desc%" }, "visualforce.format.unformatted": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "scope": "resource", "default": "", "description": "%visualforce.format.unformatted.desc%" }, "visualforce.format.contentUnformatted": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "scope": "resource", "default": "pre,code,textarea", "description": "%visualforce.format.contentUnformatted.desc%" @@ -117,7 +132,10 @@ "description": "%visualforce.format.preserveNewLines.desc%" }, "visualforce.format.maxPreserveNewLines": { - "type": ["number", "null"], + "type": [ + "number", + "null" + ], "scope": "resource", "default": null, "description": "%visualforce.format.maxPreserveNewLines.desc%" @@ -129,7 +147,10 @@ "description": "%visualforce.format.endWithNewline.desc%" }, "visualforce.format.extraLiners": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "scope": "resource", "default": "head, body, /html", "description": "%visualforce.format.extraLiners.desc%" @@ -138,7 +159,12 @@ "type": "string", "scope": "resource", "default": "auto", - "enum": ["auto", "force", "force-aligned", "force-expand-multiline"], + "enum": [ + "auto", + "force", + "force-aligned", + "force-expand-multiline" + ], "enumDescriptions": [ "%visualforce.format.wrapAttributes.auto%", "%visualforce.format.wrapAttributes.force%", @@ -174,7 +200,11 @@ "visualforce.trace.server": { "type": "string", "scope": "window", - "enum": ["off", "messages", "verbose"], + "enum": [ + "off", + "messages", + "verbose" + ], "default": "off", "description": "%visualforce.trace.server.desc%" } diff --git a/packages/salesforcedx-vscode/package.json b/packages/salesforcedx-vscode/package.json index 4230fc1..85f6a11 100644 --- a/packages/salesforcedx-vscode/package.json +++ b/packages/salesforcedx-vscode/package.json @@ -1,8 +1,7 @@ { "name": "salesforcedx-vscode", "displayName": "Salesforce Extensions for VS Code", - "description": - "Collection of extensions for the Salesforce DX development flow", + "description": "Collection of extensions for the Salesforce DX development flow", "qna": "https://github.com/forcedotcom/salesforcedx-vscode/issues", "bugs": { "url": "https://github.com/forcedotcom/salesforcedx-vscode/issues" @@ -15,7 +14,7 @@ "color": "#ECECEC", "theme": "light" }, - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "engines": { @@ -27,7 +26,9 @@ "vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256", "vscode:publish": "node ../../scripts/publish-vsix.js" }, - "categories": ["Extension Packs"], + "categories": [ + "Extension Packs" + ], "extensionDependencies": [ "salesforce.salesforcedx-vscode-apex", "salesforce.salesforcedx-vscode-apex-debugger", diff --git a/packages/system-tests/package.json b/packages/system-tests/package.json index 16069da..0b51292 100644 --- a/packages/system-tests/package.json +++ b/packages/system-tests/package.json @@ -1,7 +1,7 @@ { "name": "system-tests", "description": "System tests for Salesforce DX Extensions for VS Code", - "version": "41.18.0", + "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", "main": "./out/src", @@ -9,7 +9,7 @@ "vscode": "^1.17.0" }, "devDependencies": { - "@salesforce/salesforcedx-utils-vscode": "41.18.0", + "@salesforce/salesforcedx-utils-vscode": "42.2.0", "@types/chai": "^4.0.0", "@types/mkdirp": "0.5.2", "@types/mocha": "2.2.38", From 2e5f25666921fe65661279fdc598d460c14f9d09 Mon Sep 17 00:00:00 2001 From: Luis Campos Date: Sat, 10 Feb 2018 12:25:22 -0800 Subject: [PATCH 8/9] Updated SHA256 --- SHA256.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/SHA256.md b/SHA256.md index b0b72fa..44f571c 100644 --- a/SHA256.md +++ b/SHA256.md @@ -8,7 +8,7 @@ make sure that their SHA values match the values in the list below. following the instructions at https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions. For example, download, - https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/41.18.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage. + https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/42.2.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage. 2. From a terminal, run: @@ -16,12 +16,13 @@ shasum -a 256 3. Confirm that the SHA in your output matches the value in this list of SHAs. -9c4c36a4541c809491a7ef5f46d51d1f89861b40df2d07e518ede2adc7c9086d salesforcedx-vscode-apex-debugger-41.18.0.vsix -308b476ca1b0569ea711918246cb45c8bdc7222361c251f42dd86872a982853b salesforcedx-vscode-apex-41.18.0.vsix -7d87f8222fa755e6a1cc2d3d3727c4ac6aaee9522f990a64b45b42f6f3753f53 salesforcedx-vscode-core-41.18.0.vsix -25453702c26a1224ba595d834248fe17d2698b9e9e13ecf73cd0999651a7155c salesforcedx-vscode-lightning-41.18.0.vsix -d67902507e1c5add4e7f264bae889e437bd47901caf5a1ad8acc7f0df16e6aae salesforcedx-vscode-visualforce-41.18.0.vsix -ed2168564b1e37387a68cf8cfba99b343e612b828ab1ce9a0221e0cc07a91671 salesforcedx-vscode-41.18.0.vsix +0057f3ab7789289e2d1baaf518e35b0a8f4405c81199284e78e8929fc36cf74d salesforcedx-vscode-apex-debugger-42.2.0.vsix +ce4b7e286d84bd28548aacdc8567c6fa4e5de29e3ef30dfbf6f41e15246bbd89 salesforcedx-vscode-apex-42.2.0.vsix +f2b24c4a47baabda01057cd680ae78dbf36a60da9a699a1d68937b4e09aab321 salesforcedx-vscode-core-42.2.0.vsix +3ac35cb6c012dc4be43ab2600e01844fd223f4b076b0c2a8d64358f3b14a47de salesforcedx-vscode-lightning-42.2.0.vsix +cd28047bfb9cc7c80acfb94ec0d4c4968049b7e1d8187518d0ca5bccb27a40f8 salesforcedx-vscode-lwc-42.2.0.vsix +d74f38c7498eaef8127ca4aab4c77c27cc14e19b0277438633c8acdf04697665 salesforcedx-vscode-visualforce-42.2.0.vsix +12ff154776bf8cd16242d028da41babe23fb612e6f639cfb86543414e60118af salesforcedx-vscode-42.2.0.vsix 4. Change the filename extension for the file that you downloaded from .zip to From 8bf63af9e62d6bd722ac988ee3a782c102d2c8bc Mon Sep 17 00:00:00 2001 From: Luis Campos Date: Sat, 10 Feb 2018 12:25:22 -0800 Subject: [PATCH 9/9] Reformat for lerna --- .../salesforcedx-apex-debugger/package.json | 21 ++++---- .../salesforcedx-slds-linter/package.json | 9 +--- .../package.json | 17 +++--- .../salesforcedx-utils-vscode/package.json | 21 ++++---- .../package.json | 14 ++--- .../package.json | 18 +++---- .../package.json | 28 ++++------ .../salesforcedx-vscode-apex/package.json | 29 ++++------ .../salesforcedx-vscode-core/package.json | 41 ++++++++------ .../package.json | 17 +++--- packages/salesforcedx-vscode-lwc/package.json | 20 +++---- .../package.json | 31 ++++------- .../package.json | 54 +++++-------------- packages/salesforcedx-vscode/package.json | 7 ++- 14 files changed, 132 insertions(+), 195 deletions(-) diff --git a/packages/salesforcedx-apex-debugger/package.json b/packages/salesforcedx-apex-debugger/package.json index 0fdcc15..5828034 100644 --- a/packages/salesforcedx-apex-debugger/package.json +++ b/packages/salesforcedx-apex-debugger/package.json @@ -8,9 +8,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Debuggers" - ], + "categories": ["Debuggers"], "dependencies": { "@salesforce/salesforcedx-utils-vscode": "42.2.0", "async-lock": "1.0.0", @@ -42,15 +40,16 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", - "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters", - "test:integration": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration --reporter mocha-multi-reporters" + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", + "test:unit": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters", + "test:integration": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration --reporter mocha-multi-reporters" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-slds-linter/package.json b/packages/salesforcedx-slds-linter/package.json index 92a1963..d66169e 100644 --- a/packages/salesforcedx-slds-linter/package.json +++ b/packages/salesforcedx-slds-linter/package.json @@ -5,9 +5,7 @@ "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", - "categories": [ - "Other" - ], + "categories": ["Other"], "engines": { "vscode": "^1.17.0" }, @@ -41,10 +39,7 @@ "test:unit": "node ./node_modules/vscode/bin/test" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] }, "dependencies": { "@salesforce/salesforcedx-utils-vscode": "42.2.0", diff --git a/packages/salesforcedx-sobjects-faux-generator/package.json b/packages/salesforcedx-sobjects-faux-generator/package.json index 888a80f..2a090ae 100644 --- a/packages/salesforcedx-sobjects-faux-generator/package.json +++ b/packages/salesforcedx-sobjects-faux-generator/package.json @@ -1,7 +1,8 @@ { "name": "@salesforce/salesforcedx-sobjects-faux-generator", "displayName": "Salesforce SObject Faux Generator", - "description": "Fetches sobjects and generates their faux apex class to be used for Apex Language Server", + "description": + "Fetches sobjects and generates their faux apex class to be used for Apex Language Server", "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", @@ -35,14 +36,14 @@ "lint": "tslint --project .", "watch": "tsc -watch -p .", "clean": "shx rm -rf node_modules && shx rm -rf out", - "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit", - "test:integration": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration" + "test": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit", + "test:integration": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/integration" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-utils-vscode/package.json b/packages/salesforcedx-utils-vscode/package.json index da10a27..1447a05 100644 --- a/packages/salesforcedx-utils-vscode/package.json +++ b/packages/salesforcedx-utils-vscode/package.json @@ -1,13 +1,12 @@ { "name": "@salesforce/salesforcedx-utils-vscode", "displayName": "SFDX Utilities for VS Code", - "description": "Provides utilies to interface the SFDX libraries with VS Code", + "description": + "Provides utilies to interface the SFDX libraries with VS Code", "version": "42.2.0", "publisher": "salesforce", "license": "BSD-3-Clause", - "categories": [ - "Other" - ], + "categories": ["Other"], "dependencies": { "rxjs": "^5.4.1", "tree-kill": "^1.1.0" @@ -38,15 +37,15 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", - "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", + "test:unit": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000", "coverage": "./node_modules/.bin/nyc npm test" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-visualforce-language-server/package.json b/packages/salesforcedx-visualforce-language-server/package.json index c20f039..235d2cd 100644 --- a/packages/salesforcedx-visualforce-language-server/package.json +++ b/packages/salesforcedx-visualforce-language-server/package.json @@ -33,14 +33,14 @@ "compile": "tsc -p ./ && shx cp -R test/fixtures out/test", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-visualforce-markup-language-server/package.json b/packages/salesforcedx-visualforce-markup-language-server/package.json index 8b6f6c9..e463e11 100644 --- a/packages/salesforcedx-visualforce-markup-language-server/package.json +++ b/packages/salesforcedx-visualforce-markup-language-server/package.json @@ -7,9 +7,7 @@ "engines": { "vscode": "^1.17.0" }, - "activationEvents": [ - "onView:never" - ], + "activationEvents": ["onView:never"], "main": "./out/src/htmlLanguageService.js", "typings": "./out/src/htmlLanguageService", "devDependencies": { @@ -36,14 +34,14 @@ "compile": "tsc -p ./ && shx cp src/beautify/beautify-* out/src/beautify", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", - "test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", - "test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "test": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test", + "test:unit": + "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test" }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-vscode-apex-debugger/package.json b/packages/salesforcedx-vscode-apex-debugger/package.json index f7fabe8..b6b2f90 100644 --- a/packages/salesforcedx-vscode-apex-debugger/package.json +++ b/packages/salesforcedx-vscode-apex-debugger/package.json @@ -20,9 +20,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Debuggers" - ], + "categories": ["Debuggers"], "dependencies": { "@salesforce/salesforcedx-apex-debugger": "42.2.0", "vscode-debugprotocol": "1.24.0" @@ -49,15 +47,13 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": [ - "onDebug", - "workspaceContains:sfdx-project.json" - ], + "activationEvents": ["onDebug", "workspaceContains:sfdx-project.json"], "main": "./out/src", "contributes": { "breakpoints": [ @@ -82,11 +78,10 @@ { "type": "apex", "label": "Apex Debugger", - "program": "./node_modules/@salesforce/salesforcedx-apex-debugger/out/src/adapter/apexDebug.js", + "program": + "./node_modules/@salesforce/salesforcedx-apex-debugger/out/src/adapter/apexDebug.js", "runtime": "node", - "languages": [ - "apex" - ], + "languages": ["apex"], "configurationSnippets": [ { "label": "%launch_snippet_label_text%", @@ -105,9 +100,7 @@ "configurationAttributes": { "launch": { "properties": { - "required": [ - "sfdxProject" - ], + "required": ["sfdxProject"], "userIdFilter": { "type": "array", "description": "%user_id_filter_text%", @@ -154,10 +147,7 @@ "default": "${workspaceRoot}" }, "trace": { - "type": [ - "boolean", - "string" - ], + "type": ["boolean", "string"], "description": "%trace_text%", "default": false } diff --git a/packages/salesforcedx-vscode-apex/package.json b/packages/salesforcedx-vscode-apex/package.json index 1ab16e9..168067c 100644 --- a/packages/salesforcedx-vscode-apex/package.json +++ b/packages/salesforcedx-vscode-apex/package.json @@ -1,7 +1,8 @@ { "name": "salesforcedx-vscode-apex", "displayName": "Apex Code Editor for Visual Studio Code", - "description": "Provides code-editing features for the Apex programming language", + "description": + "Provides code-editing features for the Apex programming language", "qna": "https://github.com/forcedotcom/salesforcedx-vscode/issues", "bugs": { "url": "https://github.com/forcedotcom/salesforcedx-vscode/issues" @@ -20,9 +21,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Languages" - ], + "categories": ["Languages"], "devDependencies": { "@types/chai": "^4.0.0", "@types/mocha": "2.2.38", @@ -44,14 +43,13 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && cd out && node ../../../scripts/clean-all-but-jar.js && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && cd out && node ../../../scripts/clean-all-but-jar.js && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": [ - "workspaceContains:sfdx-project.json" - ], + "activationEvents": ["workspaceContains:sfdx-project.json"], "main": "./out/src", "contributes": { "configuration": { @@ -59,10 +57,7 @@ "title": "%configuration_title%", "properties": { "salesforcedx-vscode-apex.java.home": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": null, "description": "%java_home_description%" } @@ -71,14 +66,8 @@ "languages": [ { "id": "apex", - "aliases": [ - "Apex", - "apex" - ], - "extensions": [ - ".cls", - ".trigger" - ], + "aliases": ["Apex", "apex"], + "extensions": [".cls", ".trigger"], "configuration": "./syntaxes/apex.configuration.json" } ], diff --git a/packages/salesforcedx-vscode-core/package.json b/packages/salesforcedx-vscode-core/package.json index 6b9d71c..86cb1ee 100644 --- a/packages/salesforcedx-vscode-core/package.json +++ b/packages/salesforcedx-vscode-core/package.json @@ -20,9 +20,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Other" - ], + "categories": ["Other"], "dependencies": { "@salesforce/salesforcedx-sobjects-faux-generator": "42.2.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0", @@ -53,10 +51,13 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", - "test:unit": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" + "test": + "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", + "test:unit": + "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" }, "activationEvents": [ "workspaceContains:sfdx-project.json", @@ -83,35 +84,43 @@ "explorer/context": [ { "command": "sfdx.force.apex.class.create", - "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.visualforce.component.create", - "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.visualforce.page.create", - "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" }, { "command": "sfdx.force.lightning.app.create", - "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.component.create", - "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.event.create", - "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.lightning.interface.create", - "when": "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename == aura && sfdx:project_opened" }, { "command": "sfdx.force.apex.trigger.create", - "when": "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename != aura && resourceFilename != lightningcomponents && sfdx:project_opened" } ], "commandPalette": [ @@ -399,9 +408,7 @@ "title": "%feature_previews_title%", "properties": { "salesforcedx-vscode-core.show-cli-success-msg": { - "type": [ - "boolean" - ], + "type": ["boolean"], "default": true, "description": "%show_cli_success_msg_description%" }, diff --git a/packages/salesforcedx-vscode-lightning/package.json b/packages/salesforcedx-vscode-lightning/package.json index 18d6d40..3445763 100644 --- a/packages/salesforcedx-vscode-lightning/package.json +++ b/packages/salesforcedx-vscode-lightning/package.json @@ -20,9 +20,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Languages" - ], + "categories": ["Languages"], "dependencies": { "@salesforce/salesforcedx-slds-linter": "42.2.0" }, @@ -47,14 +45,15 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", - "test:unit": "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" + "test": + "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test", + "test:unit": + "cross-env CODE_TESTS_WORKSPACE='../system-tests/assets/sfdx-simple' node ./node_modules/vscode/bin/test" }, - "activationEvents": [ - "workspaceContains:sfdx-project.json" - ], + "activationEvents": ["workspaceContains:sfdx-project.json"], "main": "./out/src", "contributes": { "languages": [ diff --git a/packages/salesforcedx-vscode-lwc/package.json b/packages/salesforcedx-vscode-lwc/package.json index d87b7f6..a168293 100644 --- a/packages/salesforcedx-vscode-lwc/package.json +++ b/packages/salesforcedx-vscode-lwc/package.json @@ -21,9 +21,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Languages" - ], + "categories": ["Languages"], "dependencies": { "@salesforce/salesforcedx-utils-vscode": "42.2.0", "eslint": "4.16.0", @@ -56,22 +54,24 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "pretest": "node ../../scripts/download-vscode-for-system-tests", - "test": "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions", - "test:unit": "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions" + "test": + "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions", + "test:unit": + "node ../../scripts/install-vsix-dependencies dbaeumer.vscode-eslint && node ../../scripts/run-test-with-top-level-extensions" }, - "activationEvents": [ - "workspaceContains:sfdx-project.json" - ], + "activationEvents": ["workspaceContains:sfdx-project.json"], "main": "./out/src", "contributes": { "menus": { "explorer/context": [ { "command": "sfdx.force.lightning.lwc.create", - "when": "explorerResourceIsFolder && resourceFilename == lightningcomponents && sfdx:project_opened" + "when": + "explorerResourceIsFolder && resourceFilename == lightningcomponents && sfdx:project_opened" } ], "commandPalette": [ diff --git a/packages/salesforcedx-vscode-replay-debugger/package.json b/packages/salesforcedx-vscode-replay-debugger/package.json index 3dda21a..f42c8fb 100644 --- a/packages/salesforcedx-vscode-replay-debugger/package.json +++ b/packages/salesforcedx-vscode-replay-debugger/package.json @@ -20,9 +20,7 @@ "engines": { "vscode": "^1.19.0" }, - "categories": [ - "Debuggers" - ], + "categories": ["Debuggers"], "dependencies": { "@salesforce/salesforcedx-utils-vscode": "42.2.0", "vscode-debugadapter": "1.25.0", @@ -55,10 +53,13 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", - "test": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", - "test:unit": "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters" + "test": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters", + "test:unit": + "./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters" }, "activationEvents": [ "onDebug", @@ -77,9 +78,7 @@ "label": "Apex Replay Debugger", "program": "./out/src/adapter/apexReplayDebug.js", "runtime": "node", - "languages": [ - "apex" - ], + "languages": ["apex"], "variables": { "AskForLogFileName": "extension.replay-debugger.getLogFileName" }, @@ -100,9 +99,7 @@ "configurationAttributes": { "launch": { "properties": { - "required": [ - "logFile" - ], + "required": ["logFile"], "logFile": { "type": "string", "description": "%logfile_text%", @@ -114,10 +111,7 @@ "default": true }, "trace": { - "type": [ - "boolean", - "string" - ], + "type": ["boolean", "string"], "description": "%trace_text%", "default": false } @@ -128,9 +122,6 @@ ] }, "nyc": { - "reporter": [ - "text-summary", - "lcov" - ] + "reporter": ["text-summary", "lcov"] } } diff --git a/packages/salesforcedx-vscode-visualforce/package.json b/packages/salesforcedx-vscode-visualforce/package.json index 345635f..a310ef5 100644 --- a/packages/salesforcedx-vscode-visualforce/package.json +++ b/packages/salesforcedx-vscode-visualforce/package.json @@ -20,9 +20,7 @@ "engines": { "vscode": "^1.17.0" }, - "categories": [ - "Languages" - ], + "categories": ["Languages"], "dependencies": { "@salesforce/salesforcedx-visualforce-language-server": "42.2.0", "@salesforce/salesforcedx-visualforce-markup-language-server": "42.2.0", @@ -50,27 +48,20 @@ "compile": "tsc -p ./", "lint": "tslint --project .", "watch": "tsc -watch -p .", - "clean": "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", + "clean": + "shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output", "postinstall": "node ./node_modules/vscode/bin/install", "test": "node ./node_modules/vscode/bin/test", "test:unit": "node ./node_modules/vscode/bin/test" }, - "activationEvents": [ - "workspaceContains:sfdx-project.json" - ], + "activationEvents": ["workspaceContains:sfdx-project.json"], "main": "./out/src/extension", "contributes": { "languages": [ { "id": "visualforce", - "aliases": [ - "Visualforce", - "visualforce" - ], - "extensions": [ - ".page", - ".component" - ], + "aliases": ["Visualforce", "visualforce"], + "extensions": [".page", ".component"], "configuration": "./syntaxes/visualforce.configuration.json" } ], @@ -102,19 +93,13 @@ "description": "%visualforce.format.wrapLineLength.desc%" }, "visualforce.format.unformatted": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "scope": "resource", "default": "", "description": "%visualforce.format.unformatted.desc%" }, "visualforce.format.contentUnformatted": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "scope": "resource", "default": "pre,code,textarea", "description": "%visualforce.format.contentUnformatted.desc%" @@ -132,10 +117,7 @@ "description": "%visualforce.format.preserveNewLines.desc%" }, "visualforce.format.maxPreserveNewLines": { - "type": [ - "number", - "null" - ], + "type": ["number", "null"], "scope": "resource", "default": null, "description": "%visualforce.format.maxPreserveNewLines.desc%" @@ -147,10 +129,7 @@ "description": "%visualforce.format.endWithNewline.desc%" }, "visualforce.format.extraLiners": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "scope": "resource", "default": "head, body, /html", "description": "%visualforce.format.extraLiners.desc%" @@ -159,12 +138,7 @@ "type": "string", "scope": "resource", "default": "auto", - "enum": [ - "auto", - "force", - "force-aligned", - "force-expand-multiline" - ], + "enum": ["auto", "force", "force-aligned", "force-expand-multiline"], "enumDescriptions": [ "%visualforce.format.wrapAttributes.auto%", "%visualforce.format.wrapAttributes.force%", @@ -200,11 +174,7 @@ "visualforce.trace.server": { "type": "string", "scope": "window", - "enum": [ - "off", - "messages", - "verbose" - ], + "enum": ["off", "messages", "verbose"], "default": "off", "description": "%visualforce.trace.server.desc%" } diff --git a/packages/salesforcedx-vscode/package.json b/packages/salesforcedx-vscode/package.json index 85f6a11..52af140 100644 --- a/packages/salesforcedx-vscode/package.json +++ b/packages/salesforcedx-vscode/package.json @@ -1,7 +1,8 @@ { "name": "salesforcedx-vscode", "displayName": "Salesforce Extensions for VS Code", - "description": "Collection of extensions for the Salesforce DX development flow", + "description": + "Collection of extensions for the Salesforce DX development flow", "qna": "https://github.com/forcedotcom/salesforcedx-vscode/issues", "bugs": { "url": "https://github.com/forcedotcom/salesforcedx-vscode/issues" @@ -26,9 +27,7 @@ "vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256", "vscode:publish": "node ../../scripts/publish-vsix.js" }, - "categories": [ - "Extension Packs" - ], + "categories": ["Extension Packs"], "extensionDependencies": [ "salesforce.salesforcedx-vscode-apex", "salesforce.salesforcedx-vscode-apex-debugger",