@longzai-intelligence-changelog/config 0.0.2 → 0.0.3

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.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  //#region src/types.d.ts
2
2
  /**
3
- * changelog 配置类型
3
+ * lzi-changelog 配置类型
4
4
  *
5
- * lzi-changelog.config.ts 的类型定义。盖章集合由多生态自动发现承载
6
- * (npm workspace / rust / 鸿蒙 / 仓根),不设显式包清单字段;
7
- * 配置字段随 lzi-changelog 业务演进在此扩展。
5
+ * 当前无字段,后续字段随业务演进在此扩展
8
6
  */
9
7
  type LziChangelogConfig = Record<string, never>;
10
8
  //#endregion
@@ -18,12 +16,12 @@ type LziChangelogConfig = Record<string, never>;
18
16
  * ```typescript
19
17
  * import { defineConfig } from '@longzai-intelligence-changelog/config';
20
18
  *
21
- * export default defineConfig({});
19
+ * export default defineConfig();
22
20
  * ```;
23
21
  *
24
- * @param config - lzi-changelog 配置对象
22
+ * @param config - lzi-changelog 配置对象,缺省为空配置
25
23
  * @returns 原样返回传入的配置对象
26
24
  */
27
- declare const defineConfig: (config: LziChangelogConfig) => LziChangelogConfig;
25
+ declare const defineConfig: (config?: LziChangelogConfig) => LziChangelogConfig;
28
26
  //#endregion
29
27
  export { type LziChangelogConfig, defineConfig };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const e=e=>e;export{e as defineConfig};
1
+ const e=(e={})=>e;export{e as defineConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-changelog/config",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Longzai Intelligence changelog 配置(lzi-changelog.config.ts 类型定义与 defineConfig 工厂)",
5
5
  "license": "UNLICENSED",
6
6
  "files": [