@convex-dev/cli
Advanced tools
Comparing version 0.0.50 to 0.0.51
@@ -5,10 +5,10 @@ { | ||
"@convex-dev/cli/bin/main.js": "021b6dbb88cbe0c24ef561550c1e2285d244af2d", | ||
"@convex-dev/cli/package.json": "6fce5fdac5111f69482a56c6b68f3e358b5af97d", | ||
"@convex-dev/cli/package.json": "829bcd789d979560f3dc6b52f262192a18c86aae", | ||
"@convex-dev/cli/src/auth.ts": "ea9690bee0c65cb9a96c488f3758249988452549", | ||
"@convex-dev/cli/src/config.ts": "a335f275c6cfd76d19dd55f6012e3b44a3c2537c", | ||
"@convex-dev/cli/src/dashboard.ts": "f1a4d9da9b2c52f8d330c82141b6fd42b6d4cbf0", | ||
"@convex-dev/cli/src/deactivate.ts": "bee8f85f0a82193cfddc6dfb27a2bfb1bd1f4cc1", | ||
"@convex-dev/cli/src/deactivate.ts": "5d071c79397bece87ed40e0c74446ae8abdc29c0", | ||
"@convex-dev/cli/src/docs.ts": "8308c3f2e68444398ec9d566e6f47e41cb2be716", | ||
"@convex-dev/cli/src/index.ts": "88da049e67f01b248ed27539d1c24f9f64c34c9f", | ||
"@convex-dev/cli/src/init.ts": "49f68313039c38ef16522a2177f30b0b96e0b661", | ||
"@convex-dev/cli/src/init.ts": "63425ae14d8dfeece70af12442cba0112420ef75", | ||
"@convex-dev/cli/src/list_instances.ts": "f86048649eb984b8fde7df050fc29cb9d1cce9b7", | ||
@@ -15,0 +15,0 @@ "@convex-dev/cli/src/push.ts": "46f10deced1b9f3acf5d598c571dee1bff6f2b9d", |
{ | ||
"name": "@convex-dev/cli", | ||
"description": "Command-line interface for Convex Cloud backend.", | ||
"version": "0.0.50", | ||
"version": "0.0.51", | ||
"author": "Convex, Inc. <team@convex.dev>", | ||
@@ -17,4 +17,4 @@ "homepage": "https://convex.dev", | ||
"devDependencies": { | ||
"@convex-dev/bundler": "0.0.50", | ||
"@convex-dev/common": "0.0.50", | ||
"@convex-dev/bundler": "0.0.51", | ||
"@convex-dev/common": "0.0.51", | ||
"@types/deep-equal": "1.0.1", | ||
@@ -21,0 +21,0 @@ "@types/node": "~16.11.12", |
@@ -33,7 +33,9 @@ import { Command } from "commander"; | ||
chalk.red( | ||
"Data on this instance will no longer be accessible after deactivation. Are you sure you want to deactivate this instance?" | ||
"Data on this instance will no longer be accessible after deactivation." | ||
) | ||
); | ||
if (!options.force) { | ||
await prompt("Press enter to continue or ctrl-C to abort.\n"); | ||
await prompt( | ||
"Are you sure you want to deactivate this instance?\nPress enter to continue or ctrl-C to abort.\n" | ||
); | ||
} | ||
@@ -40,0 +42,0 @@ const adminKey = (await mustReadEnv(options.deployment)).adminKey; |
@@ -219,3 +219,7 @@ import { Command } from "commander"; | ||
const redemptionsRemaining = res.data.redemptionsRemaining; | ||
if (!adminKey || !instanceOrigin || !redemptionsRemaining) { | ||
if ( | ||
adminKey === undefined || | ||
instanceOrigin === undefined || | ||
redemptionsRemaining === undefined | ||
) { | ||
console.error( | ||
@@ -222,0 +226,0 @@ chalk.red( |
Sorry, the diff of this file is too big to display
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1964422
44720