kasy-cli 1.21.1 → 1.21.2

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.
Files changed (2) hide show
  1. package/lib/utils/checks.js +10 -17
  2. package/package.json +1 -1
@@ -92,7 +92,16 @@ const PLATFORM_CHECKS = {
92
92
  linux: []
93
93
  };
94
94
 
95
- /** Firebase CLI + FlutterFire — required for push notifications (FCM) on all backends */
95
+ /**
96
+ * Firebase CLI + FlutterFire — required for push notifications (FCM) on EVERY
97
+ * backend (Firebase, Supabase, API), since FCM is the shared push layer.
98
+ *
99
+ * gcloud is deliberately NOT in this list. It's only needed to create a Firebase
100
+ * project FROM SCRATCH (an opt-in path), so checking it for every backend made
101
+ * the Supabase/API setup offer to install gcloud for no reason — and the user
102
+ * doesn't even need it there. The create-from-scratch flow verifies gcloud on
103
+ * its own (checkGcloudAuth in new.js), exactly when it's actually required.
104
+ */
96
105
  const FIREBASE_CHECKS = [
97
106
  {
98
107
  name: 'Firebase CLI',
@@ -113,22 +122,6 @@ const FIREBASE_CHECKS = [
113
122
  pubGlobalBin: 'flutterfire',
114
123
  tryInstallMessageKey: 'setup.flutterfire.installing',
115
124
  },
116
- {
117
- name: 'gcloud CLI (create-from-scratch)',
118
- command: 'gcloud --version',
119
- required: false,
120
- installGuide: () => getInstallGuide('gcloud'),
121
- confirmInstall: true,
122
- waitPromptKey: 'checks.waitPrompt.gcloud.install',
123
- },
124
- {
125
- name: 'gcloud auth (create-from-scratch)',
126
- command: 'gcloud auth print-access-token',
127
- required: false,
128
- showVersion: false,
129
- failHint: 'gcloud auth login',
130
- waitPromptKey: 'checks.waitPrompt.gcloud.auth',
131
- },
132
125
  ];
133
126
 
134
127
  const BACKEND_CHECKS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kasy-cli",
3
- "version": "1.21.1",
3
+ "version": "1.21.2",
4
4
  "description": "CLI for scaffolding production-ready Flutter SaaS apps with Firebase, Supabase, or API REST backends.",
5
5
  "bin": {
6
6
  "kasy": "./bin/kasy.js"