New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tijiao #16
base: main
Are you sure you want to change the base?
tijiao #16
Conversation
cuikaisong
commented
Nov 1, 2022
•
edited
edited
- 翻译codemods
建议把 |
这个小伙伴还是个程序员新人,可能问题比较多,大家多帮忙看看 |
done |
咱们本身是中文文档,仓库使用大部分也是中文用户,建议 commit message、PR 标题等地方,首选中文描述,英文描述可选,不要使用拼音之类的。 |
@@ -1,32 +1,33 @@ | |||
--- | |||
title: Turborepo Codemods | |||
description: To make upgrading easier, Turborepo includes codemods and migration scripts. | |||
description: 为了使升级更容易,Turborepo包括代码代码和迁移脚本。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: 为了使升级更容易,Turborepo包括代码代码和迁移脚本。 | |
description: 为了使升级更容易,Turborepo 包括代码代码和迁移脚本。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文字符与半角字符之间需要用空格分隔~
下同
@@ -125,8 +129,7 @@ npx @turbo/codemod create-turbo-config | |||
|
|||
### `migrate-env-var-dependencies` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### `migrate-env-var-dependencies` | |
### migrate-env-var-dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个原来有 ` 符号,建议保留
|
||
You can configure the behavior of `turbo` by adding a `turbo.json` file in your monorepo's root (i.e. the same one you specify your `workspaces` key is set for Yarn and npm users). | ||
您可以通过添加一个' turbo '来配置' turbo '的行为。 json '文件在你的monorepo的根目录中(也就是你为Yarn和npm用户指定的' workspace '键)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`turbo` …… `turbo.json` ……
声明的是行内代码块儿,翻译的时候不要转成单引号分隔 ' turbo ' ,空格添加的位置不对,英文与半角单引号之间不应有空格,可以再熟悉一下 markdown 语法呀~
turbo
…… turbo.json
……