Skip to content

Commit

Permalink
Reformat for lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrantham-sf committed Nov 8, 2018
1 parent dbc6d43 commit d946862
Show file tree
Hide file tree
Showing 16 changed files with 186 additions and 249 deletions.
21 changes: 10 additions & 11 deletions packages/salesforcedx-apex-debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Debuggers"
],
"categories": ["Debuggers"],
"dependencies": {
"@salesforce/salesforcedx-utils-vscode": "44.6.0",
"async-lock": "1.0.0",
Expand Down Expand Up @@ -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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
24 changes: 12 additions & 12 deletions packages/salesforcedx-apex-replay-debugger/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"name": "@salesforce/salesforcedx-apex-replay-debugger",
"displayName": "Apex Replay Debug Adapter",
"description": "Implements the VS Code Debug Protocol for the Apex Replay Debugger",
"description":
"Implements the VS Code Debug Protocol for the Apex Replay Debugger",
"version": "44.6.0",
"publisher": "salesforce",
"preview": true,
"license": "BSD-3-Clause",
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Debuggers"
],
"categories": ["Debuggers"],
"dependencies": {
"@salesforce/salesforcedx-utils-vscode": "44.6.0",
"vscode-debugadapter": "1.28.0",
Expand Down Expand Up @@ -39,15 +38,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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
9 changes: 2 additions & 7 deletions packages/salesforcedx-slds-linter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"version": "44.6.0",
"publisher": "salesforce",
"license": "BSD-3-Clause",
"categories": [
"Other"
],
"categories": ["Other"],
"engines": {
"vscode": "^1.26.0"
},
Expand Down Expand Up @@ -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": "44.6.0",
Expand Down
17 changes: 9 additions & 8 deletions packages/salesforcedx-sobjects-faux-generator/package.json
Original file line number Diff line number Diff line change
@@ -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": "44.6.0",
"publisher": "salesforce",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -38,14 +39,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 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
"test":
"./node_modules/.bin/cross-env VSCODE_NLS_CONFIG={} ./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter-options configFile=../../config/mochaConfig.json"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
21 changes: 10 additions & 11 deletions packages/salesforcedx-utils-vscode/package.json
Original file line number Diff line number Diff line change
@@ -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": "44.6.0",
"publisher": "salesforce",
"license": "BSD-3-Clause",
"categories": [
"Other"
],
"categories": ["Other"],
"dependencies": {
"cross-spawn": "6.0.5",
"rxjs": "^5.4.1",
Expand Down Expand Up @@ -44,15 +43,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 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"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 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"test:unit":
"./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --timeout 20000 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"coverage": "./node_modules/.bin/nyc npm test"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
14 changes: 7 additions & 7 deletions packages/salesforcedx-visualforce-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json"
"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 --reporter-options configFile=../../config/mochaConfig.json",
"test:unit":
"./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"engines": {
"vscode": "^1.26.0"
},
"activationEvents": [
"onView:never"
],
"activationEvents": ["onView:never"],
"main": "./out/src/htmlLanguageService.js",
"typings": "./out/src/htmlLanguageService",
"devDependencies": {
Expand All @@ -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 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json",
"test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json"
"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 --reporter-options configFile=../../config/mochaConfig.json",
"test:unit":
"./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaConfig.json"
},
"nyc": {
"reporter": [
"text-summary",
"lcov"
]
"reporter": ["text-summary", "lcov"]
}
}
28 changes: 9 additions & 19 deletions packages/salesforcedx-vscode-apex-debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Debuggers"
],
"categories": ["Debuggers"],
"dependencies": {
"@salesforce/salesforcedx-apex-debugger": "44.6.0",
"vscode-debugprotocol": "1.28.0",
Expand Down Expand Up @@ -51,7 +49,8 @@
"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 ../../scripts/run-test-with-top-level-extensions",
"test:unit": "node ../../scripts/run-test-with-top-level-extensions"
Expand Down Expand Up @@ -84,11 +83,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%",
Expand All @@ -107,9 +105,7 @@
"configurationAttributes": {
"launch": {
"properties": {
"required": [
"sfdxProject"
],
"required": ["sfdxProject"],
"userIdFilter": {
"type": "array",
"description": "%user_id_filter_text%",
Expand Down Expand Up @@ -156,20 +152,14 @@
"default": "${workspaceRoot}"
},
"trace": {
"type": [
"boolean",
"string"
],
"type": ["boolean", "string"],
"description": "%trace_text%",
"default": false
},
"connectType": {
"type": "string",
"description": "%connect_type_text%",
"enum": [
"DEFAULT",
"ISV_DEBUGGER"
]
"enum": ["DEFAULT", "ISV_DEBUGGER"]
}
}
}
Expand Down
35 changes: 12 additions & 23 deletions packages/salesforcedx-vscode-apex-replay-debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Debuggers"
],
"categories": ["Debuggers"],
"dependencies": {
"@salesforce/salesforcedx-apex-replay-debugger": "44.6.0",
"async-lock": "1.0.0",
Expand Down Expand Up @@ -55,7 +53,8 @@
"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 ../../scripts/run-test-with-top-level-extensions",
"test:unit": "node ../../scripts/run-test-with-top-level-extensions"
Expand All @@ -75,13 +74,8 @@
"languages": [
{
"id": "apexlog",
"aliases": [
"ApexLog",
"DebugLog"
],
"extensions": [
".log"
],
"aliases": ["ApexLog", "DebugLog"],
"extensions": [".log"],
"firstLine": "^\\d{2}.*APEX_CODE,FINEST;.*VISUALFORCE,(FINER|FINEST);.*"
}
],
Expand Down Expand Up @@ -127,7 +121,8 @@
"explorer/context": [
{
"command": "sfdx.launch.replay.debugger.logfile",
"when": "sfdx:project_opened && resourceIsFile && resourceLangId == 'apexlog'"
"when":
"sfdx:project_opened && resourceIsFile && resourceLangId == 'apexlog'"
}
]
},
Expand Down Expand Up @@ -167,11 +162,10 @@
{
"type": "apex-replay",
"label": "Apex Replay Debugger",
"program": "./node_modules/@salesforce/salesforcedx-apex-replay-debugger/out/src/adapter/apexReplayDebug.js",
"program":
"./node_modules/@salesforce/salesforcedx-apex-replay-debugger/out/src/adapter/apexReplayDebug.js",
"runtime": "node",
"languages": [
"apex"
],
"languages": ["apex"],
"variables": {
"AskForLogFileName": "extension.replay-debugger.getLogFileName"
},
Expand All @@ -192,9 +186,7 @@
"configurationAttributes": {
"launch": {
"properties": {
"required": [
"logFile"
],
"required": ["logFile"],
"logFile": {
"type": "string",
"description": "%logfile_text%",
Expand All @@ -206,10 +198,7 @@
"default": true
},
"trace": {
"type": [
"boolean",
"string"
],
"type": ["boolean", "string"],
"description": "%trace_text%",
"default": false
}
Expand Down
Loading

0 comments on commit d946862

Please sign in to comment.