@geekmidas/cli 10.0.0-alpha.13 → 10.0.0-alpha.14

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.
package/dist/index.cjs CHANGED
@@ -10,7 +10,6 @@ const require_keystore = require("./keystore-DgGRj2Yy.cjs");
10
10
  const require_storage = require("./storage-C-30BD1e.cjs");
11
11
  const require_openapi = require("./openapi-Dcbme-Us.cjs");
12
12
  const require_emit = require("./emit-BdoPFjZf.cjs");
13
- const require_openapi_react_query = require("./openapi-react-query.cjs");
14
13
  const require_fullstack_secrets = require("./fullstack-secrets-DXsWO-5m.cjs");
15
14
  const require_sync = require("./sync-D7uTIIEi.cjs");
16
15
  let commander = require("commander");
@@ -44,7 +43,7 @@ let node_module = require("node:module");
44
43
  let prompts = require("prompts");
45
44
  prompts = require_rolldown_runtime.__toESM(prompts, 1);
46
45
  //#region package.json
47
- var version = "10.0.0-alpha.13";
46
+ var version = "10.0.0-alpha.14";
48
47
  //#endregion
49
48
  //#region src/auth/credentials.ts
50
49
  /**
@@ -8392,26 +8391,26 @@ function loadPackageJson() {
8392
8391
  * Run: pnpm --filter @geekmidas/cli sync-versions
8393
8392
  */
8394
8393
  const GEEKMIDAS_VERSIONS = {
8395
- "@geekmidas/audit": "~10.0.0-alpha.13",
8396
- "@geekmidas/auth": "~10.0.0-alpha.13",
8397
- "@geekmidas/cache": "~10.0.0-alpha.13",
8398
- "@geekmidas/client": "~10.0.0-alpha.13",
8399
- "@geekmidas/cloud": "~10.0.0-alpha.13",
8400
- "@geekmidas/constructs": "~10.0.0-alpha.13",
8401
- "@geekmidas/db": "~10.0.0-alpha.13",
8402
- "@geekmidas/emailkit": "~10.0.0-alpha.13",
8403
- "@geekmidas/envkit": "~10.0.0-alpha.13",
8404
- "@geekmidas/errors": "~10.0.0-alpha.13",
8405
- "@geekmidas/events": "~10.0.0-alpha.13",
8406
- "@geekmidas/logger": "~10.0.0-alpha.13",
8407
- "@geekmidas/manifest": "~10.0.0-alpha.13",
8408
- "@geekmidas/rate-limit": "~10.0.0-alpha.13",
8409
- "@geekmidas/schema": "~10.0.0-alpha.13",
8410
- "@geekmidas/services": "~10.0.0-alpha.13",
8411
- "@geekmidas/storage": "~10.0.0-alpha.13",
8412
- "@geekmidas/studio": "~10.0.0-alpha.13",
8413
- "@geekmidas/telescope": "~10.0.0-alpha.13",
8414
- "@geekmidas/testkit": "~10.0.0-alpha.13",
8394
+ "@geekmidas/audit": "~10.0.0-alpha.14",
8395
+ "@geekmidas/auth": "~10.0.0-alpha.14",
8396
+ "@geekmidas/cache": "~10.0.0-alpha.14",
8397
+ "@geekmidas/client": "~10.0.0-alpha.14",
8398
+ "@geekmidas/cloud": "~10.0.0-alpha.14",
8399
+ "@geekmidas/constructs": "~10.0.0-alpha.14",
8400
+ "@geekmidas/db": "~10.0.0-alpha.14",
8401
+ "@geekmidas/emailkit": "~10.0.0-alpha.14",
8402
+ "@geekmidas/envkit": "~10.0.0-alpha.14",
8403
+ "@geekmidas/errors": "~10.0.0-alpha.14",
8404
+ "@geekmidas/events": "~10.0.0-alpha.14",
8405
+ "@geekmidas/logger": "~10.0.0-alpha.14",
8406
+ "@geekmidas/manifest": "~10.0.0-alpha.14",
8407
+ "@geekmidas/rate-limit": "~10.0.0-alpha.14",
8408
+ "@geekmidas/schema": "~10.0.0-alpha.14",
8409
+ "@geekmidas/services": "~10.0.0-alpha.14",
8410
+ "@geekmidas/storage": "~10.0.0-alpha.14",
8411
+ "@geekmidas/studio": "~10.0.0-alpha.14",
8412
+ "@geekmidas/telescope": "~10.0.0-alpha.14",
8413
+ "@geekmidas/testkit": "~10.0.0-alpha.14",
8415
8414
  "@geekmidas/cli": `~${loadPackageJson().version}`
8416
8415
  };
8417
8416
  //#endregion
