@geekmidas/cli 0.0.10 → 0.0.11

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.
@@ -22,7 +22,7 @@ async function buildCommand(options) {
22
22
  }
23
23
  const allEndpoints = loadedEndpoints.map(({ name, endpoint, file }) => {
24
24
  const routeInfo = {
25
- path: endpoint.route,
25
+ path: endpoint._path,
26
26
  method: endpoint.method,
27
27
  handler: ""
28
28
  };
@@ -21,7 +21,7 @@ async function buildCommand(options) {
21
21
  }
22
22
  const allEndpoints = loadedEndpoints.map(({ name, endpoint, file }) => {
23
23
  const routeInfo = {
24
- path: endpoint.route,
24
+ path: endpoint._path,
25
25
  method: endpoint.method,
26
26
  handler: ""
27
27
  };
package/dist/build.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  require('./config-D8AyiwBU.cjs');
2
2
  require('./loadEndpoints-CYFwuPZr.cjs');
3
- const require_build = require('./build-GTFSYaDw.cjs');
3
+ const require_build = require('./build-C-UDqpkV.cjs');
4
4
 
5
5
  exports.buildCommand = require_build.buildCommand;
package/dist/build.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./config-DV1Lwdkx.mjs";
2
2
  import "./loadEndpoints-BL8q2rTO.mjs";
3
- import { buildCommand } from "./build-fWeaXigm.mjs";
3
+ import { buildCommand } from "./build-DCAjSjA0.mjs";
4
4
 
5
5
  export { buildCommand };
@@ -1,10 +1,10 @@
1
- import { buildCommand } from "./build-fWeaXigm.mjs";
1
+ import { buildCommand } from "./build-DCAjSjA0.mjs";
2
2
  import { openapiCommand } from "./openapi-BxI6zE0N.mjs";
3
3
  import { Command } from "commander";
4
4
 
5
5
  //#region package.json
6
6
  var name = "@geekmidas/cli";
7
- var version = "0.0.10";
7
+ var version = "0.0.11";
8
8
  var private$1 = false;
9
9
  var type = "module";
10
10
  var bin = { "gkm": "./src/index.ts" };
@@ -1,11 +1,11 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
- const require_build = require('./build-GTFSYaDw.cjs');
2
+ const require_build = require('./build-C-UDqpkV.cjs');
3
3
  const require_openapi = require('./openapi-BX7ba0w0.cjs');
4
4
  const commander = require_chunk.__toESM(require("commander"));
5
5
 
6
6
  //#region package.json
7
7
  var name = "@geekmidas/cli";
8
- var version = "0.0.10";
8
+ var version = "0.0.11";
9
9
  var private$1 = false;
10
10
  var type = "module";
11
11
  var bin = { "gkm": "./src/index.ts" };
package/dist/cli.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  require('./config-D8AyiwBU.cjs');
3
3
  require('./loadEndpoints-CYFwuPZr.cjs');
4
- require('./build-GTFSYaDw.cjs');
5
- require('./cli-BFQ-Dso8.cjs');
4
+ require('./build-C-UDqpkV.cjs');
5
+ require('./cli-NvCqdZtD.cjs');
6
6
  require('./openapi-BX7ba0w0.cjs');
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "./config-DV1Lwdkx.mjs";
3
3
  import "./loadEndpoints-BL8q2rTO.mjs";
4
- import "./build-fWeaXigm.mjs";
5
- import "./cli--DOGIUC5.mjs";
4
+ import "./build-DCAjSjA0.mjs";
5
+ import "./cli-DPcRbYh5.mjs";
6
6
  import "./openapi-BxI6zE0N.mjs";
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env -S npx tsx
2
2
  require('./config-D8AyiwBU.cjs');
3
3
  require('./loadEndpoints-CYFwuPZr.cjs');
4
- require('./build-GTFSYaDw.cjs');
5
- require('./cli-BFQ-Dso8.cjs');
4
+ require('./build-C-UDqpkV.cjs');
5
+ require('./cli-NvCqdZtD.cjs');
6
6
  require('./openapi-BX7ba0w0.cjs');
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env -S npx tsx
2
2
  import "./config-DV1Lwdkx.mjs";
3
3
  import "./loadEndpoints-BL8q2rTO.mjs";
4
- import "./build-fWeaXigm.mjs";
5
- import "./cli--DOGIUC5.mjs";
4
+ import "./build-DCAjSjA0.mjs";
5
+ import "./cli-DPcRbYh5.mjs";
6
6
  import "./openapi-BxI6zE0N.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  "lodash.set": "~4.3.2",
24
24
  "zod": "~3.25.67",
25
25
  "fast-glob": "~3.3.3",
26
- "@geekmidas/api": "0.0.22"
26
+ "@geekmidas/api": "0.0.25"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash.get": "~4.4.9",
package/src/build.ts CHANGED
@@ -43,7 +43,7 @@ export async function buildCommand(options: BuildOptions): Promise<void> {
43
43
 
44
44
  const allEndpoints = loadedEndpoints.map(({ name, endpoint, file }) => {
45
45
  const routeInfo: RouteInfo = {
46
- path: endpoint.route,
46
+ path: endpoint._path,
47
47
  method: endpoint.method,
48
48
  handler: '', // Will be filled in later
49
49
  };