@geekmidas/cli 0.0.14 → 0.0.16

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.
@@ -9,10 +9,10 @@ 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.14";
12
+ var version = "0.0.15";
13
13
  var private$1 = false;
14
14
  var type = "module";
15
- var bin = { "gkm": "./dist/cli.cjs" };
15
+ var bin = { "gkm": "./dist/index.cjs" };
16
16
  var publishConfig = {
17
17
  "registry": "https://registry.npmjs.org/",
18
18
  "access": "public"
@@ -41,7 +41,7 @@ var package_default = {
41
41
  };
42
42
 
43
43
  //#endregion
44
- //#region src/cli.ts
44
+ //#region src/index.ts
45
45
  const program = new commander.Command();
46
46
  program.name("gkm").description("GeekMidas backend framework CLI").version(package_default.version).option("--cwd <path>", "Change working directory");
47
47
  program.command("build").description("Build API handlers from endpoints").option("--providers <providers>", "Target providers for generated handlers (comma-separated)", "aws-apigatewayv1").action(async (options) => {
@@ -8,10 +8,10 @@ import { Command } from "commander";
8
8
 
9
9
  //#region package.json
10
10
  var name = "@geekmidas/cli";
11
- var version = "0.0.14";
11
+ var version = "0.0.15";
12
12
  var private$1 = false;
13
13
  var type = "module";
14
- var bin = { "gkm": "./dist/cli.cjs" };
14
+ var bin = { "gkm": "./dist/index.cjs" };
15
15
  var publishConfig = {
16
16
  "registry": "https://registry.npmjs.org/",
17
17
  "access": "public"
@@ -40,7 +40,7 @@ var package_default = {
40
40
  };
41
41
 
42
42
  //#endregion
43
- //#region src/cli.ts
43
+ //#region src/index.ts
44
44
  const program = new Command();
45
45
  program.name("gkm").description("GeekMidas backend framework CLI").version(package_default.version).option("--cwd <path>", "Change working directory");
46
46
  program.command("build").description("Build API handlers from endpoints").option("--providers <providers>", "Target providers for generated handlers (comma-separated)", "aws-apigatewayv1").action(async (options) => {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@geekmidas/cli",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
7
- "gkm": "./dist/cli.cjs"
7
+ "gkm": "./dist/index.cjs"
8
8
  },
9
9
  "publishConfig": {
10
10
  "registry": "https://registry.npmjs.org/",
package/tsdown.config.ts CHANGED
@@ -2,4 +2,5 @@ import { defineConfig } from 'tsdown';
2
2
 
3
3
  export default defineConfig({
4
4
  dts: false,
5
+ format: ['cjs', 'esm'],
5
6
  });
File without changes