Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

tijiao #16

wants to merge 3 commits into from

Conversation

cuikaisong
Copy link

@cuikaisong cuikaisong commented Nov 1, 2022

  1. 翻译codemods

@hovenjay
Copy link
Collaborator

hovenjay commented Nov 1, 2022

建议把 .idea 添加到 docs/.gitignore

@yinxulai
Copy link
Member

yinxulai commented Nov 1, 2022

这个小伙伴还是个程序员新人,可能问题比较多,大家多帮忙看看

@yinxulai
Copy link
Member

yinxulai commented Nov 1, 2022

@hovenjay
Copy link
Collaborator

hovenjay commented Nov 1, 2022

咱们本身是中文文档,仓库使用大部分也是中文用户,建议 commit message、PR 标题等地方,首选中文描述,英文描述可选,不要使用拼音之类的。

@@ -1,32 +1,33 @@
---
title: Turborepo Codemods
description: To make upgrading easier, Turborepo includes codemods and migration scripts.
description: 为了使升级更容易,Turborepo包括代码代码和迁移脚本。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: 为了使升级更容易,Turborepo包括代码代码和迁移脚本
description: 为了使升级更容易,Turborepo 包括代码代码和迁移脚本

Copy link
Collaborator

@hovenjay hovenjay Nov 1, 2022

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`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `migrate-env-var-dependencies`
### migrate-env-var-dependencies

Copy link
Member

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 '键)。
Copy link
Collaborator

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 ……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants