From 5e83b58a97aa1acb1079b85aee23d63941d4bd13 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 11 Dec 2024 15:44:54 +0800 Subject: [PATCH] released v2.0.0 --- core/README.md | 11 +++++++++-- core/package.json | 2 +- lerna.json | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/core/README.md b/core/README.md index f8f8eb4..b5b8d33 100644 --- a/core/README.md +++ b/core/README.md @@ -343,7 +343,11 @@ This guide provides the steps to migrate to the latest version of the configurat **Example:** ```ts - export type LoaderFunc = (filepath: string, content: string, jsOption?: LoadConfOption) => T | Promise; + export type LoaderFunc = ( + filepath: string, + content: string, + jsOption?: LoadConfOption + ) => T | Promise; ``` 2. **`autoConf` Returns a Promise** @@ -352,7 +356,10 @@ This guide provides the steps to migrate to the latest version of the configurat **Example:** ```ts - export declare function autoConf(namespace?: string, option?: AutoConfOption): Promise<{} & T>; + export declare function autoConf( + namespace?: string, + option?: AutoConfOption + ): Promise<{} & T>; ``` ### Migration Steps diff --git a/core/package.json b/core/package.json index d3a2136..8d14aad 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "auto-config-loader", - "version": "1.7.8", + "version": "2.0.0", "description": "Find and load configuration from a package.json property, rc file, or CommonJS module.", "main": "./lib/index.js", "type": "commonjs", diff --git a/lerna.json b/lerna.json index 4cb6cf6..d0984d8 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "version": "1.7.8", + "version": "2.0.0", "packages": ["core"] }