|
27 | 27 | "en": "One CLI unifies development, builds, testing, linting, and formatting across all your JavaScript projects. Powered by the Rspack ecosystem.", |
28 | 28 | "zh": "只需一个 CLI,即可统一所有 JavaScript 项目的开发、构建、测试、代码检查与格式化。由 Rspack 生态驱动。" |
29 | 29 | }, |
30 | | - "unifiedCli": { |
31 | | - "en": "One CLI", |
32 | | - "zh": "统一命令行" |
| 30 | + "appCommandTitle": { |
| 31 | + "en": "From dev to production, fast", |
| 32 | + "zh": "从开发到构建,快人一步" |
33 | 33 | }, |
34 | | - "unifiedCliDesc": { |
35 | | - "en": "Develop, build, test, lint, format code, build libraries, and serve docs with the rs command.", |
36 | | - "zh": "通过 rs 命令完成开发、构建、测试、检查、格式化、库构建和文档开发。" |
| 34 | + "appCommandDesc": { |
| 35 | + "en": "Start a dev server in an instant and build your app for production. Powered by Rsbuild, with the speed of Rspack at every step.", |
| 36 | + "zh": "快速启动开发服务器,轻松构建生产应用。基于 Rsbuild,让 Rspack 的速度贯穿整个开发流程。" |
37 | 37 | }, |
38 | | - "oneConfig": { |
39 | | - "en": "One Configuration", |
40 | | - "zh": "统一配置" |
| 38 | + "appCommandHmr": { |
| 39 | + "en": "Fast feedback with hot module replacement", |
| 40 | + "zh": "热模块替换(HMR),即时反馈代码变更" |
41 | 41 | }, |
42 | | - "oneConfigDesc": { |
43 | | - "en": "Configure the whole toolchain from a single rstack.config.ts file.", |
44 | | - "zh": "在一份 rstack.config.ts 中配置完整工具链。" |
| 42 | + "appCommandProduction": { |
| 43 | + "en": "Optimized production builds powered by Rspack", |
| 44 | + "zh": "由 Rspack 驱动,生成优化的生产产物" |
45 | 45 | }, |
46 | | - "ecosystemPowered": { |
47 | | - "en": "Rstack Powered", |
48 | | - "zh": "Rstack 驱动" |
| 46 | + "appCommandConfig": { |
| 47 | + "en": "One app configuration for development and builds", |
| 48 | + "zh": "开发与构建,共用一份应用配置" |
49 | 49 | }, |
50 | | - "ecosystemPoweredDesc": { |
51 | | - "en": "Built on Rspack, Rsbuild, Rslib, Rstest, Rslint, and Rspress.", |
52 | | - "zh": "基于 Rspack、Rsbuild、Rslib、Rstest、Rslint 和 Rspress。" |
| 50 | + "libCommandTitle": { |
| 51 | + "en": "Your library, ready to ship", |
| 52 | + "zh": "构建你的库,轻松交付" |
53 | 53 | }, |
54 | | - "workflowFriendly": { |
55 | | - "en": "Workflow Friendly", |
56 | | - "zh": "融入现有工作流" |
| 54 | + "libCommandDesc": { |
| 55 | + "en": "Build JavaScript and TypeScript libraries with Rslib. From reusable utilities to component libraries, bring your code to more projects.", |
| 56 | + "zh": "使用 Rslib 构建 JavaScript 和 TypeScript 库。从通用工具到组件库,让你的代码在更多项目中复用。" |
57 | 57 | }, |
58 | | - "workflowFriendlyDesc": { |
59 | | - "en": "Keep using your preferred runtime, package manager, and task runner.", |
60 | | - "zh": "继续使用你熟悉的运行时、包管理器和任务编排工具。" |
| 58 | + "libCommandFormats": { |
| 59 | + "en": "Flexible output formats, including ESM and CommonJS", |
| 60 | + "zh": "灵活的产物格式,支持 ESM 和 CommonJS" |
| 61 | + }, |
| 62 | + "libCommandTypes": { |
| 63 | + "en": "Generate TypeScript declarations with --dts", |
| 64 | + "zh": "通过 --dts 生成 TypeScript 类型声明" |
| 65 | + }, |
| 66 | + "libCommandWatch": { |
| 67 | + "en": "Rebuild on every change with --watch", |
| 68 | + "zh": "通过 --watch 监听变更,自动重新构建" |
| 69 | + }, |
| 70 | + "testCommandTitle": { |
| 71 | + "en": "Test as fast as you build", |
| 72 | + "zh": "测试与开发,同样高效" |
| 73 | + }, |
| 74 | + "testCommandDesc": { |
| 75 | + "en": "Run your tests with Rstest and keep feedback close to your code. Share your build settings and move from local development to CI with ease.", |
| 76 | + "zh": "使用 Rstest 运行测试,及时获得代码反馈。复用构建配置,让测试从本地开发顺畅延伸到 CI。" |
| 77 | + }, |
| 78 | + "testCommandConfig": { |
| 79 | + "en": "Automatically inherit app or library configuration", |
| 80 | + "zh": "自动继承应用或库的配置" |
| 81 | + }, |
| 82 | + "testCommandWatch": { |
| 83 | + "en": "Rerun related tests as your code changes", |
| 84 | + "zh": "代码变更时,自动重新运行相关测试" |
| 85 | + }, |
| 86 | + "testCommandCoverage": { |
| 87 | + "en": "Collect coverage locally or run once in CI", |
| 88 | + "zh": "支持覆盖率收集和适用于 CI 的单次运行" |
| 89 | + }, |
| 90 | + "checkCommandTitle": { |
| 91 | + "en": "Consistent code. One command", |
| 92 | + "zh": "一个命令,保持代码一致" |
| 93 | + }, |
| 94 | + "checkCommandDesc": { |
| 95 | + "en": "Run lint and formatting checks together, with optional TypeScript type checking. Keep your existing code style with support for Prettier options and plugins.", |
| 96 | + "zh": "一次完成代码检查与格式校验,按需启用 TypeScript 类型检查。兼容 Prettier 的格式化选项与插件,延续现有代码风格。" |
| 97 | + }, |
| 98 | + "checkCommandTypes": { |
| 99 | + "en": "Type-aware linting, with optional type checking", |
| 100 | + "zh": "支持类型感知的代码检查,按需启用类型检查" |
| 101 | + }, |
| 102 | + "checkCommandFormat": { |
| 103 | + "en": "Parallel formatting with a persistent cache", |
| 104 | + "zh": "并行格式化与持久化缓存,加速重复运行" |
| 105 | + }, |
| 106 | + "checkCommandFix": { |
| 107 | + "en": "Apply lint and formatting fixes with rs check --fix", |
| 108 | + "zh": "通过 rs check --fix 自动修复代码与格式问题" |
| 109 | + }, |
| 110 | + "hooksCommandTitle": { |
| 111 | + "en": "Better code in every commit", |
| 112 | + "zh": "让每次提交,都经过检查" |
| 113 | + }, |
| 114 | + "hooksCommandDesc": { |
| 115 | + "en": "Automatically check and format staged files before committing. Reuse lint-staged task configuration and migrate your existing Git Hooks workflow from Husky.", |
| 116 | + "zh": "在提交前自动检查和格式化暂存文件。支持 lint-staged 的任务配置,可从 Husky 迁移现有 Git Hooks 工作流。" |
| 117 | + }, |
| 118 | + "hooksCommandSetup": { |
| 119 | + "en": "Manage Git hooks for the whole repository", |
| 120 | + "zh": "统一管理整个仓库的 Git Hooks" |
| 121 | + }, |
| 122 | + "hooksCommandStaged": { |
| 123 | + "en": "Run checks on staged files before committing", |
| 124 | + "zh": "提交前,针对暂存文件运行检查" |
| 125 | + }, |
| 126 | + "hooksCommandTasks": { |
| 127 | + "en": "Configure lint, format, and custom tasks by file pattern", |
| 128 | + "zh": "按文件模式配置检查、格式化及自定义任务" |
| 129 | + }, |
| 130 | + "docCommandTitle": { |
| 131 | + "en": "Great docs, built right in", |
| 132 | + "zh": "让文档,融入开发流程" |
| 133 | + }, |
| 134 | + "docCommandDesc": { |
| 135 | + "en": "Turn your content into a documentation site with Rspress. Keep your docs alongside your code, with one configuration for the whole workflow.", |
| 136 | + "zh": "使用 Rspress 将内容构建为文档站点。让文档与代码一同维护,通过统一配置串联完整工作流。" |
| 137 | + }, |
| 138 | + "docCommandMarkdown": { |
| 139 | + "en": "Write in Markdown and add React components with MDX", |
| 140 | + "zh": "使用 Markdown 编写文档,通过 MDX 嵌入 React 组件" |
| 141 | + }, |
| 142 | + "docCommandFeatures": { |
| 143 | + "en": "Built-in search and multilingual documentation", |
| 144 | + "zh": "内置全文搜索,支持多语言文档" |
| 145 | + }, |
| 146 | + "docCommandWorkflow": { |
| 147 | + "en": "Develop, build, and preview with one CLI", |
| 148 | + "zh": "通过统一命令行完成开发、构建与预览" |
61 | 149 | }, |
62 | 150 | "guide": { |
63 | 151 | "en": "Guide", |
|
0 commit comments