@kubb/plugin-cypress 5.0.1 → 5.0.2
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.d.ts +6 -6
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ type Props = {
|
|
|
18
18
|
resolver: ResolverTs;
|
|
19
19
|
baseURL: string | null | undefined;
|
|
20
20
|
};
|
|
21
|
-
declare function Request({ baseURL, name, resolver, node }: Props): KubbReactNode;
|
|
21
|
+
export declare function Request({ baseURL, name, resolver, node }: Props): KubbReactNode;
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/types.d.ts
|
|
24
24
|
/**
|
|
@@ -82,14 +82,14 @@ declare global {
|
|
|
82
82
|
* `cy.request()` wrapper per OpenAPI operation, ready to call inside Cypress
|
|
83
83
|
* test specs and custom commands.
|
|
84
84
|
*/
|
|
85
|
-
declare const cypressGenerator: import("kubb/kit").Generator<PluginCypress, unknown>;
|
|
85
|
+
export declare const cypressGenerator: import("kubb/kit").Generator<PluginCypress, unknown>;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/plugin.d.ts
|
|
88
88
|
/**
|
|
89
89
|
* Canonical plugin name for `@kubb/plugin-cypress`. Used for driver lookups and
|
|
90
90
|
* cross-plugin dependency references.
|
|
91
91
|
*/
|
|
92
|
-
declare const pluginCypressName = "plugin-cypress";
|
|
92
|
+
export declare const pluginCypressName = "plugin-cypress";
|
|
93
93
|
/**
|
|
94
94
|
* Generates one typed `cy.request()` wrapper per OpenAPI operation. Each helper
|
|
95
95
|
* has typed path params, body, query, and a typed response, so failing API
|
|
@@ -113,7 +113,7 @@ declare const pluginCypressName = "plugin-cypress";
|
|
|
113
113
|
* })
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
|
-
declare const pluginCypress: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginCypress>;
|
|
116
|
+
export declare const pluginCypress: (options?: Options | undefined) => import("kubb/kit").Plugin<PluginCypress>;
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/resolvers/resolverCypress.d.ts
|
|
119
119
|
/**
|
|
@@ -128,7 +128,7 @@ declare const pluginCypress: (options?: Options | undefined) => import("kubb/kit
|
|
|
128
128
|
* resolverCypress.name('list pets') // 'listPets'
|
|
129
129
|
* ```
|
|
130
130
|
*/
|
|
131
|
-
declare const resolverCypress: import("kubb/kit").Resolver;
|
|
131
|
+
export declare const resolverCypress: import("kubb/kit").Resolver;
|
|
132
132
|
//#endregion
|
|
133
|
-
export { type PluginCypress,
|
|
133
|
+
export { type PluginCypress, type ResolverCypress, pluginCypress as default };
|
|
134
134
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-cypress",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Generate Cypress request commands and e2e test fixtures with Kubb for automated API testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generation",
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
{
|
|
30
30
|
"type": "opencollective",
|
|
31
31
|
"url": "https://opencollective.com/kubb"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "custom",
|
|
35
|
+
"url": "https://kubb.dev/sponsors"
|
|
32
36
|
}
|
|
33
37
|
],
|
|
34
38
|
"files": [
|
|
@@ -56,15 +60,15 @@
|
|
|
56
60
|
"registry": "https://registry.npmjs.org/"
|
|
57
61
|
},
|
|
58
62
|
"dependencies": {
|
|
59
|
-
"@kubb/plugin-ts": "^5.0.
|
|
63
|
+
"@kubb/plugin-ts": "^5.0.2"
|
|
60
64
|
},
|
|
61
65
|
"devDependencies": {
|
|
62
66
|
"@internals/shared": "0.0.0",
|
|
63
67
|
"@internals/utils": "0.0.0",
|
|
64
|
-
"kubb": "^5.0
|
|
68
|
+
"kubb": "^5.2.0"
|
|
65
69
|
},
|
|
66
70
|
"peerDependencies": {
|
|
67
|
-
"kubb": "^5.0
|
|
71
|
+
"kubb": "^5.2.0"
|
|
68
72
|
},
|
|
69
73
|
"engines": {
|
|
70
74
|
"node": ">=22"
|