lincd-cli 0.2.30 → 0.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,5 +6,19 @@
|
|
|
6
6
|
"semi": true,
|
|
7
7
|
"singleQuote": true,
|
|
8
8
|
"trailingComma": "all",
|
|
9
|
-
"endOfLine": "auto"
|
|
9
|
+
"endOfLine": "auto",
|
|
10
|
+
"overrides": [
|
|
11
|
+
{
|
|
12
|
+
"files": "*.json",
|
|
13
|
+
"options": {
|
|
14
|
+
"printWidth": 200
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"files": "*.jsonld",
|
|
19
|
+
"options": {
|
|
20
|
+
"parser": "json"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
10
24
|
}
|
package/lib/cli-methods.js
CHANGED
|
@@ -157,7 +157,7 @@ var createApp = function (name, basePath) {
|
|
|
157
157
|
};
|
|
158
158
|
exports.createApp = createApp;
|
|
159
159
|
function logHelp() {
|
|
160
|
-
(0, utils_1.execp)('yarn lincd help');
|
|
160
|
+
(0, utils_1.execp)('yarn exec lincd help');
|
|
161
161
|
}
|
|
162
162
|
function log() {
|
|
163
163
|
var messages = [];
|
|
@@ -455,7 +455,7 @@ function buildAll(target, target2, target3) {
|
|
|
455
455
|
}
|
|
456
456
|
//unless told otherwise, build the package
|
|
457
457
|
if (!command) {
|
|
458
|
-
command = (0, utils_1.execPromise)('cd ' + pkg.path + ' && yarn lincd build' + (target ? ' ' + target : '') + (target2 ? ' ' + target2 : ''), false, false, {}, false);
|
|
458
|
+
command = (0, utils_1.execPromise)('cd ' + pkg.path + ' && yarn exec lincd build' + (target ? ' ' + target : '') + (target2 ? ' ' + target2 : ''), false, false, {}, false);
|
|
459
459
|
debugInfo(chalk_1["default"].cyan('Building ' + pkg.packageName));
|
|
460
460
|
}
|
|
461
461
|
return [2 /*return*/, command["catch"](function (_a) {
|
|
@@ -1690,8 +1690,8 @@ var executeCommandForPackage = function (packageName, command) {
|
|
|
1690
1690
|
return modDetails.packageName.indexOf(packageName) !== -1 || modDetails.packageName.indexOf(packageName) !== -1;
|
|
1691
1691
|
});
|
|
1692
1692
|
if (packageDetails) {
|
|
1693
|
-
log("Executing 'cd " + packageDetails.path + ' && yarn lincd' + (command ? ' ' + command : '') + "'");
|
|
1694
|
-
return (0, utils_1.execp)('cd ' + packageDetails.path + ' && yarn lincd' + (command ? ' ' + command : ''));
|
|
1693
|
+
log("Executing 'cd " + packageDetails.path + ' && yarn exec lincd' + (command ? ' ' + command : '') + "'");
|
|
1694
|
+
return (0, utils_1.execp)('cd ' + packageDetails.path + ' && yarn exec lincd' + (command ? ' ' + command : ''));
|
|
1695
1695
|
}
|
|
1696
1696
|
else {
|
|
1697
1697
|
warn("Could not find a pkg who's name (partially) matched " + chalk_1["default"].cyan(packageName));
|