@appsignal/cli
Advanced tools
Comparing version 1.2.10 to 1.3.0
# AppSignal CLI changelog | ||
## 1.3.0 | ||
_Published on 2024-11-12._ | ||
### Deprecated | ||
- The CLI installer has been deprecated in favor of the web wizard installer. (minor [e833d6d](https://github.com/appsignal/appsignal-javascript/commit/e833d6d5197dad7d1d4397c719204ad60f97fe4f)) | ||
## 1.2.10 | ||
@@ -4,0 +12,0 @@ |
@@ -40,26 +40,16 @@ "use strict"; | ||
exports.install = void 0; | ||
var node_1 = require("../installers/node"); | ||
function install() { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var error_1; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
console.log("🚀 Alright! Let's install AppSignal to your project!"); | ||
_a.label = 1; | ||
case 1: | ||
_a.trys.push([1, 3, , 4]); | ||
return [4, (0, node_1.installNode)(process.cwd())]; | ||
case 2: | ||
_a.sent(); | ||
console.log("✅ Done!"); | ||
return [2]; | ||
case 3: | ||
error_1 = _a.sent(); | ||
if (error_1.isTtyError) { | ||
console.warn("Prompt couldn't be rendered in the current environment, exiting..."); | ||
} | ||
throw error_1; | ||
case 4: return [2]; | ||
try { | ||
console.log("CLI installer is deprecated. Please use the web wizard in this link: https://appsignal.com/redirect-to/organization?to=sites/new"); | ||
return [2]; | ||
} | ||
catch (error) { | ||
if (error instanceof Error) { | ||
console.warn("Prompt couldn't be rendered in the current environment, exiting..."); | ||
} | ||
throw error; | ||
} | ||
return [2]; | ||
}); | ||
@@ -66,0 +56,0 @@ }); |
{ | ||
"name": "@appsignal/cli", | ||
"version": "1.2.10", | ||
"version": "1.3.0", | ||
"main": "./dist/index", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
11
2
38949
28
349