@geekmidas/cli 0.0.21 → 0.0.23

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.
@@ -96,7 +96,7 @@ export function createApp(app?: Hono, enableOpenApi: boolean = ${enableOpenApi})
96
96
  );
97
97
 
98
98
  // Configure OpenAPI options based on enableOpenApi flag
99
- const openApiOptions = enableOpenApi ? {
99
+ const openApiOptions: any = enableOpenApi ? {
100
100
  docsPath: '/docs',
101
101
  openApiOptions: {
102
102
  title: 'API Documentation',
@@ -97,7 +97,7 @@ export function createApp(app?: Hono, enableOpenApi: boolean = ${enableOpenApi})
97
97
  );
98
98
 
99
99
  // Configure OpenAPI options based on enableOpenApi flag
100
- const openApiOptions = enableOpenApi ? {
100
+ const openApiOptions: any = enableOpenApi ? {
101
101
  docsPath: '/docs',
102
102
  openApiOptions: {
103
103
  title: 'API Documentation',
package/dist/build.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  require('./config-BNqUMsvc.cjs');
2
2
  require('./loadEndpoints-BBIavB9h.cjs');
3
- const require_build = require('./build-C9pAFzAM.cjs');
3
+ const require_build = require('./build-wv092xvg.cjs');
4
4
 
5
5
  exports.buildCommand = require_build.buildCommand;
package/dist/build.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./config-BciAdY6_.mjs";
2
2
  import "./loadEndpoints-DAZ53Og2.mjs";
3
- import { buildCommand } from "./build-BbzztcKf.mjs";
3
+ import { buildCommand } from "./build-Dpz5SniD.mjs";
4
4
 
5
5
  export { buildCommand };
package/dist/index.cjs CHANGED
@@ -2,14 +2,14 @@
2
2
  const require_chunk = require('./chunk-CUT6urMc.cjs');
3
3
  require('./config-BNqUMsvc.cjs');
4
4
  require('./loadEndpoints-BBIavB9h.cjs');
5
- const require_build = require('./build-C9pAFzAM.cjs');
5
+ const require_build = require('./build-wv092xvg.cjs');
6
6
  const require_openapi_react_query = require('./openapi-react-query-C1JLYUOs.cjs');
7
7
  const require_openapi = require('./openapi-D4QQJUPY.cjs');
8
8
  const commander = require_chunk.__toESM(require("commander"));
9
9
 
10
10
  //#region package.json
11
11
  var name = "@geekmidas/cli";
12
- var version = "0.0.21";
12
+ var version = "0.0.23";
13
13
  var private$1 = false;
14
14
  var type = "module";
15
15
  var bin = { "gkm": "./dist/index.cjs" };
@@ -21,7 +21,6 @@ var dependencies = {
21
21
  "commander": "~14.0.0",
22
22
  "lodash.get": "~4.4.2",
23
23
  "lodash.set": "~4.3.2",
24
- "zod": "~3.25.67",
25
24
  "fast-glob": "~3.3.3"
26
25
  };
27
26
  var peerDependencies = { "@geekmidas/api": "^0.0.41" };
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env -S npx tsx
2
2
  import "./config-BciAdY6_.mjs";
3
3
  import "./loadEndpoints-DAZ53Og2.mjs";
4
- import { buildCommand } from "./build-BbzztcKf.mjs";
4
+ import { buildCommand } from "./build-Dpz5SniD.mjs";
5
5
  import { generateReactQueryCommand } from "./openapi-react-query-DpT3XHFC.mjs";
6
6
  import { openapiCommand } from "./openapi-CksVdkh2.mjs";
7
7
  import { Command } from "commander";
8
8
 
9
9
  //#region package.json
10
10
  var name = "@geekmidas/cli";
11
- var version = "0.0.21";
11
+ var version = "0.0.23";
12
12
  var private$1 = false;
13
13
  var type = "module";
14
14
  var bin = { "gkm": "./dist/index.cjs" };
@@ -20,7 +20,6 @@ var dependencies = {
20
20
  "commander": "~14.0.0",
21
21
  "lodash.get": "~4.4.2",
22
22
  "lodash.set": "~4.3.2",
23
- "zod": "~3.25.67",
24
23
  "fast-glob": "~3.3.3"
25
24
  };
26
25
  var peerDependencies = { "@geekmidas/api": "^0.0.41" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/cli",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,11 +14,10 @@
14
14
  "commander": "~14.0.0",
15
15
  "lodash.get": "~4.4.2",
16
16
  "lodash.set": "~4.3.2",
17
- "zod": "~3.25.67",
18
17
  "fast-glob": "~3.3.3"
19
18
  },
20
19
  "peerDependencies": {
21
- "@geekmidas/api": "^0.0.41"
20
+ "@geekmidas/api": "0.0.44"
22
21
  },
23
22
  "devDependencies": {
24
23
  "@types/lodash.get": "~4.4.9",
package/src/build.ts CHANGED
@@ -89,7 +89,9 @@ export async function buildCommand(options: BuildOptions): Promise<void> {
89
89
  handler: relative(process.cwd(), serverFile),
90
90
  });
91
91
 
92
- logger.log(`Generated server app with ${allEndpoints.length} endpoints${options.enableOpenApi ? ' (OpenAPI enabled)' : ''}`);
92
+ logger.log(
93
+ `Generated server app with ${allEndpoints.length} endpoints${options.enableOpenApi ? ' (OpenAPI enabled)' : ''}`,
94
+ );
93
95
  } else {
94
96
  // Generate individual handler files for AWS providers
95
97
  for (const { file, exportName, routeInfo } of allEndpoints) {
@@ -193,7 +195,7 @@ export function createApp(app?: Hono, enableOpenApi: boolean = ${enableOpenApi})
193
195
  );
194
196
 
195
197
  // Configure OpenAPI options based on enableOpenApi flag
196
- const openApiOptions = enableOpenApi ? {
198
+ const openApiOptions: any = enableOpenApi ? {
197
199
  docsPath: '/docs',
198
200
  openApiOptions: {
199
201
  title: 'API Documentation',
package/src/index.ts CHANGED
@@ -36,9 +36,9 @@ program
36
36
  const providerList = [
37
37
  ...new Set(options.providers.split(',').map((p) => p.trim())),
38
38
  ] as Provider[];
39
- await buildCommand({
40
- providers: providerList,
41
- enableOpenApi: options.enableOpenapi || false
39
+ await buildCommand({
40
+ providers: providerList,
41
+ enableOpenApi: options.enableOpenapi || false,
42
42
  });
43
43
  } catch (error) {
44
44
  console.error('Build failed:', (error as Error).message);