@supacloud/admin 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23632,8 +23632,8 @@ ${r.stdout}`;
23632
23632
  if (!args.project_ref)
23633
23633
  throw new Error("'project_ref' required");
23634
23634
  const projectRef = assertSafeProjectRef(args.project_ref, "project_ref");
23635
- const r = await ssh.exec(`cat /etc/supabase/kong_tenants/${projectRef}.yml 2>/dev/null || echo 'Not found'`, 1e4);
23636
- text = `\uD83D\uDCC4 ${projectRef} gateway config:
23635
+ const r = await ssh.exec(`cat /etc/supabase/tenants/${projectRef}.env 2>/dev/null || echo 'Not found'`, 1e4);
23636
+ text = `\uD83D\uDCC4 ${projectRef} tenant config:
23637
23637
 
23638
23638
  ${r.stdout || r.stderr}`;
23639
23639
  break;
@@ -23643,7 +23643,7 @@ ${r.stdout || r.stderr}`;
23643
23643
  "echo '══════ Multi-tenant Diagnostic ══════'",
23644
23644
  "ps aux | grep -E 'postgrest|gotrue' | grep -v grep || echo 'No processes'",
23645
23645
  "systemctl list-units 'supacloud-pgrst@*' 'supacloud-gotrue@*' --no-pager 2>/dev/null || echo 'N/A'",
23646
- "ls -l /etc/supabase/kong_tenants/*.yml 2>/dev/null || echo 'No config'"
23646
+ "ls -l /etc/supabase/tenants/*.env 2>/dev/null || echo 'No config'"
23647
23647
  ];
23648
23648
  if (args.project_ref) {
23649
23649
  const projectRef = assertSafeProjectRef(args.project_ref, "project_ref");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/admin",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Platform administration CLI for SupaCloud operators",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",