Read Supabase's wrapped lists, create free projects directly, open Supabase in a new tab, keep installs clean
- list_organizations and list_projects reply {organizations: [...]} and {projects: [...]}: read both
- A $0 project is created without a cost confirmation, as Supabase's tool asks
- Connect Supabase opens Supabase in its own tab; broke's tab updates when the sign-in finishes
- Installs use npm ci, and npm run update puts back an npm-rewritten package-lock.json
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0e1a05801c
commit
5893af22c1
5 files changed
+47
-11
No files matched your search
+2
-1
@@ -15,7 +15,8 @@ if (Number(process.versions.node.split(".")[0]) < 20) {
|
||||
|
||||
const win = process.platform === "win32";
|
||||
const npm = (...args) => spawnSync("npm", args, { stdio: "inherit", shell: win }).status === 0;
|
||||
if (!existsSync("node_modules") && !npm("install")) process.exit(1);
|
||||
// npm ci installs exactly what the repo pins and leaves package-lock.json as it is (so `npm run update` stays clean).
|
||||
if (!existsSync("node_modules") && !npm("ci") && !npm("install")) process.exit(1);
|
||||
|
||||
const env = {};
|
||||
for (const f of [".env", ".env.local"]) {
|
||||
|
||||
Reference in new issue
Block a user