kubb 3.0.98 → 3.0.100

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
@@ -1,14 +1,9 @@
1
- 'use strict';
2
1
 
3
- var core = require('@kubb/core');
4
2
 
5
-
6
-
7
- Object.keys(core).forEach(function (k) {
8
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
- enumerable: true,
10
- get: function () { return core[k]; }
11
- });
3
+ var __kubb_core = require("@kubb/core");
4
+ Object.keys(__kubb_core).forEach(function (k) {
5
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
+ enumerable: true,
7
+ get: function () { return __kubb_core[k]; }
8
+ });
12
9
  });
13
- //# sourceMappingURL=index.cjs.map
14
- //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1 +1,2 @@
1
- export * from '@kubb/core';
1
+ export * from "@kubb/core";
2
+ export {};
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export * from '@kubb/core';
1
+ export * from "@kubb/core";
2
+ export {};
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export * from '@kubb/core';
2
- //# sourceMappingURL=index.js.map
3
- //# sourceMappingURL=index.js.map
1
+ export * from "@kubb/core"
2
+
3
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubb",
3
- "version": "3.0.98",
3
+ "version": "3.0.100",
4
4
  "description": "Transform OpenAPI specifications into TypeScript, React-Query, Zod, Faker.js, MSW and more with a plugin-based code generation tool.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -25,9 +25,9 @@
25
25
  "author": "stijnvanhulle",
26
26
  "sideEffects": false,
27
27
  "type": "module",
28
- "main": "dist/index.cjs",
29
- "module": "dist/index.js",
30
- "types": "./dist/index.d.ts",
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.js",
30
+ "types": "./dist/index.d.cts",
31
31
  "bin": {
32
32
  "kubb": "bin/kubb.js"
33
33
  },
@@ -39,15 +39,14 @@
39
39
  "!/**/__tests__/**"
40
40
  ],
41
41
  "dependencies": {
42
- "@kubb/cli": "3.16.2",
43
- "@kubb/core": "3.16.2"
42
+ "@kubb/cli": "3.16.4",
43
+ "@kubb/core": "3.16.4"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/node": "^20.19.10",
47
- "tsup": "^8.5.0",
46
+ "@types/node": "^20.19.11",
47
+ "tsdown": "^0.14.1",
48
48
  "typescript": "^5.9.2",
49
- "@kubb/config-ts": "3.16.2",
50
- "@kubb/config-tsup": "3.16.2"
49
+ "@kubb/config-ts": "3.16.4"
51
50
  },
52
51
  "engines": {
53
52
  "node": ">=20"
@@ -57,14 +56,21 @@
57
56
  "access": "public",
58
57
  "registry": "https://registry.npmjs.org/"
59
58
  },
59
+ "exports": {
60
+ ".": {
61
+ "import": "./dist/index.js",
62
+ "require": "./dist/index.cjs"
63
+ },
64
+ "./package.json": "./package.json"
65
+ },
60
66
  "scripts": {
61
- "build": "tsup",
67
+ "build": "tsdown",
62
68
  "clean": "npx rimraf ./dist",
63
69
  "lint": "ESLINT_USE_FLAT_CONFIG=true eslint --format pretty .",
64
70
  "lint-fix": "bun run lint --quiet --fix",
65
71
  "release": "pnpm publish --no-git-check",
66
72
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
67
- "start": "tsup --watch",
73
+ "start": "tsdown --watch",
68
74
  "test": "vitest --passWithNoTests",
69
75
  "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
70
76
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs","sourcesContent":[]}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}