@kubb/plugin-redoc 4.12.14 → 4.13.0

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.cts CHANGED
@@ -305,22 +305,24 @@ type Config<TInput = Input> = {
305
305
  * @default prettier
306
306
  *
307
307
  * Possible values:
308
+ * - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
308
309
  * - 'prettier': Uses Prettier for code formatting.
309
310
  * - 'biome': Uses Biome for code formatting.
310
311
  *
311
312
  */
312
- format?: 'prettier' | 'biome' | false;
313
+ format?: 'auto' | 'prettier' | 'biome' | false;
313
314
  /**
314
315
  * Specifies the linter that should be used to analyze the code.
315
316
  * The accepted values indicate different linting tools.
316
317
  *
317
318
  * Possible values:
319
+ * - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
318
320
  * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
319
321
  * - 'biome': Represents the Biome linter, a modern tool for code scanning.
320
322
  * - 'oxlint': Represents the Oxlint tool for linting purposes.
321
323
  *
322
324
  */
323
- lint?: 'eslint' | 'biome' | 'oxlint' | false;
325
+ lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
324
326
  /**
325
327
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
326
328
  * @default { '.ts': '.ts'}
package/dist/index.d.ts CHANGED
@@ -305,22 +305,24 @@ type Config<TInput = Input> = {
305
305
  * @default prettier
306
306
  *
307
307
  * Possible values:
308
+ * - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
308
309
  * - 'prettier': Uses Prettier for code formatting.
309
310
  * - 'biome': Uses Biome for code formatting.
310
311
  *
311
312
  */
312
- format?: 'prettier' | 'biome' | false;
313
+ format?: 'auto' | 'prettier' | 'biome' | false;
313
314
  /**
314
315
  * Specifies the linter that should be used to analyze the code.
315
316
  * The accepted values indicate different linting tools.
316
317
  *
317
318
  * Possible values:
319
+ * - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
318
320
  * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
319
321
  * - 'biome': Represents the Biome linter, a modern tool for code scanning.
320
322
  * - 'oxlint': Represents the Oxlint tool for linting purposes.
321
323
  *
322
324
  */
323
- lint?: 'eslint' | 'biome' | 'oxlint' | false;
325
+ lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
324
326
  /**
325
327
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
326
328
  * @default { '.ts': '.ts'}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-redoc",
3
- "version": "4.12.14",
3
+ "version": "4.13.0",
4
4
  "description": "Beautiful docs with Redoc",
5
5
  "keywords": [
6
6
  "typescript",
@@ -46,14 +46,14 @@
46
46
  }
47
47
  ],
48
48
  "dependencies": {
49
- "@kubb/react-fabric": "0.7.4",
49
+ "@kubb/react-fabric": "0.9.0",
50
50
  "handlebars": "^4.7.8",
51
- "@kubb/core": "4.12.14",
52
- "@kubb/oas": "4.12.14",
53
- "@kubb/plugin-oas": "4.12.14"
51
+ "@kubb/core": "4.13.0",
52
+ "@kubb/oas": "4.13.0",
53
+ "@kubb/plugin-oas": "4.13.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@kubb/react-fabric": "0.7.4"
56
+ "@kubb/react-fabric": "0.9.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=20"