kubb 2.0.0-canary.20231030T125302 → 2.18.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Stijn Van Hulle
3
+ Copyright (c) 2024 Stijn Van Hulle
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- <img src="https://raw.githubusercontent.com/kubb-project/kubb/main/assets/banner.png" alt="logo" height="auto" />
3
+ <img src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/banner.png" alt="logo" height="auto" />
4
4
 
5
5
  [![npm version][npm-version-src]][npm-version-href]
6
6
  [![npm downloads][npm-downloads-src]][npm-downloads-href]
@@ -12,13 +12,13 @@
12
12
  </p>
13
13
 
14
14
  <h4>
15
- <a href="https://codesandbox.io/s/github/kubb-project/kubb/tree/main/examples/typescript" target="_blank">View Demo</a>
15
+ <a href="https://codesandbox.io/s/github/kubb-labs/kubb/tree/alpha/examples/typescript" target="_blank">View Demo</a>
16
16
  <span> · </span>
17
17
  <a href="https://kubb.dev/" target="_blank">Documentation</a>
18
18
  <span> · </span>
19
- <a href="https://github.com/kubb-project/kubb/issues/" target="_blank">Report Bug</a>
19
+ <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
20
20
  <span> · </span>
21
- <a href="https://github.com/kubb-project/kubb/issues/" target="_blank">Request Feature</a>
21
+ <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Request Feature</a>
22
22
  </h4>
23
23
  </div>
24
24
 
@@ -27,7 +27,7 @@
27
27
  ## Features
28
28
 
29
29
  <div align="center">
30
- <img src="https://raw.githubusercontent.com/kubb-project/kubb/main/assets/features.png" alt="features" height="auto" />
30
+ <img src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/features.png" alt="features" height="auto" />
31
31
  </div>
32
32
 
33
33
  ## Contributors
@@ -38,8 +38,8 @@
38
38
  <table>
39
39
  <tbody>
40
40
  <tr>
41
- <td align="center" valign="top" width="14.28%"><a href="http://www.stijnvanhulle.be"><img src="https://avatars.githubusercontent.com/u/5904681?v=4?s=100" width="100px;" alt="Stijn Van Hulle"/><br /><sub><b>Stijn Van Hulle</b></sub></a><br /><a href="https://github.com/kubb-project/kubb/commits?author=stijnvanhulle" title="Code">💻</a></td>
42
- <td align="center" valign="top" width="14.28%"><a href="https://fosstodon.org/@xphentom"><img src="https://avatars.githubusercontent.com/u/5096867?v=4?s=100" width="100px;" alt="Wouter Roozeleer"/><br /><sub><b>Wouter Roozeleer</b></sub></a><br /><a href="https://github.com/kubb-project/kubb/commits?author=xPhentom" title="Code">💻</a></td>
41
+ <td align="center" valign="top" width="14.28%"><a href="http://www.stijnvanhulle.be"><img src="https://avatars.githubusercontent.com/u/5904681?v=4?s=100" width="100px;" alt="Stijn Van Hulle"/><br /><sub><b>Stijn Van Hulle</b></sub></a><br /><a href="https://github.com/kubb-labs/kubb/commits?author=stijnvanhulle" title="Code">💻</a></td>
42
+ <td align="center" valign="top" width="14.28%"><a href="https://fosstodon.org/@xphentom"><img src="https://avatars.githubusercontent.com/u/5096867?v=4?s=100" width="100px;" alt="Wouter Roozeleer"/><br /><sub><b>Wouter Roozeleer</b></sub></a><br /><a href="https://github.com/kubb-labs/kubb/commits?author=xPhentom" title="Code">💻</a></td>
43
43
  </tr>
44
44
  </tbody>
45
45
  </table>
@@ -62,11 +62,11 @@
62
62
  [npm-version-href]: https://npmjs.com/package/@kubb/core
63
63
  [npm-downloads-src]: https://img.shields.io/npm/dm/@kubb/core?flat&colorA=18181B&colorB=f58517
64
64
  [npm-downloads-href]: https://npmjs.com/package/@kubb/core
