@longzai-intelligence-paper-report/config 0.0.1 → 0.0.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.
@@ -0,0 +1,15 @@
1
+ $ lzi-builder
2
+ ℹ lzi-builder v0.2.22 powered by rolldown v1.2.15
3
+ ℹ @longzai-intelligence-paper-report/config tsconfig: tsconfig/build.json
4
+ ℹ Cleaning 2 files
5
+ TypeScript 7.0 尚未提供稳定的 API,仍处于实验阶段。部分选项将不可用。
6
+ src/loader.utils.ts (15:24) [UNRESOLVED_IMPORT] Could not resolve 'node:path' in src/loader.utils.ts
7
+ ╭─[ src/loader.utils.ts:15:25 ]
8
+ │
9
+ 15 │ import { resolve } from 'node:path';
10
+  │ ─────┬─────
11
+  │ ╰─────── Module not found, treating it as an external dependency
12
+  │
13
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
14
+ ────╯
15
+
@@ -0,0 +1,24 @@
1
+ $ lzi-bun-cli test
2
+ 警告: @longzai-intelligence-paper-report/config 本包的目录分层是 package,声明的预设却是 root。固定分层预设必须与目录分层一致,custom 与 type-only 不受目录分层约束。请改用 @longzai-intelligence-bun/presets/package 子路径的 defineConfig 声明配置
3
+ bun test v1.4.0 (34cbb9a40)
4
+
5
+ src/__tests__/domain-config.schema.test.ts:
6
+ (pass) PaperReportConfigSchema > 新式编号合法且 dataRoot 缺省为点号 [1.61ms]
7
+ (pass) PaperReportConfigSchema > 带版本后缀的编号合法 [0.02ms]
8
+ (pass) PaperReportConfigSchema > 旧式斜杠编号拒绝 [0.13ms]
9
+ (pass) PaperReportConfigSchema > 空编号拒绝 [0.03ms]
10
+
11
+ src/__tests__/loader.utils.test.ts:
12
+ (pass) discoverConfigPath > 显式路径存在则直接采用 [0.35ms]
13
+ (pass) discoverConfigPath > 显式路径不存在返回 undefined [0.02ms]
14
+ (pass) discoverConfigPath > 自子目录向上发现 [0.34ms]
15
+ (pass) loadPaperReportConfig > 加载并绝对化 dataRoot [16.61ms]
16
+ (pass) loadPaperReportConfig > 缺失配置文件报未找到 [1.01ms]
17
+ (pass) loadPaperReportConfig > 非法导出报结构错误 [0.56ms]
18
+ (pass) scaffoldConfigText > 缺省形态生成零参工厂调用 [0.04ms]
19
+ (pass) scaffoldConfigText > 带编号形态生成对应字段 [0.07ms]
20
+
21
+ 12 pass
22
+ 0 fail
23
+ 22 expect() calls
24
+ Ran 12 tests across 2 files. [62.00ms]
@@ -0,0 +1,4 @@
1
+ $ bun run typecheck:app && bun run typecheck:node && bun run typecheck:test
2
+ $ lzi-tsgo typecheck tsconfig/app.json
3
+ $ lzi-tsgo typecheck tsconfig/node.json
4
+ $ lzi-tsgo typecheck tsconfig/test.json
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@
5
5
  格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
6
6
  本项目遵循 [语义化版本](https://semver.org/lang-zh-CN/)。
7
7
 
8
+ ## [0.0.2] - 2026-11-11
9
+
10
+ ### 变更
11
+
12
+ - build:prod 统一为 bun 转发标准形态
13
+
8
14
  ## [0.0.1] - 2026-10-23
9
15
 
10
16
  ### 变更
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-paper-report/config",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Longzai Intelligence 配置包",
5
5
  "keywords": [
6
6
  "config",
@@ -18,12 +18,9 @@
18
18
  },
19
19
  "scripts": {
20
20
  "build": "lzi-builder",
21
- "build:prod": "NODE_ENV=production lzi-builder",
21
+ "build:prod": "NODE_ENV=production bun run build",
22
22
  "prepublishOnly": "bun run build:prod",
23
- "typecheck": "bun run typecheck:app && bun run typecheck:node && bun run typecheck:test",
24
- "typecheck:app": "lzi-tsgo typecheck tsconfig/app.json",
25
- "typecheck:node": "lzi-tsgo typecheck tsconfig/node.json",
26
- "typecheck:test": "lzi-tsgo typecheck tsconfig/test.json",
23
+ "typecheck": "lzi-typecheck",
27
24
  "lint": "lzi-lint lint",
28
25
  "lint:fix": "lzi-lint fix",
29
26
  "test": "lzi-bun-cli test",