@kubb/plugin-cypress 3.16.1 → 3.16.3
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/components-C8-e6KqF.cjs +64 -0
- package/dist/components-C8-e6KqF.cjs.map +1 -0
- package/dist/components-jRFHC_sv.js +30 -0
- package/dist/components-jRFHC_sv.js.map +1 -0
- package/dist/components.cjs +2 -11
- package/dist/components.d.cts +22 -16
- package/dist/components.d.ts +22 -16
- package/dist/components.js +3 -3
- package/dist/generators-Ct16r8RK.cjs +72 -0
- package/dist/{chunk-PIJKOKJD.js.map → generators-Ct16r8RK.cjs.map} +1 -1
- package/dist/generators-aYB5ZkVA.js +67 -0
- package/dist/generators-aYB5ZkVA.js.map +1 -0
- package/dist/generators.cjs +3 -12
- package/dist/generators.d.cts +5 -6
- package/dist/generators.d.ts +5 -6
- package/dist/generators.js +4 -4
- package/dist/index.cjs +74 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +74 -93
- package/dist/index.js.map +1 -1
- package/dist/types-BNTHk264.d.ts +1166 -0
- package/dist/types-Rl0-mzsN.d.cts +1166 -0
- package/package.json +19 -34
- package/dist/chunk-AQ3NKEYB.cjs +0 -75
- package/dist/chunk-AQ3NKEYB.cjs.map +0 -1
- package/dist/chunk-LJ3OQYCX.cjs +0 -26
- package/dist/chunk-LJ3OQYCX.cjs.map +0 -1
- package/dist/chunk-NEMUYKDD.js +0 -24
- package/dist/chunk-NEMUYKDD.js.map +0 -1
- package/dist/chunk-PIJKOKJD.js +0 -73
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/generators.cjs.map +0 -1
- package/dist/generators.js.map +0 -1
- package/dist/types-C2ke2hnU.d.cts +0 -59
- package/dist/types-C2ke2hnU.d.ts +0 -59
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["cypressGenerator","pluginOasName","pluginTsName","options","path","FileManager","groupName: Group['name']","PluginManager","OperationGenerator"],"sources":["../src/plugin.ts"],"sourcesContent":["import path from 'node:path'\n\nimport { FileManager, type Group, PluginManager, createPlugin } from '@kubb/core'\nimport { camelCase } from '@kubb/core/transformers'\nimport { OperationGenerator, pluginOasName } from '@kubb/plugin-oas'\nimport { pluginTsName } from '@kubb/plugin-ts'\n\nimport type { Plugin } from '@kubb/core'\nimport type { PluginOas as SwaggerPluginOptions } from '@kubb/plugin-oas'\nimport { cypressGenerator } from './generators'\nimport type { PluginCypress } from './types.ts'\n\nexport const pluginCypressName = 'plugin-cypress' satisfies PluginCypress['name']\n\nexport const pluginCypress = createPlugin<PluginCypress>((options) => {\n const {\n output = { path: 'cypress', barrelType: 'named' },\n group,\n dataReturnType = 'data',\n exclude = [],\n include,\n override = [],\n transformers = {},\n generators = [cypressGenerator].filter(Boolean),\n contentType,\n baseURL,\n } = options\n\n return {\n name: pluginCypressName,\n options: {\n output,\n dataReturnType,\n group,\n baseURL,\n },\n pre: [pluginOasName, pluginTsName].filter(Boolean),\n resolvePath(baseName, pathMode, options) {\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = pathMode ?? FileManager.getMode(path.resolve(root, output.path))\n\n if (mode === 'single') {\n /**\n * when output is a file then we will always append to the same file(output file), see fileManager.addOrAppend\n * Other plugins then need to call addOrAppend instead of just add from the fileManager class\n */\n return path.resolve(root, output.path)\n }\n\n if (group && (options?.group?.path || options?.group?.tag)) {\n const groupName: Group['name'] = group?.name\n ? group.name\n : (ctx) => {\n if (group?.type === 'path') {\n return `${ctx.group.split('/')[1]}`\n }\n return `${camelCase(ctx.group)}Requests`\n }\n\n return path.resolve(\n root,\n output.path,\n groupName({\n group: group.type === 'path' ? options.group.path! : options.group.tag!,\n }),\n baseName,\n )\n }\n\n return path.resolve(root, output.path, baseName)\n },\n resolveName(name, type) {\n const resolvedName = camelCase(name, {\n isFile: type === 'file',\n })\n\n if (type) {\n return transformers?.name?.(resolvedName, type) || resolvedName\n }\n\n return resolvedName\n },\n async buildStart() {\n const [swaggerPlugin]: [Plugin<SwaggerPluginOptions>] = PluginManager.getDependedPlugins<SwaggerPluginOptions>(this.plugins, [pluginOasName])\n\n const oas = await swaggerPlugin.context.getOas()\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = FileManager.getMode(path.resolve(root, output.path))\n\n const operationGenerator = new OperationGenerator(this.plugin.options, {\n oas,\n pluginManager: this.pluginManager,\n plugin: this.plugin,\n contentType,\n exclude,\n include,\n override,\n mode,\n })\n\n const files = await operationGenerator.build(...generators)\n await this.addFile(...files)\n\n const barrelFiles = await this.fileManager.getBarrelFiles({\n type: output.barrelType ?? 'named',\n root,\n output,\n meta: {\n pluginKey: this.plugin.key,\n },\n logger: this.logger,\n })\n\n await this.addFile(...barrelFiles)\n },\n }\n})\n"],"mappings":";;;;;;;;;AAYA,MAAa,oBAAoB;AAEjC,MAAa,8CAA4C,CAAC,YAAY;CACpE,MAAM,EACJ,SAAS;EAAE,MAAM;EAAW,YAAY;CAAS,GACjD,OACA,iBAAiB,QACjB,UAAU,CAAE,GACZ,SACA,WAAW,CAAE,GACb,eAAe,CAAE,GACjB,aAAa,CAACA,mCAAiB,EAAC,OAAO,QAAQ,EAC/C,aACA,SACD,GAAG;AAEJ,QAAO;EACL,MAAM;EACN,SAAS;GACP;GACA;GACA;GACA;EACD;EACD,KAAK,CAACC,iCAAeC,6BAAa,EAAC,OAAO,QAAQ;EAClD,YAAY,UAAU,UAAUC,WAAS;GACvC,MAAM,OAAOC,kBAAK,QAAQ,KAAK,OAAO,MAAM,KAAK,OAAO,OAAO,KAAK;GACpE,MAAM,OAAO,YAAYC,wBAAY,QAAQD,kBAAK,QAAQ,MAAM,OAAO,KAAK,CAAC;AAE7E,OAAI,SAAS;;;;;AAKX,UAAOA,kBAAK,QAAQ,MAAM,OAAO,KAAK;AAGxC,OAAI,UAAUD,WAAS,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KAAK,QAAQ,GAAG,YAAY;EACnC;CACF;AACF,EAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { O as Options, P as PluginCypress } from './types-C2ke2hnU.cjs';
|
|
3
|
-
import '@kubb/oas';
|
|
4
|
-
import '@kubb/plugin-oas';
|
|
1
|
+
import { Options, PluginCypress, UserPluginWithLifeCycle } from "./types-Rl0-mzsN.cjs";
|
|
5
2
|
|
|
3
|
+
//#region src/plugin.d.ts
|
|
6
4
|
declare const pluginCypressName = "plugin-cypress";
|
|
7
|
-
declare const pluginCypress: (options?: Options | undefined) =>
|
|
8
|
-
|
|
9
|
-
export { PluginCypress, pluginCypress, pluginCypressName };
|
|
5
|
+
declare const pluginCypress: (options?: Options | undefined) => UserPluginWithLifeCycle<PluginCypress>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type PluginCypress, pluginCypress, pluginCypressName };
|
|
8
|
+
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { O as Options, P as PluginCypress } from './types-C2ke2hnU.js';
|
|
3
|
-
import '@kubb/oas';
|
|
4
|
-
import '@kubb/plugin-oas';
|
|
1
|
+
import { Options, PluginCypress, UserPluginWithLifeCycle } from "./types-BNTHk264.js";
|
|
5
2
|
|
|
3
|
+
//#region src/plugin.d.ts
|
|
6
4
|
declare const pluginCypressName = "plugin-cypress";
|
|
7
|
-
declare const pluginCypress: (options?: Options | undefined) =>
|
|
8
|
-
|
|
9
|
-
export { PluginCypress, pluginCypress, pluginCypressName };
|
|
5
|
+
declare const pluginCypress: (options?: Options | undefined) => UserPluginWithLifeCycle<PluginCypress>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type PluginCypress, pluginCypress, pluginCypressName };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,98 +1,79 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import path from
|
|
4
|
-
import {
|
|
5
|
-
import { camelCase } from
|
|
6
|
-
import {
|
|
7
|
-
import { pluginTsName } from
|
|
1
|
+
import "./components-jRFHC_sv.js";
|
|
2
|
+
import { cypressGenerator } from "./generators-aYB5ZkVA.js";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { FileManager, PluginManager, createPlugin } from "@kubb/core";
|
|
5
|
+
import { camelCase } from "@kubb/core/transformers";
|
|
6
|
+
import { OperationGenerator, pluginOasName } from "@kubb/plugin-oas";
|
|
7
|
+
import { pluginTsName } from "@kubb/plugin-ts";
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
exclude,
|
|
76
|
-
include,
|
|
77
|
-
override,
|
|
78
|
-
mode
|
|
79
|
-
});
|
|
80
|
-
const files = await operationGenerator.build(...generators);
|
|
81
|
-
await this.addFile(...files);
|
|
82
|
-
const barrelFiles = await this.fileManager.getBarrelFiles({
|
|
83
|
-
type: output.barrelType ?? "named",
|
|
84
|
-
root,
|
|
85
|
-
output,
|
|
86
|
-
meta: {
|
|
87
|
-
pluginKey: this.plugin.key
|
|
88
|
-
},
|
|
89
|
-
logger: this.logger
|
|
90
|
-
});
|
|
91
|
-
await this.addFile(...barrelFiles);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
9
|
+
//#region src/plugin.ts
|
|
10
|
+
const pluginCypressName = "plugin-cypress";
|
|
11
|
+
const pluginCypress = createPlugin((options) => {
|
|
12
|
+
const { output = {
|
|
13
|
+
path: "cypress",
|
|
14
|
+
barrelType: "named"
|
|
15
|
+
}, group, dataReturnType = "data", exclude = [], include, override = [], transformers = {}, generators = [cypressGenerator].filter(Boolean), contentType, baseURL } = options;
|
|
16
|
+
return {
|
|
17
|
+
name: pluginCypressName,
|
|
18
|
+
options: {
|
|
19
|
+
output,
|
|
20
|
+
dataReturnType,
|
|
21
|
+
group,
|
|
22
|
+
baseURL
|
|
23
|
+
},
|
|
24
|
+
pre: [pluginOasName, pluginTsName].filter(Boolean),
|
|
25
|
+
resolvePath(baseName, pathMode, options$1) {
|
|
26
|
+
const root = path.resolve(this.config.root, this.config.output.path);
|
|
27
|
+
const mode = pathMode ?? FileManager.getMode(path.resolve(root, output.path));
|
|
28
|
+
if (mode === "single")
|
|
29
|
+
/**
|
|
30
|
+
* when output is a file then we will always append to the same file(output file), see fileManager.addOrAppend
|
|
31
|
+
* Other plugins then need to call addOrAppend instead of just add from the fileManager class
|
|
32
|
+
*/
|
|
33
|
+
return path.resolve(root, output.path);
|
|
34
|
+
if (group && (options$1?.group?.path || options$1?.group?.tag)) {
|
|
35
|
+
const groupName = group?.name ? group.name : (ctx) => {
|
|
36
|
+
if (group?.type === "path") return `${ctx.group.split("/")[1]}`;
|
|
37
|
+
return `${camelCase(ctx.group)}Requests`;
|
|
38
|
+
};
|
|
39
|
+
return path.resolve(root, output.path, groupName({ group: group.type === "path" ? options$1.group.path : options$1.group.tag }), baseName);
|
|
40
|
+
}
|
|
41
|
+
return path.resolve(root, output.path, baseName);
|
|
42
|
+
},
|
|
43
|
+
resolveName(name, type) {
|
|
44
|
+
const resolvedName = camelCase(name, { isFile: type === "file" });
|
|
45
|
+
if (type) return transformers?.name?.(resolvedName, type) || resolvedName;
|
|
46
|
+
return resolvedName;
|
|
47
|
+
},
|
|
48
|
+
async buildStart() {
|
|
49
|
+
const [swaggerPlugin] = PluginManager.getDependedPlugins(this.plugins, [pluginOasName]);
|
|
50
|
+
const oas = await swaggerPlugin.context.getOas();
|
|
51
|
+
const root = path.resolve(this.config.root, this.config.output.path);
|
|
52
|
+
const mode = FileManager.getMode(path.resolve(root, output.path));
|
|
53
|
+
const operationGenerator = new OperationGenerator(this.plugin.options, {
|
|
54
|
+
oas,
|
|
55
|
+
pluginManager: this.pluginManager,
|
|
56
|
+
plugin: this.plugin,
|
|
57
|
+
contentType,
|
|
58
|
+
exclude,
|
|
59
|
+
include,
|
|
60
|
+
override,
|
|
61
|
+
mode
|
|
62
|
+
});
|
|
63
|
+
const files = await operationGenerator.build(...generators);
|
|
64
|
+
await this.addFile(...files);
|
|
65
|
+
const barrelFiles = await this.fileManager.getBarrelFiles({
|
|
66
|
+
type: output.barrelType ?? "named",
|
|
67
|
+
root,
|
|
68
|
+
output,
|
|
69
|
+
meta: { pluginKey: this.plugin.key },
|
|
70
|
+
logger: this.logger
|
|
71
|
+
});
|
|
72
|
+
await this.addFile(...barrelFiles);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
94
75
|
});
|
|
95
76
|
|
|
77
|
+
//#endregion
|
|
96
78
|
export { pluginCypress, pluginCypressName };
|
|
97
|
-
//# sourceMappingURL=index.js.map
|
|
98
79
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["options","groupName: Group['name']"],"sources":["../src/plugin.ts"],"sourcesContent":["import path from 'node:path'\n\nimport { FileManager, type Group, PluginManager, createPlugin } from '@kubb/core'\nimport { camelCase } from '@kubb/core/transformers'\nimport { OperationGenerator, pluginOasName } from '@kubb/plugin-oas'\nimport { pluginTsName } from '@kubb/plugin-ts'\n\nimport type { Plugin } from '@kubb/core'\nimport type { PluginOas as SwaggerPluginOptions } from '@kubb/plugin-oas'\nimport { cypressGenerator } from './generators'\nimport type { PluginCypress } from './types.ts'\n\nexport const pluginCypressName = 'plugin-cypress' satisfies PluginCypress['name']\n\nexport const pluginCypress = createPlugin<PluginCypress>((options) => {\n const {\n output = { path: 'cypress', barrelType: 'named' },\n group,\n dataReturnType = 'data',\n exclude = [],\n include,\n override = [],\n transformers = {},\n generators = [cypressGenerator].filter(Boolean),\n contentType,\n baseURL,\n } = options\n\n return {\n name: pluginCypressName,\n options: {\n output,\n dataReturnType,\n group,\n baseURL,\n },\n pre: [pluginOasName, pluginTsName].filter(Boolean),\n resolvePath(baseName, pathMode, options) {\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = pathMode ?? FileManager.getMode(path.resolve(root, output.path))\n\n if (mode === 'single') {\n /**\n * when output is a file then we will always append to the same file(output file), see fileManager.addOrAppend\n * Other plugins then need to call addOrAppend instead of just add from the fileManager class\n */\n return path.resolve(root, output.path)\n }\n\n if (group && (options?.group?.path || options?.group?.tag)) {\n const groupName: Group['name'] = group?.name\n ? group.name\n : (ctx) => {\n if (group?.type === 'path') {\n return `${ctx.group.split('/')[1]}`\n }\n return `${camelCase(ctx.group)}Requests`\n }\n\n return path.resolve(\n root,\n output.path,\n groupName({\n group: group.type === 'path' ? options.group.path! : options.group.tag!,\n }),\n baseName,\n )\n }\n\n return path.resolve(root, output.path, baseName)\n },\n resolveName(name, type) {\n const resolvedName = camelCase(name, {\n isFile: type === 'file',\n })\n\n if (type) {\n return transformers?.name?.(resolvedName, type) || resolvedName\n }\n\n return resolvedName\n },\n async buildStart() {\n const [swaggerPlugin]: [Plugin<SwaggerPluginOptions>] = PluginManager.getDependedPlugins<SwaggerPluginOptions>(this.plugins, [pluginOasName])\n\n const oas = await swaggerPlugin.context.getOas()\n const root = path.resolve(this.config.root, this.config.output.path)\n const mode = FileManager.getMode(path.resolve(root, output.path))\n\n const operationGenerator = new OperationGenerator(this.plugin.options, {\n oas,\n pluginManager: this.pluginManager,\n plugin: this.plugin,\n contentType,\n exclude,\n include,\n override,\n mode,\n })\n\n const files = await operationGenerator.build(...generators)\n await this.addFile(...files)\n\n const barrelFiles = await this.fileManager.getBarrelFiles({\n type: output.barrelType ?? 'named',\n root,\n output,\n meta: {\n pluginKey: this.plugin.key,\n },\n logger: this.logger,\n })\n\n await this.addFile(...barrelFiles)\n },\n }\n})\n"],"mappings":";;;;;;;;;AAYA,MAAa,oBAAoB;AAEjC,MAAa,gBAAgB,aAA4B,CAAC,YAAY;CACpE,MAAM,EACJ,SAAS;EAAE,MAAM;EAAW,YAAY;CAAS,GACjD,OACA,iBAAiB,QACjB,UAAU,CAAE,GACZ,SACA,WAAW,CAAE,GACb,eAAe,CAAE,GACjB,aAAa,CAAC,gBAAiB,EAAC,OAAO,QAAQ,EAC/C,aACA,SACD,GAAG;AAEJ,QAAO;EACL,MAAM;EACN,SAAS;GACP;GACA;GACA;GACA;EACD;EACD,KAAK,CAAC,eAAe,YAAa,EAAC,OAAO,QAAQ;EAClD,YAAY,UAAU,UAAUA,WAAS;GACvC,MAAM,OAAO,KAAK,QAAQ,KAAK,OAAO,MAAM,KAAK,OAAO,OAAO,KAAK;GACpE,MAAM,OAAO,YAAY,YAAY,QAAQ,KAAK,QAAQ,MAAM,OAAO,KAAK,CAAC;AAE7E,OAAI,SAAS;;;;;AAKX,UAAO,KAAK,QAAQ,MAAM,OAAO,KAAK;AAGxC,OAAI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