Repository navigation
feat: 优化和修复 demo 相关的问题 - #63
Merged
Merged
Conversation
- 删除 package.json 中的 ci 脚本 - 更新 CONTRIBUTING.md、README 和 README.zh-CN.md 中的验证命令说明 - 在站点品牌标识中添加 Lite 标签样式
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
- 将裁剪记录文件移至脚本目录 - 添加首页关系图数据说明文档
- 在首页包体积测量中显示与 G6 的对比百分比 - 移除示例源码生成脚本及相关构建步骤
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.

This pull request refactors the development workflow, documentation, and build scripts to streamline the contributor experience and remove legacy playground code. The main changes include removing the old
playground/directory and related scripts, updating documentation to reflect the new workflow, and simplifying build and lint scripts. It also updates the GitHub Actions workflows to use the new site build process.Build and Workflow Updates:
The
devscript now starts the Next.js docs site and examples fromsite/, instead of the old Vite-based playground. Theciandsitescripts are removed, and contributors are instructed to run individual verification scripts (lint,typecheck,test,build,size). (package.json,CONTRIBUTING.md,README.md,README.zh-CN.md) [1] [2] [3] [4] [5] [6]GitHub Actions workflows (
deploy.yml,preview.yml) are updated to build the site from the correct directory and usenpm run buildinsite/. [1] [2]Codebase Cleanup:
The entire
playground/directory and its demo/capture scripts are removed, as all examples and dev servers are now handled by the new docs site. (playground/capture-demo.html,playground/capture-demo.ts,playground/capture.html,playground/capture.ts) [1] [2] [3] [4]The ESLint config is updated to stop ignoring the
playground/directory, since it no longer exists. (eslint.config.js)Documentation Improvements:
CONTRIBUTING.md,README.md,README.zh-CN.md) [1] [2] [3] [4] [5]