@@ -10478,7 +10477,6 @@ const apiTemplate = {
10478
10477
  "@geekmidas/auth": GEEKMIDAS_VERSIONS["@geekmidas/auth"],
10479
10478
  "@hono/node-server": DEPENDENCY_VERSIONS["@hono/node-server"],
10480
10479
  hono: DEPENDENCY_VERSIONS.hono,
10481
- pino: DEPENDENCY_VERSIONS.pino,
10482
10480
  zod: DEPENDENCY_VERSIONS.zod
10483
10481
  },
10484
10482
  devDependencies: {
@@ -10939,7 +10937,6 @@ const minimalTemplate = {
10939
10937
  "@geekmidas/schema": GEEKMIDAS_VERSIONS["@geekmidas/schema"],
10940
10938
  "@hono/node-server": DEPENDENCY_VERSIONS["@hono/node-server"],
10941
10939
  hono: DEPENDENCY_VERSIONS.hono,
10942
- pino: DEPENDENCY_VERSIONS.pino,
10943
10940
  zod: DEPENDENCY_VERSIONS.zod
10944
10941
  },
10945
10942
  devDependencies: {
@@ -11099,8 +11096,7 @@ const serverlessTemplate = {
11099
11096
  "@geekmidas/rate-limit": GEEKMIDAS_VERSIONS["@geekmidas/rate-limit"],
11100
11097
  "@geekmidas/schema": GEEKMIDAS_VERSIONS["@geekmidas/schema"],
11101
11098
  "@hono/node-server": DEPENDENCY_VERSIONS["@hono/node-server"],
11102
- hono: DEPENDENCY_VERSIONS.hono,
11103
- pino: DEPENDENCY_VERSIONS.pino
11099
+ hono: DEPENDENCY_VERSIONS.hono
11104
11100
  },
11105
11101
  devDependencies: {
11106
11102
  "@biomejs/biome": DEPENDENCY_VERSIONS["@biomejs/biome"],
@@ -11261,8 +11257,7 @@ const workerTemplate = {
11261
11257
  "@geekmidas/envkit": GEEKMIDAS_VERSIONS["@geekmidas/envkit"],
11262
11258
  "@geekmidas/events": GEEKMIDAS_VERSIONS["@geekmidas/events"],
11263
11259
  "@geekmidas/logger": GEEKMIDAS_VERSIONS["@geekmidas/logger"],
11264
- "@geekmidas/schema": GEEKMIDAS_VERSIONS["@geekmidas/schema"],
11265
- pino: DEPENDENCY_VERSIONS.pino
11260
+ "@geekmidas/schema": GEEKMIDAS_VERSIONS["@geekmidas/schema"]
11266
11261
  },
11267
11262
  devDependencies: {
11268
11263
  "@biomejs/biome": DEPENDENCY_VERSIONS["@biomejs/biome"],
@@ -11599,6 +11594,7 @@ function generatePackageJson(options, template) {
11599
11594
  const dependencies = { ...template.dependencies };
11600
11595
  const devDependencies = { ...template.devDependencies };
11601
11596
  const scripts = { ...template.scripts };
11597
+ if (options.loggerType === "pino") dependencies.pino = DEPENDENCY_VERSIONS.pino;
11602
11598
  if (telescope) dependencies["@geekmidas/telescope"] = GEEKMIDAS_VERSIONS["@geekmidas/telescope"];
11603
11599
  if (studio) dependencies["@geekmidas/studio"] = GEEKMIDAS_VERSIONS["@geekmidas/studio"];
11604
11600
  const declares = !monorepo;
@@ -15642,16 +15638,6 @@ program.command("openapi").description("Generate OpenAPI specification from endp
15642
15638
  process.exit(1);
15643
15639
  }
15644
15640
  });
15645
- program.command("generate:react-query").description("Generate React Query hooks from OpenAPI specification").option("--input <path>", "Input OpenAPI spec file path", "openapi.json").option("--output <path>", "Output file path for generated hooks", "src/api/hooks.ts").option("--name <name>", "API name prefix for generated code", "API").action(async (options) => {
15646
- try {
15647
- const globalOptions = program.opts();
15648
- if (globalOptions.cwd) process.chdir(globalOptions.cwd);
15649
- await require_openapi_react_query.generateReactQueryCommand(options);
15650
- } catch (error) {
15651
- console.error(formatError(error));
15652
- process.exit(1);
15653
- }
15654
- });
15655
15641
  program.command("docker").description("Generate Docker deployment files").option("--build", "Build Docker image after generating files").option("--push", "Push image to registry after building").option("--tag <tag>", "Image tag", "latest").option("--registry <registry>", "Container registry URL").option("--slim", "Use slim Dockerfile (assumes pre-built bundle exists)").option("--turbo", "Use turbo prune for monorepo optimization").option("--turbo-package <name>", "Package name for turbo prune").action(async (options) => {
15656
15642
  try {
15657
15643
  const globalOptions = program.opts();