@kubb/plugin-faker 5.0.0-beta.33 → 5.0.0-beta.35

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 +11 -11
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  <div align="center">
2
- <h1>@kubb/plugin-faker</h1>
3
2
  <a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
4
- <img width="180" src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/logo.png" alt="Kubb logo">
3
+ <img src="https://kubb.dev/og.png" alt="Kubb banner">
5
4
  </a>
6
5
 
7
6
  [![npm version][npm-version-src]][npm-version-href]
@@ -11,8 +10,6 @@
11
10
  [![Sponsors][sponsors-src]][sponsors-href]
12
11
 
13
12
  <h4>
14
- <a href="https://codesandbox.io/s/github/kubb-labs/plugins/tree/main/examples/faker" target="_blank">View Demo</a>
15
- <span> · </span>
16
13
  <a href="https://kubb.dev/plugins/faker" target="_blank">Documentation</a>
17
14
  <span> · </span>
18
15
  <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
@@ -21,14 +18,13 @@
21
18
  </h4>
22
19
  </div>
23
20
 
24
- `@kubb/plugin-faker` generates Faker.js factory functions from your OpenAPI schemas. Each schema produces a function that returns realistic mock data matching the schema's structure.
21
+ <br />
22
+
23
+ # @kubb/plugin-faker
25
24
 
26
- ## Features
25
+ ### Generate Faker mock data from OpenAPI
27
26
 
28
- - Creates one factory function per schema with optional field overrides
29
- - Uses Faker.js to produce realistic values for common field types
30
- - Handles recursive schemas with lazy getters to avoid circular reference errors
31
- - Works with `@kubb/plugin-msw` to serve mock responses in the browser or Node.js
27
+ `@kubb/plugin-faker` generates Faker.js factory functions from your OpenAPI schemas. Each schema produces a function that returns realistic mock data matching the schema's structure.
32
28
 
33
29
  ## Installation
34
30
 
@@ -46,7 +42,7 @@ See the [full documentation](https://kubb.dev/plugins/faker) for configuration o
46
42
 
47
43
  ## Supporting Kubb
48
44
 
49
- Kubb is an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
45
+ Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
50
46
 
51
47
  - [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
52
48
 
@@ -56,6 +52,10 @@ Kubb is an MIT-licensed open source project with its ongoing development made po
56
52
  </a>
57
53
  </p>
58
54
 
55
+ ## License
56
+
57
+ [MIT](https://github.com/kubb-labs/plugins/blob/main/LICENSE)
58
+
59
59
  <!-- Badges -->
60
60
 
61
61
  [npm-version-src]: https://img.shields.io/npm/v/@kubb/plugin-faker?flat&colorA=18181B&colorB=f58517
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-faker",
3
- "version": "5.0.0-beta.33",
3
+ "version": "5.0.0-beta.35",
4
4
  "description": "Generate Faker.js mock data factories from your OpenAPI schemas. Produces realistic seed data, test fixtures, and datasets for development and testing.",
5
5
  "keywords": [
6
6
  "code-generation",
@@ -66,16 +66,16 @@
66
66
  "registry": "https://registry.npmjs.org/"
67
67
  },
68
68
  "dependencies": {
69
- "@kubb/core": "5.0.0-beta.33",
70
- "@kubb/renderer-jsx": "5.0.0-beta.33",
71
- "@kubb/plugin-ts": "5.0.0-beta.33"
69
+ "@kubb/core": "5.0.0-beta.35",
70
+ "@kubb/renderer-jsx": "5.0.0-beta.35",
71
+ "@kubb/plugin-ts": "5.0.0-beta.35"
72
72
  },
73
73
  "devDependencies": {
74
- "@internals/shared": "0.0.0",
75
- "@internals/utils": "0.0.0"
74
+ "@internals/utils": "0.0.0",
75
+ "@internals/shared": "0.0.0"
76
76
  },
77
77
  "peerDependencies": {
78
- "@kubb/renderer-jsx": "5.0.0-beta.33"
78
+ "@kubb/renderer-jsx": "5.0.0-beta.35"
79
79
  },
80
80
  "size-limit": [
81
81
  {
@@ -94,6 +94,7 @@
94
94
  "lint:fix": "oxlint --fix .",
95
95
  "release": "pnpm publish --no-git-check",
96
96
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
97
+ "release:stage": "pnpm stage publish --no-git-check",
97
98
  "start": "tsdown --watch",
98
99
  "test": "vitest --passWithNoTests",
99
100
  "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"