Reformat for lerna
This commit is contained in:
Родитель
2e5f256669
Коммит
8bf63af9e6
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -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%"
|
||||
},
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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%"
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче