Closed zifengb closed 6 months ago
[!IMPORTANT]
Auto Review Skipped
Review was skipped due to path filters
Files ignored due to path filters (1)
* `packages/schema/schema.json` is excluded by: `!**/*.json`
The recent updates introduce clearer and more consistent configurations within the core package by ensuring boolean properties in the GlobalStyle
interface now have boolean default values. Additionally, the SubPackage
interface's pages
property type has been refined from a broad any
array to a more specific PageMetaDatum
array, enhancing type safety and clarity in the project structure.
Files | Change Summary |
---|---|
.../config/types/globalStyle.ts , .../index.ts |
Set boolean defaults in GlobalStyle ; pages in SubPackage now PageMetaDatum array. |
🎉🐰✨
In the realm of code, under digital skies,
A rabbit hopped, with bright, wise eyes.
"Let's tidy up," it said with glee,
Boolean defaults, clear as can be.
Fromany
toPageMetaDatum
, a precise leap,
In the heart of the code, improvements seep.
🌟📚🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@uni-helper/pages-json-schema 是根据 core 的 ts 类型自动生成的,请不要直接更新 json 文件,而是去更新 ts 类型并生成相应的 json 文件,谢谢。
@uni-helper/pages-json-schema 是根据 core 的 ts 类型自动生成的,请不要直接更新 json 文件,而是去更新 ts 类型并生成相应的 json 文件,谢谢。
多谢指导,那我理解是不是更新 ts 类型后,并且跑 schema/package.json 里面的命令生成 schema.json,然后一起提交就完成了?
@uni-helper/pages-json-schema 是根据 core 的 ts 类型自动生成的,请不要直接更新 json 文件,而是去更新 ts 类型并生成相应的 json 文件,谢谢。
多谢指导,那我理解是不是更新 ts 类型后,并且跑 schema/package.json 里面的命令生成 schema.json,然后一起提交就完成了?
是的
Thank you!
fix: 修复 pages.json 布尔类型初始值问题 fix: 修复分包 subPackages 的 schema 类型引用
Summary by CodeRabbit