office-addin-cli
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -6,3 +6,7 @@ #!/usr/bin/env node | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -32,3 +36,3 @@ if (k2 === undefined) k2 = k; | ||
commander.on("command:*", function () { | ||
office_addin_usage_data_1.logErrorMessage(`The command syntax is not valid.\n`); | ||
(0, office_addin_usage_data_1.logErrorMessage)(`The command syntax is not valid.\n`); | ||
process.exitCode = 1; | ||
@@ -35,0 +39,0 @@ commander.help(); |
@@ -5,3 +5,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -8,0 +12,0 @@ if (k2 === undefined) k2 = k; |
@@ -5,3 +5,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -8,0 +12,0 @@ if (k2 === undefined) k2 = k; |
@@ -26,3 +26,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const packageJson = yield read_package_json_fast_1.default(`${jsonPath}`); | ||
const packageJson = yield (0, read_package_json_fast_1.default)(`${jsonPath}`); | ||
return packageJson.scripts || {}; | ||
@@ -29,0 +29,0 @@ }); |
{ | ||
"name": "office-addin-cli", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "A command-line interface for Office Add-ins.", | ||
@@ -40,7 +40,7 @@ "main": "./lib/main.js", | ||
"office-addin-prettier-config": "^1.2.0", | ||
"office-addin-usage-data": "^1.5.1", | ||
"office-addin-usage-data": "^1.6.0", | ||
"prettier": "^2.1.2", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.1.0", | ||
"typescript": "^4.3.5" | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
@@ -55,3 +55,3 @@ "repository": { | ||
"prettier": "office-addin-prettier-config", | ||
"gitHead": "29096f4493ae4e71277a8b4aa079ddadf0ddccee" | ||
"gitHead": "a4308f6c2b476ccd02ef17cbe151fedfc258a629" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14388
216