kubb 5.0.0-alpha.48 → 5.0.0-alpha.49

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/README.md +1 -2
  2. package/package.json +45 -45
package/README.md CHANGED
@@ -3,12 +3,12 @@
3
3
  <img width="180" src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/logo.png" alt="Kubb logo">
4
4
  </a>
5
5
 
6
-
7
6
  [![npm version][npm-version-src]][npm-version-href]
8
7
  [![npm downloads][npm-downloads-src]][npm-downloads-href]
9
8
  [![Coverage][coverage-src]][coverage-href]
10
9
  [![License][license-src]][license-href]
11
10
  [![Sponsors][sponsors-src]][sponsors-href]
11
+
12
12
  <h4>
13
13
  <a href="https://codesandbox.io/s/github/kubb-labs/kubb/tree/main/examples/typescript" target="_blank">View Demo</a>
14
14
  <span> · </span>
@@ -124,7 +124,6 @@ Kubb uses an MIT-licensed open source project with its ongoing development made
124
124
  </picture>
125
125
  </a>
126
126
 
127
-
128
127
  <!-- Badges -->
129
128
 
130
129
  [npm-version-src]: https://img.shields.io/npm/v/@kubb/core?flat&colorA=18181B&colorB=f58517
package/package.json CHANGED
@@ -1,37 +1,34 @@
1
1
  {
2
2
  "name": "kubb",
3
- "version": "5.0.0-alpha.48",
3
+ "version": "5.0.0-alpha.49",
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
- "typescript",
7
- "openapi",
8
- "swagger",
9
- "oas",
6
+ "api-client",
7
+ "cli",
10
8
  "code-generator",
11
9
  "codegen",
12
- "sdk-generator",
13
- "api-client",
14
- "plugins",
10
+ "faker",
11
+ "kubb",
12
+ "msw",
13
+ "oas",
14
+ "openapi",
15
15
  "plugin-system",
16
+ "plugins",
16
17
  "react-query",
18
+ "sdk-generator",
19
+ "swagger",
17
20
  "tanstack-query",
18
- "zod",
19
- "msw",
20
- "faker",
21
21
  "type-safe",
22
- "cli",
23
- "kubb"
22
+ "typescript",
23
+ "zod"
24
24
  ],
25
+ "license": "MIT",
26
+ "author": "stijnvanhulle",
25
27
  "repository": {
26
28
  "type": "git",
27
29
  "url": "git+https://github.com/kubb-labs/kubb.git",
28
30
  "directory": "packages/kubb"
29
31
  },
30
- "license": "MIT",
31
- "author": "stijnvanhulle",
32
- "sideEffects": false,
33
- "type": "module",
34
- "types": "./dist/index.d.ts",
35
32
  "bin": {
36
33
  "kubb": "bin/kubb.js"
37
34
  },
@@ -43,6 +40,33 @@
43
40
  "!/**/__tests__/**",
44
41
  "!/**/__snapshots__/**"
45
42
  ],
43
+ "type": "module",
44
+ "sideEffects": false,
45
+ "main": "./dist/index.cjs",
46
+ "module": "./dist/index.js",
47
+ "types": "./dist/index.d.ts",
48
+ "exports": {
49
+ ".": {
50
+ "import": "./dist/index.js",
51
+ "require": "./dist/index.cjs"
52
+ },
53
+ "./package.json": "./package.json"
54
+ },
55
+ "publishConfig": {
56
+ "access": "public",
57
+ "registry": "https://registry.npmjs.org/"
58
+ },
59
+ "dependencies": {
60
+ "@kubb/adapter-oas": "5.0.0-alpha.49",
61
+ "@kubb/agent": "5.0.0-alpha.49",
62
+ "@kubb/cli": "5.0.0-alpha.49",
63
+ "@kubb/core": "5.0.0-alpha.49",
64
+ "@kubb/mcp": "5.0.0-alpha.49",
65
+ "@kubb/parser-ts": "5.0.0-alpha.49"
66
+ },
67
+ "devDependencies": {
68
+ "@internals/utils": "0.0.0"
69
+ },
46
70
  "size-limit": [
47
71
  {
48
72
  "path": "./dist/*.js",
@@ -50,39 +74,15 @@
50
74
  "gzip": true
51
75
  }
52
76
  ],
53
- "dependencies": {
54
- "@kubb/adapter-oas": "5.0.0-alpha.48",
55
- "@kubb/agent": "5.0.0-alpha.48",
56
- "@kubb/cli": "5.0.0-alpha.48",
57
- "@kubb/core": "5.0.0-alpha.48",
58
- "@kubb/mcp": "5.0.0-alpha.48",
59
- "@kubb/parser-ts": "5.0.0-alpha.48"
60
- },
61
- "devDependencies": {
62
- "@internals/utils": "0.0.0"
63
- },
77
+ "preferGlobal": true,
64
78
  "engines": {
65
79
  "node": ">=22"
66
80
  },
67
- "preferGlobal": true,
68
- "publishConfig": {
69
- "access": "public",
70
- "registry": "https://registry.npmjs.org/"
71
- },
72
- "exports": {
73
- ".": {
74
- "import": "./dist/index.js",
75
- "require": "./dist/index.cjs"
76
- },
77
- "./package.json": "./package.json"
78
- },
79
- "main": "./dist/index.cjs",
80
- "module": "./dist/index.js",
81
81
  "scripts": {
82
82
  "build": "tsdown",
83
83
  "clean": "npx rimraf ./dist",
84
- "lint": "bun biome lint .",
85
- "lint:fix": "bun biome lint --fix --unsafe .",
84
+ "lint": "oxlint .",
85
+ "lint:fix": "oxlint --fix .",
86
86
  "release": "pnpm publish --no-git-check",
87
87
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
88
88
  "start": "tsdown --watch",