@longzai-intelligence-records/config 0.0.7 → 0.0.9
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 +1 -10
- package/package.json +2 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import "./rolldown-runtime-BqT_7tdF.js";
|
|
2
1
|
import * as z from "zod";
|
|
3
|
-
//#region src/schema/lzi-records-config.schema.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* scope key 合法形态(kebab-case)
|
|
6
4
|
*/
|
|
@@ -80,15 +78,13 @@ declare function parseLziRecordsConfig(input: unknown): LziRecordsConfig;
|
|
|
80
78
|
/**
|
|
81
79
|
* 定义 lzi-records 配置(identity 工厂)
|
|
82
80
|
*
|
|
83
|
-
* 类型透传,与 lzi-dev.config.ts / oxfmt.config.ts 等 workspace 配置惯例同构:
|
|
81
|
+
* 类型透传,与 lzi-dev-tools.config.ts / oxfmt.config.ts 等 workspace 配置惯例同构:
|
|
84
82
|
* 不在工厂层做任何合并——默认值由本模块 schema 解析层统一落定。
|
|
85
83
|
*
|
|
86
84
|
* @param config - 配置对象,可整体省略,零参形态由解析层落定全部缺省
|
|
87
85
|
* @returns 原样返回传入的配置对象
|
|
88
86
|
*/
|
|
89
87
|
declare function defineConfig(config?: LziRecordsConfigInput): LziRecordsConfigInput;
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/loader/load-records-config.utils.d.ts
|
|
92
88
|
/**
|
|
93
89
|
* 配置来源类型
|
|
94
90
|
*/
|
|
@@ -160,8 +156,6 @@ declare function loadLziRecordsConfig(options?: LoadLziRecordsConfigOptions): Pr
|
|
|
160
156
|
* @throws {@link Error} 导入失败或无 default 导出
|
|
161
157
|
*/
|
|
162
158
|
declare function importConfigModule(configPath: string): Promise<unknown>;
|
|
163
|
-
//#endregion
|
|
164
|
-
//#region src/scaffold/render-scaffold.renderer.d.ts
|
|
165
159
|
/**
|
|
166
160
|
* lzi-records 配置脚手架渲染(init 命令落盘)
|
|
167
161
|
*
|
|
@@ -191,8 +185,6 @@ type ConfigScaffoldInput = {
|
|
|
191
185
|
* @returns 可直接落盘的配置文件全文
|
|
192
186
|
*/
|
|
193
187
|
declare function renderConfigScaffold(input: ConfigScaffoldInput): string;
|
|
194
|
-
//#endregion
|
|
195
|
-
//#region src/validation/validate-cross-entries.d.ts
|
|
196
188
|
/**
|
|
197
189
|
* 校验并透传配置(语义非法即抛,消息聚合全部违规项)
|
|
198
190
|
*
|
|
@@ -201,5 +193,4 @@ declare function renderConfigScaffold(input: ConfigScaffoldInput): string;
|
|
|
201
193
|
* @throws {@link Error} 跨条目语义违规
|
|
202
194
|
*/
|
|
203
195
|
declare function validateLziRecordsConfig(config: LziRecordsConfig): LziRecordsConfig;
|
|
204
|
-
//#endregion
|
|
205
196
|
export { ConfigScaffoldInput, DEFAULT_REGISTRY_DIR, LintBaselineEntry, LoadLziRecordsConfigFailure, LoadLziRecordsConfigOptions, LoadLziRecordsConfigResult, LoadLziRecordsConfigSuccess, LziRecordsConfig, LziRecordsConfigInput, LziRecordsConfigSource, SCOPE_KEY_PATTERN, ScopeEntry, ScopeEntryInput, baselineEntrySchema, defineConfig, importConfigModule, loadLziRecordsConfig, lziRecordsConfigSchema, parseLziRecordsConfig, renderConfigScaffold, validateLziRecordsConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longzai-intelligence-records/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Longzai Intelligence Records 配置",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -25,10 +25,7 @@
|
|
|
25
25
|
"build": "lzi-builder",
|
|
26
26
|
"build:prod": "NODE_ENV=production bun run build",
|
|
27
27
|
"prepublishOnly": "bun run build:prod",
|
|
28
|
-
"typecheck": "
|
|
29
|
-
"typecheck:app": "lzi-tsgo typecheck tsconfig/app.json",
|
|
30
|
-
"typecheck:node": "lzi-tsgo typecheck tsconfig/node.json",
|
|
31
|
-
"typecheck:test": "lzi-tsgo typecheck tsconfig/test.json",
|
|
28
|
+
"typecheck": "lzi-typecheck",
|
|
32
29
|
"lint": "lzi-lint lint",
|
|
33
30
|
"lint:fix": "lzi-lint fix",
|
|
34
31
|
"test": "bun test",
|
|
@@ -38,8 +35,5 @@
|
|
|
38
35
|
"dependencies": {
|
|
39
36
|
"@longzai-intelligence-shared-config/core": "^0.0.5",
|
|
40
37
|
"zod": "^4.4.3"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@types/bun": "latest"
|
|
44
38
|
}
|
|
45
39
|
}
|