@kubb/cli 0.56.3 → 1.0.0-alpha.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -50,7 +50,6 @@ async function run({ config, options, spinner: spinner2 }) {
50
50
  ...config.output
51
51
  }
52
52
  },
53
- mode: options.mode || "development",
54
53
  logger
55
54
  });
56
55
  spinner2.succeed(pc3.blue("\u{1F308} Generation complete"));
@@ -156,7 +155,7 @@ async function getCosmiConfig(moduleName2, config) {
156
155
  }
157
156
 
158
157
  // package.json
159
- var version = "0.56.3";
158
+ var version = "1.0.0-alpha.1";
160
159
 
161
160
  // src/index.ts
162
161
  var moduleName = "kubb";
@@ -190,5 +189,5 @@ var program = new Command(moduleName).description("Kubb").action(async (options)
190
189
  } catch (e) {
191
190
  spinner.fail(pc3.red(e.message));
192
191
  }
193
- }).addOption(new Option("-m, --mode <mode>", "Mode of Kubb, development or production").default("development")).addOption(new Option("-c, --config <path>", "Path to @kubb config")).addOption(new Option("-d, --debug", "Debug mode").default(false)).addOption(new Option("-w, --watch", "Watch mode based on the input file"));
192
+ }).addOption(new Option("-c, --config <path>", "Path to the Kubb config")).addOption(new Option("-d, --debug", "Debug mode").default(false)).addOption(new Option("-w, --watch", "Watch mode based on the input file"));
194
193
  program.name(moduleName).description("Generate").version(version, "-v").parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/cli",
3
- "version": "0.56.3",
3
+ "version": "1.0.0-alpha.1",
4
4
  "description": "Generator cli",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,11 +18,11 @@
18
18
  ],
19
19
  "sideEffects": false,
20
20
  "type": "module",
21
- "main": "dist/index.mjs",
22
- "module": "dist/index.mjs",
21
+ "main": "dist/index.js",
22
+ "module": "dist/index.js",
23
23
  "types": "./dist/index.d.ts",
24
24
  "bin": {
25
- "kubb": "dist/index.mjs"
25
+ "kubb": "dist/index.js"
26
26
  },
27
27
  "preferGlobal": true,
28
28
  "files": [
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@humanwhocodes/module-importer": "^1.0.1",
35
- "@kubb/core": "0.56.3",
35
+ "@kubb/core": "1.0.0-alpha.1",
36
36
  "chokidar": "^3.5.3",
37
37
  "commander": "^10.0.0",
38
38
  "cosmiconfig": "^8.1.0",
@@ -45,7 +45,7 @@
45
45
  "@swc/core": "^1.3.37"
46
46
  },
47
47
  "devDependencies": {
48
- "@types/node": "^18.14.2",
48
+ "@types/node": "^18.14.6",
49
49
  "tsup": "^6.6.3",
50
50
  "typescript": "^4.9.5"
51
51
  },