@unocss/config 66.10.3 → 66.10.5

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +3 -3
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { LoadConfigResult, LoadConfigSource } from "unconfig";
2
2
  import { UserConfig, UserConfigDefaults } from "@unocss/core";
3
3
  //#region src/index.d.ts
4
- declare function loadConfig<U extends UserConfig>(cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults): Promise<LoadConfigResult<U>>;
4
+ export declare function loadConfig<U extends UserConfig>(cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults): Promise<LoadConfigResult<U>>;
5
5
  /**
6
6
  * Create a factory function that returns a config loader that recovers from errors.
7
7
  *
@@ -9,6 +9,6 @@ declare function loadConfig<U extends UserConfig>(cwd?: string, configOrPath?: s
9
9
  *
10
10
  * Mainly used for dev-time where users might have a broken config in between changes.
11
11
  */
12
- declare function createRecoveryConfigLoader<U extends UserConfig>(): (cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults) => Promise<LoadConfigResult<U>>;
12
+ export declare function createRecoveryConfigLoader<U extends UserConfig>(): (cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults) => Promise<LoadConfigResult<U>>;
13
13
  //#endregion
14
- export { type LoadConfigResult, type LoadConfigSource, createRecoveryConfigLoader, loadConfig };
14
+ export type { LoadConfigResult, LoadConfigSource };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/config",
3
3
  "type": "module",
4
- "version": "66.10.3",
4
+ "version": "66.10.5",
5
5
  "description": "Config loader for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@unocss/core": "66.10.3",
29
+ "@unocss/core": "66.10.5",
30
30
  "colorette": "^2.0.20",
31
31
  "consola": "^3.4.2",
32
32
  "unconfig": "^7.5.0"