schema-dsl 1.2.3 → 1.2.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.
package/.eslintignore CHANGED
@@ -1,10 +1,11 @@
1
- node_modules/
2
- coverage/
3
- .nyc_output/
4
- dist/
5
- build/
6
- *.log
7
- .DS_Store
8
- .temp/
9
- reports/
10
-
1
+ node_modules/
2
+ coverage/
3
+ .nyc_output/
4
+ dist/
5
+ build/
6
+ *.log
7
+ .DS_Store
8
+ .temp/
9
+ reports/
10
+ *.d.ts
11
+
package/CHANGELOG.md CHANGED
@@ -9,6 +9,8 @@
9
9
 
10
10
  | 版本 | 日期 | 变更摘要 | 详细 |
11
11
  |------|------|---------|------|
12
+ | [v1.2.5](./changelogs/v1.2.5.md) | 2026-03-09 | 🚀 新功能:`DslBuilder.toJsonSchema()` — 输出纯净 JSON Schema(自动清理 `_required`/`_customMessages` 等内部标记),下游(如 vext OpenAPI)无需再手动清理 | [查看](./changelogs/v1.2.5.md) |
13
+ | [v1.2.4](./changelogs/v1.2.4.md) | 2026-03-09 | 🐛 P1 Bug修复:`enum:a,b,c` 逗号分隔格式解析完全失效 - DslBuilder 和 DslAdapter 均只检测管道符 `\|`,导致最常用的逗号分隔枚举格式被静默忽略 | [查看](./changelogs/v1.2.4.md) |
12
14
  | [v1.2.3](./changelogs/v1.2.3.md) | 2026-03-03 | 🚀 新功能:i18n 子目录合并 - 多人协作独立维护语言文件,自动递归合并 + 冲突检测 | [查看](./changelogs/v1.2.3.md) |
13
15
  | [v1.2.2](./changelogs/v1.2.2.md) | 2026-02-06 | 🚀 重大功能:智能类型转换 - 字符串数字自动转换,完美支持 Web API | [查看](./changelogs/v1.2.2.md) |
14
16
  | [v1.1.8](./changelogs/v1.1.8.md) | 2026-01-30 | 🚀 新功能:智能参数识别 - 支持简化语法 `dsl.error.throw('key', 'locale')` | [查看](./changelogs/v1.1.8.md) |
package/CONTRIBUTING.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  ### 报告 Bug
27
27
 
28
- 发现 Bug?请[创建 Issue](https://github.com/yourusername/schema-dsl/issues),并提供以下信息:
28
+ 发现 Bug?请[创建 Issue](https://github.com/vextjs/schema-dsl/issues),并提供以下信息:
29
29
 
30
30
  - **环境信息**: Node.js 版本、操作系统
31
31
  - **重现步骤**: 详细的步骤描述
@@ -56,7 +56,7 @@
56
56
 
57
57
  ### 提出功能请求
58
58
 
59
- 有好的想法?请[创建 Feature Request](https://github.com/yourusername/schema-dsl/issues),说明:
59
+ 有好的想法?请[创建 Feature Request](https://github.com/vextjs/schema-dsl/issues),说明:
60
60
 
61
61
  - **功能描述**: 您想要什么功能
62
62
  - **使用场景**: 这个功能解决什么问题
@@ -78,7 +78,7 @@
78
78
  ### 1. 克隆仓库
79
79
 
80
80
  ```bash
81
- git clone https://github.com/yourusername/schema-dsl.git
81
+ git clone https://github.com/vextjs/schema-dsl.git
82
82
  cd schema-dsl
83
83
  ```
84
84
 
@@ -352,9 +352,9 @@ node test/benchmarks/validation-speed.js
352
352
 
353
353
  ## 获取帮助
354
354
 
355
- - **提问**: [GitHub Discussions](https://github.com/yourusername/schema-dsl/discussions)
356
- - **Bug 报告**: [GitHub Issues](https://github.com/yourusername/schema-dsl/issues)
357
- - **邮件**: your-email@example.com
355
+ - **提问**: [GitHub Discussions](https://github.com/vextjs/schema-dsl/discussions)
356
+ - **Bug 报告**: [GitHub Issues](https://github.com/vextjs/schema-dsl/issues)
357
+ - **邮件**: rockyshi1993@gmail.com
358
358
 
359
359
  ---
360
360
 
@@ -143,7 +143,7 @@ console.log(result.errors[0].message);
143
143
 
144
144
  ## 🙏 致谢
145
145
 
146
- 感谢 [monSQLize](https://github.com/zy410419243/monSQLize) 项目发现并报告此问题。
146
+ 感谢 [monSQLize](https://github.com/vextjs/monSQLize) 项目发现并报告此问题。
147
147
 
148
148
  ---
149
149