@kubb/plugin-cypress 5.0.0-beta.31 → 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.
- package/README.md +11 -10
- package/extension.yaml +2 -0
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>@kubb/plugin-cypress</h1>
|
|
3
2
|
<a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
|
|
4
|
-
<img
|
|
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/cypress" target="_blank">View Demo</a>
|
|
15
|
-
<span> · </span>
|
|
16
13
|
<a href="https://kubb.dev/plugins/cypress" 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,13 +18,13 @@
|
|
|
21
18
|
</h4>
|
|
22
19
|
</div>
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
<br />
|
|
22
|
+
|
|
23
|
+
# @kubb/plugin-cypress
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
### Generate Cypress commands from OpenAPI
|
|
27
26
|
|
|
28
|
-
-
|
|
29
|
-
- Infers request and response types from OpenAPI schemas
|
|
30
|
-
- Works with `@kubb/plugin-ts` for typed test utilities
|
|
27
|
+
`@kubb/plugin-cypress` generates Cypress request commands from your OpenAPI specification. Each operation in the spec becomes a typed Cypress command, ready to use in your test files.
|
|
31
28
|
|
|
32
29
|
## Installation
|
|
33
30
|
|
|
@@ -45,7 +42,7 @@ See the [full documentation](https://kubb.dev/plugins/cypress) for configuration
|
|
|
45
42
|
|
|
46
43
|
## Supporting Kubb
|
|
47
44
|
|
|
48
|
-
Kubb is an
|
|
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:
|
|
49
46
|
|
|
50
47
|
- [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
|
|
51
48
|
|
|
@@ -55,6 +52,10 @@ Kubb is an MIT-licensed open source project with its ongoing development made po
|
|
|
55
52
|
</a>
|
|
56
53
|
</p>
|
|
57
54
|
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
[MIT](https://github.com/kubb-labs/plugins/blob/main/LICENSE)
|
|
58
|
+
|
|
58
59
|
<!-- Badges -->
|
|
59
60
|
|
|
60
61
|
[npm-version-src]: https://img.shields.io/npm/v/@kubb/plugin-cypress?flat&colorA=18181B&colorB=f58517
|
package/extension.yaml
CHANGED
|
@@ -331,7 +331,9 @@ options:
|
|
|
331
331
|
| --- | --- |
|
|
332
332
|
| `@kubb/plugin-ts` | `resolverTs` |
|
|
333
333
|
| `@kubb/plugin-zod` | `resolverZod` |
|
|
334
|
+
| `@kubb/plugin-faker` | `resolverFaker` |
|
|
334
335
|
| `@kubb/plugin-cypress` | `resolverCypress` |
|
|
336
|
+
| `@kubb/plugin-msw` | `resolverMsw` |
|
|
335
337
|
| `@kubb/plugin-mcp` | `resolverMcp` |
|
|
336
338
|
| `@kubb/plugin-client` | `resolverClient` |
|
|
337
339
|
codeBlock:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-cypress",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.35",
|
|
4
4
|
"description": "Generate Cypress request commands and e2e test fixtures from your OpenAPI specification, enabling automated API testing with zero manual setup.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generation",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@kubb/core": "5.0.0-beta.
|
|
51
|
-
"@kubb/renderer-jsx": "5.0.0-beta.
|
|
52
|
-
"@kubb/plugin-ts": "5.0.0-beta.
|
|
50
|
+
"@kubb/core": "5.0.0-beta.35",
|
|
51
|
+
"@kubb/renderer-jsx": "5.0.0-beta.35",
|
|
52
|
+
"@kubb/plugin-ts": "5.0.0-beta.35"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@internals/
|
|
56
|
-
"@internals/
|
|
55
|
+
"@internals/utils": "0.0.0",
|
|
56
|
+
"@internals/shared": "0.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@kubb/renderer-jsx": "5.0.0-beta.
|
|
59
|
+
"@kubb/renderer-jsx": "5.0.0-beta.35"
|
|
60
60
|
},
|
|
61
61
|
"size-limit": [
|
|
62
62
|
{
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"lint:fix": "oxlint --fix .",
|
|
76
76
|
"release": "pnpm publish --no-git-check",
|
|
77
77
|
"release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
|
|
78
|
+
"release:stage": "pnpm stage publish --no-git-check",
|
|
78
79
|
"start": "tsdown --watch",
|
|
79
80
|
"test": "vitest --passWithNoTests",
|
|
80
81
|
"typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
|