clefbase 1.2.3 → 1.2.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.
@@ -8,11 +8,12 @@ const chalk_1 = __importDefault(require("chalk"));
8
8
  const init_1 = require("./commands/init");
9
9
  const deploy_1 = require("./commands/deploy");
10
10
  const info_1 = require("./commands/info");
11
+ const package_json_1 = require("../../package.json");
11
12
  const program = new commander_1.Command();
12
13
  program
13
14
  .name("clefbase")
14
15
  .description("Clefbase CLI — initialise projects, deploy sites, manage hosting")
15
- .version("1.2.0");
16
+ .version(package_json_1.version);
16
17
  // ─── init ─────────────────────────────────────────────────────────────────────
17
18
  program
18
19
  .command("init")
package/dist/cli.js CHANGED
@@ -14190,10 +14190,10 @@ var require_supports_color = __commonJS({
14190
14190
  return 3;
14191
14191
  }
14192
14192
  if ("TERM_PROGRAM" in env2) {
14193
- const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
14193
+ const version2 = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
14194
14194
  switch (env2.TERM_PROGRAM) {
14195
14195
  case "iTerm.app":
14196
- return version >= 3 ? 3 : 2;
14196
+ return version2 >= 3 ? 3 : 2;
14197
14197
  case "Apple_Terminal":
14198
14198
  return 2;
14199
14199
  }
@@ -30161,10 +30161,10 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
30161
30161
  return 3;
30162
30162
  }
30163
30163
  if ("TERM_PROGRAM" in env) {
30164
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
30164
+ const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
30165
30165
  switch (env.TERM_PROGRAM) {
30166
30166
  case "iTerm.app": {
30167
- return version >= 3 ? 3 : 2;
30167
+ return version2 >= 3 ? 3 : 2;
30168
30168
  }
30169
30169
  case "Apple_Terminal": {
30170
30170
  return 2;
@@ -34404,9 +34404,12 @@ async function runSitesList(cwd = process.cwd()) {
34404
34404
  }
34405
34405
  }
34406
34406
 
34407
+ // package.json
34408
+ var version = "1.2.4";
34409
+
34407
34410
  // src/cli/index.ts
34408
34411
  var program2 = new Command();
34409
- program2.name("clefbase").description("Clefbase CLI \u2014 initialise projects, deploy sites, manage hosting").version("1.2.0");
34412
+ program2.name("clefbase").description("Clefbase CLI \u2014 initialise projects, deploy sites, manage hosting").version(version);
34410
34413
  program2.command("init").description("Initialise a Clefbase project in the current directory").action(async () => {
34411
34414
  try {
34412
34415
  await runInit();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clefbase",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Firebase-style SDK and CLI for Clefbase — database, auth, storage, and hosting",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",