kasy-cli 1.31.3 → 1.31.4

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.
@@ -409,7 +409,12 @@ async function generateProject(targetDir, backend, options, hooks = {}) {
409
409
  // `kasy new` without needing `kasy deploy` first. Fast (<30s), billing-free.
410
410
  // Without this the project gets Firebase's default deny-all rules, causing
411
411
  // every Firestore read to throw permission-denied and the app to log the user out.
412
- if (firebaseProjectId) {
412
+ //
413
+ // FIREBASE BACKEND ONLY. Supabase/API projects do have a Firebase project, but
414
+ // ONLY for FCM push — there is no Firestore there, so deploying firestore:rules
415
+ // is incoherent (it targets a database that doesn't exist) and just hangs for
416
+ // minutes. The data layer for those backends is Supabase/the REST API.
417
+ if (backend === 'firebase' && firebaseProjectId) {
413
418
  onProgress('firestore-rules');
414
419
  const rulesResult = await deployFirestoreRules(targetDir, firebaseProjectId);
415
420
  steps.push({ name: 'firestore-rules', ok: rulesResult.ok, detail: rulesResult.ok ? null : rulesResult.error });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kasy-cli",
3
- "version": "1.31.3",
3
+ "version": "1.31.4",
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"