Repository navigation
build(npm): configure public CRYChart distribution - #6
Merged
Merged
Conversation
3 of 5 tasks
cuimmm
approved these changes
Nov 16, 2026
KyleHuangFromHZ
added a commit
to crysound/OpenTest
that referenced
this pull request
Nov 16, 2026
## 改了什么,为什么 / What changed and why OpenTest 前端现在通过 pnpm 安装已公开发布的 `@crysound/crychart@1.0.1`。旧 tgz 保留作历史材料。更新了锁文件、主入口和主题导入、构建完整性校验,以及中英文接入文档。字体诊断使用当前锁定的安装入口。 OpenTest now installs the public CRYChart package through pnpm. The build checks the installed package and the chart bundle against the locked dependency and build record. CRYChart 发布配置和 `1.0.1` 发行记录见 crysound/CRYChart#6。OpenTest 仍使用已经公开的 `1.0.1`。 制品对照:旧 `1.0.1-opentest.30` tgz 与 npm 实际发布的 `1.0.1` 对比,忽略版本字符串和 source map 注释后,4 个运行入口和 72 个类型声明内容一致。发布归档及校验值见 crysound/CRYChart#6 的发行验收记录。 ## 怎么验证的 / How it was verified - [x] 冻结安装、前端生产构建、图表产物完整性校验通过 / Frozen install, production frontend build, and chart bundle integrity passed. - [x] 1,209 项图表测试、19 项打包工具测试及 Chrome 字体诊断通过 / Chart and packaging tool tests and the Chrome font diagnostic passed. - [x] 中英文文档策略检查通过 / Bilingual documentation check passed. - [ ] 真机采集或完整安装器验证 / Device acquisition or full installer acceptance. `pnpm typecheck:tests` 以 CI 的 6 GB 堆上限运行,在本 PR 未改动的 6 个源文件中报告 9 处类型错误。本 PR 的前端生产构建和图表测试均通过。 ## 影响 / Impact 不涉及插件 API、通信协议或数据格式改动。Plugin APIs, protocols, and data formats remain unchanged. ## 贡献授权 / Contribution license - [ ] 我已阅读并同意 OpenTest 社区许可协议第 11 条“社区贡献” / I have read and agree to section 11, Community Contributions, of the OpenTest Community License. --------- Co-authored-by: huangkai <kyly.huang@crysound.com.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Configure the public
@crysound/crychartpackage, document the first public release, and verify that packaging includes the ESM, CommonJS, browser and theme entries with their TypeScript declarations. The package retains CRYChart Community License 1.0.The npm
1.0.1archive was already released and verified. The branch retains the high precision waveform fix from #5 and assigns the changed source version1.0.2. This PR does not publish that version.Validation
npm run typecheckpassed.npm testpassed 1,222 tests, with 2 skipped.npm run test:opentest-contractpassed all 31 tests.npm packproduced a local1.0.2archive with the expected 82 files, including 72.d.tsfiles.