@kubb/core 5.20.0 → 5.20.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.cts CHANGED
@@ -2126,7 +2126,8 @@ type GeneratorContext<TOptions extends PluginType = PluginType> = {
2126
2126
  */
2127
2127
  config: Config;
2128
2128
  /**
2129
- * Absolute path to the current plugin's output directory.
2129
+ * Absolute path to the build's output directory: `config.output.path` resolved against `config.root`.
2130
+ * It is the same for every plugin. A plugin's own `output.path` is relative to it.
2130
2131
  */
2131
2132
  root: string;
2132
2133
  /**
@@ -2782,7 +2783,7 @@ type Group = {
2782
2783
  type: 'tag' | 'path';
2783
2784
  /**
2784
2785
  * Returns the subdirectory name from the group key. Defaults to the camelCased tag for
2785
- * `tag` groups, or the first path segment as written in the spec for `path` groups.
2786
+ * `tag` groups, or the camelCased first path segment for `path` groups.
2786
2787
  */
2787
2788
  name?: (context: {
2788
2789
  group: string;
@@ -3292,7 +3293,8 @@ type Adapter<TOptions extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3292
3293
  document: TOptions['document'] | null;
3293
3294
  /**
3294
3295
  * The files and URLs the last `parse()` read, such as the ones external `$ref`s point at, including
3295
- * any that could not be read. Inline data is not listed. A watcher rebuilds when one of them changes.
3296
+ * any that could not be read. Inline data is not listed. A tool that watches files can use the list.
3297
+ * `kubb generate --watch` does not read it.
3296
3298
  */
3297
3299
  sources?: Array<string>;
3298
3300
  /**
package/dist/index.d.ts CHANGED
@@ -2126,7 +2126,8 @@ type GeneratorContext<TOptions extends PluginType = PluginType> = {
2126
2126
  */
2127
2127
  config: Config;
2128
2128
  /**
2129
- * Absolute path to the current plugin's output directory.
2129
+ * Absolute path to the build's output directory: `config.output.path` resolved against `config.root`.
2130
+ * It is the same for every plugin. A plugin's own `output.path` is relative to it.
2130
2131
  */
2131
2132
  root: string;
2132
2133
  /**
@@ -2782,7 +2783,7 @@ type Group = {
2782
2783
  type: 'tag' | 'path';
2783
2784
  /**
2784
2785
  * Returns the subdirectory name from the group key. Defaults to the camelCased tag for
2785
- * `tag` groups, or the first path segment as written in the spec for `path` groups.
2786
+ * `tag` groups, or the camelCased first path segment for `path` groups.
2786
2787
  */
2787
2788
  name?: (context: {
2788
2789
  group: string;
@@ -3292,7 +3293,8 @@ type Adapter<TOptions extends AdapterFactoryOptions = AdapterFactoryOptions> = {
3292
3293
  document: TOptions['document'] | null;
3293
3294
  /**
3294
3295
  * The files and URLs the last `parse()` read, such as the ones external `$ref`s point at, including
3295
- * any that could not be read. Inline data is not listed. A watcher rebuilds when one of them changes.
3296
+ * any that could not be read. Inline data is not listed. A tool that watches files can use the list.
3297
+ * `kubb generate --watch` does not read it.
3296
3298
  */
3297
3299
  sources?: Array<string>;
3298
3300
  /**
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ var __name = (target, value) => __defProp(target, "name", {
21
21
  configurable: true
22
22
  });
23
23
  // package.json
24
- var version = "5.20.0";
24
+ var version = "5.20.2";
25
25
  // ../../internals/utils/src/promise.ts
26
26
  /**
27
27
  * Returns the value cached under `key` in `store`, computing and storing it on the first call.