@kubb/core 1.1.0 → 1.1.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/README.md CHANGED
@@ -10,13 +10,13 @@
10
10
  <!-- Badges -->
11
11
  <p>
12
12
  <a href="https://www.npmjs.com/package/@kubb/core">
13
- <img alt="Npm version" src="https://img.shields.io/npm/v/@kubb/core?style=for-the-badge"/>
13
+ <img alt="npm version" src="https://img.shields.io/npm/v/@kubb/core?style=for-the-badge"/>
14
14
  </a>
15
15
  <a href="https://www.npmjs.com/package/@kubb/core">
16
- <img alt="Npm downloads" src="https://img.shields.io/bundlephobia/min/@kubb/core?style=for-the-badge"/>
16
+ <img alt="npm downloads" src="https://img.shields.io/bundlephobia/min/@kubb/core?style=for-the-badge"/>
17
17
  </a>
18
18
  <a href="https://www.npmjs.com/package/@kubb/core">
19
- <img alt="Npm downloads" src="https://img.shields.io/npm/dm/@kubb/core?style=for-the-badge"/>
19
+ <img alt="npm downloads" src="https://img.shields.io/npm/dm/@kubb/core?style=for-the-badge"/>
20
20
  </a>
21
21
  </p>
22
22
 
package/dist/index.d.ts CHANGED
@@ -343,7 +343,7 @@ type KubbConfig = {
343
343
  hooks?: {
344
344
  /**
345
345
  * Hook that will be triggerend at the end of all executions.
346
- * Useful for running Prettier or Eslint to use your own linting structure.
346
+ * Useful for running Prettier or ESLint to use your own linting structure.
347
347
  */
348
348
  done?: string | string[];
349
349
  };
@@ -403,10 +403,10 @@ type KubbPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> =
403
403
  */
404
404
  options?: TOptions['options'];
405
405
  } & Partial<PluginLifecycle<TOptions>>;
406
- type PluginFactoryOptions<Options = unknown, Nested extends boolean = false, Api = any, resolvePathOptions = Record<string, any>> = {
406
+ type PluginFactoryOptions<Options = unknown, Nested extends boolean = false, API = any, resolvePathOptions = Record<string, any>> = {
407
407
  options: Options;
408
408
  nested: Nested;
409
- api: Api;
409
+ api: API;
410
410
  resolvePathOptions: resolvePathOptions;
411
411
  };
412
412
  type PluginLifecycle<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Generator core",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,7 +43,7 @@
43
43
  "change-case": "^4.1.2",
44
44
  "directory-tree": "^3.5.1",
45
45
  "rimraf": "^5.0.1",
46
- "@kubb/ts-codegen": "1.1.0"
46
+ "@kubb/ts-codegen": "1.1.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "tsup": "^6.7.0",
package/src/types.ts CHANGED
@@ -74,7 +74,7 @@ export type KubbConfig = {
74
74
  hooks?: {
75
75
  /**
76
76
  * Hook that will be triggerend at the end of all executions.
77
- * Useful for running Prettier or Eslint to use your own linting structure.
77
+ * Useful for running Prettier or ESLint to use your own linting structure.
78
78
  */
79
79
  done?: string | string[]
80
80
  }
@@ -144,10 +144,10 @@ export type KubbPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOpti
144
144
  } & Partial<PluginLifecycle<TOptions>>
145
145
 
146
146
  // use of type objects
147
- export type PluginFactoryOptions<Options = unknown, Nested extends boolean = false, Api = any, resolvePathOptions = Record<string, any>> = {
147
+ export type PluginFactoryOptions<Options = unknown, Nested extends boolean = false, API = any, resolvePathOptions = Record<string, any>> = {
148
148
  options: Options
149
149
  nested: Nested
150
- api: Api
150
+ api: API
151
151
  resolvePathOptions: resolvePathOptions
152
152
  }
153
153