@capgo/cli 1.0.2 → 1.1.0
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.
- package/.cz.toml +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/bin/index.ts +11 -1
- package/src/bin/set.ts +47 -21
- package/src/bin/types_supabase.ts +1774 -1211
- package/src/bin/upload.ts +1 -1
- package/src/bin/utils.ts +2 -2
package/src/bin/upload.ts
CHANGED
|
@@ -70,7 +70,7 @@ export const uploadVersion = async (appid: string, options: Options) => {
|
|
|
70
70
|
.rpc<number>('is_trial', { userid: userId })
|
|
71
71
|
.single()
|
|
72
72
|
if (isTrial && isTrial > 0 || isTrialsError) {
|
|
73
|
-
multibar.log(`WARNING !!\nTrial expires in ${isTrial} days, upgrade here: ${hostWeb}/
|
|
73
|
+
multibar.log(`WARNING !!\nTrial expires in ${isTrial} days, upgrade here: ${hostWeb}/dashboard/settings/plans\n`);
|
|
74
74
|
}
|
|
75
75
|
b1.increment();
|
|
76
76
|
|
package/src/bin/utils.ts
CHANGED
|
@@ -67,10 +67,10 @@ export const checkPlan = async (supabase: SupabaseClient, userId: string, warnin
|
|
|
67
67
|
validPlan = true
|
|
68
68
|
}
|
|
69
69
|
if (!validPlan) {
|
|
70
|
-
program.error(`You need to upgrade your plan to continue to use capgo.\n Upgrade here: ${hostWeb}/
|
|
70
|
+
program.error(`You need to upgrade your plan to continue to use capgo.\n Upgrade here: ${hostWeb}/dashboard/settings/plans\n`);
|
|
71
71
|
}
|
|
72
72
|
if (trialDays > 0 && warning) {
|
|
73
|
-
console.log(`WARNING !!\nTrial expires in ${trialDays} days, upgrade here: ${hostWeb}/
|
|
73
|
+
console.log(`WARNING !!\nTrial expires in ${trialDays} days, upgrade here: ${hostWeb}/dashboard/settings/plans\n`);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|