@uetuluk/create-cli 0.0.3 → 0.0.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/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -281,7 +281,7 @@ cli.command("deploy <name>", "push schema + migrations to your instance").option
281
281
  const r = await api(inst.url, "/api/v1/migrations", {
282
282
  method: "POST",
283
283
  token: inst.adminToken,
284
- body: JSON.stringify({ migrations: [], settings, lastVersion: null })
284
+ body: JSON.stringify({ settings, generate: true })
285
285
  });
286
286
  console.log(colors.green(`deployed to ${inst.url}`));
287
287
  if (r.applied?.length) console.log(` applied: ${r.applied.join(", ")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uetuluk/create-cli",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "CLI for the create.ritsdev.top platform — register, provision, and deploy teenybase instances.",
5
5
  "type": "module",
6
6
  "bin": {