65
- [license-src]: https://img.shields.io/github/license/kubb-project/kubb.svg?flat&colorA=18181B&colorB=f58517
66
- [license-href]: https://github.com/kubb-project/kubb/blob/main/LICENSE
67
- [build-src]: https://img.shields.io/github/actions/workflow/status/kubb-project/kubb/ci.yaml?style=flat&colorA=18181B&colorB=f58517
65
+ [license-src]: https://img.shields.io/github/license/kubb-labs/kubb.svg?flat&colorA=18181B&colorB=f58517
66
+ [license-href]: https://github.com/kubb-labs/kubb/blob/main/LICENSE
67
+ [build-src]: https://img.shields.io/github/actions/workflow/status/kubb-labs/kubb/ci.yaml?style=flat&colorA=18181B&colorB=f58517
68
68
  [build-href]: https://www.npmjs.com/package/@kubb/core
69
69
  [minified-src]: https://img.shields.io/bundlephobia/min/@kubb/core?style=flat&colorA=18181B&colorB=f58517
70
70
  [minified-href]: https://www.npmjs.com/package/@kubb/core
71
- [coverage-src]: https://img.shields.io/codecov/c/github/kubb-project/kubb?style=flat&colorA=18181B&colorB=f58517
71
+ [coverage-src]: https://img.shields.io/codecov/c/github/kubb-labs/kubb?style=flat&colorA=18181B&colorB=f58517
72
72
  [coverage-href]: https://www.npmjs.com/package/@kubb/core
package/dist/index.cjs CHANGED
@@ -1,14 +1,3 @@
1
- 'use strict';
2
-
3
- var core = require('@kubb/core');
4
-
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
- });
12
- });
13
- //# sourceMappingURL=out.js.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }// src/index.ts
2
+ var _core = require('@kubb/core'); _createStarExport(_core);
14
3
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,6 +1,3 @@
1
- import { createRequire } from 'module';
2
- export * from '@kubb/core';
3
-
4
- createRequire(import.meta.url);
5
- //# sourceMappingURL=out.js.map
1
+ // src/index.ts
2
+ export * from "@kubb/core";
6
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,cAAc","sourcesContent":["export * from '@kubb/core'\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@kubb/core'\n"],"mappings":";AAAA,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubb",
3
- "version": "2.0.0-canary.20231030T125302",
3
+ "version": "2.18.1",
4
4
  "description": "OpenAPI to TypeScript, React-Query, Zod, Zodios, Faker.js, MSW and Axios.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git://github.com/kubb-project/kubb.git",
14
+ "url": "git://github.com/kubb-labs/kubb.git",
15
15
  "directory": "packages/kubb"
16
16
  },
17
17
  "license": "MIT",
@@ -25,26 +25,26 @@
25
25
  "kubb": "bin/kubb.js"
26
26
  },
27
27
  "files": [
28
+ "src",
28
29
  "dist",
29
30
  "bin",
30
31
  "!/**/**.test.**",
31
32
  "!/**/__tests__/**"
32
33
  ],
33
34
  "dependencies": {
34
- "@kubb/cli": "canary",
35
- "@kubb/core": "canary"
35
+ "@kubb/cli": "2.18.1",
36
+ "@kubb/core": "2.18.1"
36
37
  },
37
38
  "devDependencies": {
38
- "@kubb/ts-config": "canary",
39
- "@kubb/tsup-config": "canary",
40
- "@types/node": "^20.8.9",
41
- "tsup": "^7.2.0",
42
- "typescript": "^5.2.2"
39
+ "@types/node": "^20.12.8",
40
+ "tsup": "^8.0.2",
41
+ "typescript": "^5.4.5",
42
+ "@kubb/config-ts": "2.18.1",
43
+ "@kubb/config-tsup": "2.18.1"
43
44
  },
44
- "packageManager": "pnpm@8.3.0",
45
45
  "engines": {
46
46
  "node": ">=18",
47
- "pnpm": ">=8.3.0"
47
+ "pnpm": ">=8.15.0"
48
48
  },
49
49
  "preferGlobal": true,
50
50
  "publishConfig": {
@@ -57,8 +57,7 @@
57
57
  "lint": "ESLINT_USE_FLAT_CONFIG=true eslint --format pretty .",
58
58
  "lint-fix": "bun run lint --quiet --fix",
59
59
  "release": "pnpm publish --no-git-check",
60
- "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check -tag canary",
61
- "release:alpha": "bash ../../.github/canary.sh && node ../../scripts/build.js alpha && pnpm publish --no-git-check -tag alpha",
60
+ "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
62
61
  "start": "tsup --watch",
63
62
  "test": "vitest --passWithNoTests",
64
63
  "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@kubb/core'