Skip to content

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

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

@hovenjay
Copy link
Collaborator

hovenjay commented Nov 1, 2022

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

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

中文字符与半角字符之间需要用空格分隔~
下同

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.

这个原来有 ` 符号,建议保留

# 配置选项 (`turbo.json`)

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

4 participants