@kubb/plugin-client 3.0.0-alpha.0 → 3.0.0-alpha.1
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.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-DWYt1NR3.d.cts → types-xK4X9e5d.d.cts} +0 -5
- package/dist/{types-DWYt1NR3.d.ts → types-xK4X9e5d.d.ts} +0 -5
- package/package.json +14 -14
- package/src/types.ts +0 -6
- package/globals.d.ts +0 -24
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
|
2
|
-
import { O as Options, P as PluginClient } from './types-
|
|
2
|
+
import { O as Options, P as PluginClient } from './types-xK4X9e5d.cjs';
|
|
3
3
|
import '@kubb/fs/types';
|
|
4
4
|
import '@kubb/plugin-oas';
|
|
5
5
|
import '@kubb/core/utils';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
|
2
|
-
import { O as Options, P as PluginClient } from './types-
|
|
2
|
+
import { O as Options, P as PluginClient } from './types-xK4X9e5d.js';
|
|
3
3
|
import '@kubb/fs/types';
|
|
4
4
|
import '@kubb/plugin-oas';
|
|
5
5
|
import '@kubb/core/utils';
|
|
@@ -224,10 +224,5 @@ type ResolvedOptions = {
|
|
|
224
224
|
templates: NonNullable<Templates>;
|
|
225
225
|
};
|
|
226
226
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
227
|
-
declare module '@kubb/core' {
|
|
228
|
-
interface _Register {
|
|
229
|
-
['@kubb/plugin-client']: PluginClient;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
227
|
|
|
233
228
|
export { Client as C, type Options as O, type PluginClient as P, Operations as a };
|
|
@@ -224,10 +224,5 @@ type ResolvedOptions = {
|
|
|
224
224
|
templates: NonNullable<Templates>;
|
|
225
225
|
};
|
|
226
226
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
227
|
-
declare module '@kubb/core' {
|
|
228
|
-
interface _Register {
|
|
229
|
-
['@kubb/plugin-client']: PluginClient;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
227
|
|
|
233
228
|
export { Client as C, type Options as O, type PluginClient as P, Operations as a };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"description": "Generator plugin-client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -64,27 +64,27 @@
|
|
|
64
64
|
"!/**/__tests__/**"
|
|
65
65
|
],
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@kubb/core": "3.0.0-alpha.
|
|
68
|
-
"@kubb/fs": "3.0.0-alpha.
|
|
69
|
-
"@kubb/oas": "3.0.0-alpha.
|
|
70
|
-
"@kubb/parser-ts": "3.0.0-alpha.
|
|
71
|
-
"@kubb/plugin-oas": "3.0.0-alpha.
|
|
72
|
-
"@kubb/plugin-ts": "3.0.0-alpha.
|
|
73
|
-
"@kubb/react": "3.0.0-alpha.
|
|
67
|
+
"@kubb/core": "3.0.0-alpha.1",
|
|
68
|
+
"@kubb/fs": "3.0.0-alpha.1",
|
|
69
|
+
"@kubb/oas": "3.0.0-alpha.1",
|
|
70
|
+
"@kubb/parser-ts": "3.0.0-alpha.1",
|
|
71
|
+
"@kubb/plugin-oas": "3.0.0-alpha.1",
|
|
72
|
+
"@kubb/plugin-ts": "3.0.0-alpha.1",
|
|
73
|
+
"@kubb/react": "3.0.0-alpha.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@types/react": "^18.3.
|
|
77
|
-
"axios": "^1.7.
|
|
76
|
+
"@types/react": "^18.3.4",
|
|
77
|
+
"axios": "^1.7.5",
|
|
78
78
|
"react": "^18.3.1",
|
|
79
79
|
"tsup": "^8.2.4",
|
|
80
80
|
"typescript": "^5.5.4",
|
|
81
|
-
"@kubb/config-biome": "3.0.0-alpha.
|
|
82
|
-
"@kubb/config-ts": "3.0.0-alpha.
|
|
83
|
-
"@kubb/config-tsup": "3.0.0-alpha.
|
|
81
|
+
"@kubb/config-biome": "3.0.0-alpha.1",
|
|
82
|
+
"@kubb/config-ts": "3.0.0-alpha.1",
|
|
83
|
+
"@kubb/config-tsup": "3.0.0-alpha.1"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"axios": "^1.7.2",
|
|
87
|
-
"@kubb/react": "3.0.0-alpha.
|
|
87
|
+
"@kubb/react": "3.0.0-alpha.1"
|
|
88
88
|
},
|
|
89
89
|
"peerDependenciesMeta": {
|
|
90
90
|
"axios": {
|
package/src/types.ts
CHANGED
|
@@ -121,9 +121,3 @@ export type FileMeta = {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>
|
|
124
|
-
|
|
125
|
-
declare module '@kubb/core' {
|
|
126
|
-
export interface _Register {
|
|
127
|
-
['@kubb/plugin-client']: PluginClient
|
|
128
|
-
}
|
|
129
|
-
}
|
package/globals.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference no-default-lib="true" />
|
|
2
|
-
/// <reference lib="esnext" />
|
|
3
|
-
|
|
4
|
-
type Environments = import('./src/types.ts').Environments
|
|
5
|
-
|
|
6
|
-
declare module 'global' {
|
|
7
|
-
namespace NodeJS {
|
|
8
|
-
export interface ProcessEnv extends Partial<Record<keyof Environments, string>> {}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* `tsconfig.json`
|
|
13
|
-
* @example
|
|
14
|
-
"compilerOptions": {
|
|
15
|
-
___ "types": ["@kubb/plugin-client/globals"]
|
|
16
|
-
}
|
|
17
|
-
* @example implementation
|
|
18
|
-
{
|
|
19
|
-
___ env?: NodeJS.ProcessEnv
|
|
20
|
-
}
|
|
21
|
-
*/
|
|
22
|
-
declare namespace NodeJS {
|
|
23
|
-
export interface ProcessEnv extends Partial<Record<keyof Environments, string>> {}
|
|
24
|
-
}
|