-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
chore: update quick-start.md #5311
Conversation
add pnpm config `https-proxy`
|
WalkthroughThe pull request introduces a documentation update in the Changes
Suggested Reviewers
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
docs/src/guide/introduction/quick-start.md (2)
71-71
: Consider enhancing the proxy configuration documentation.The proxy configuration instruction is technically accurate. Consider the following enhancements:
- Add a note about security implications of using HTTP proxy for HTTPS
- Include alternative proxy configurations (http-proxy, all-proxy)
- Use a generic placeholder instead of localhost (e.g.,
your-proxy-server:port
)- - 如果你想要pnpm走代理,你可以设置在.npmrc 文件中配置 https-proxy 例如 `https-proxy = "http://127.0.0.1:10801"` 让pnpm从源站拉取最新的包。 + - 如果你想要pnpm走代理,你可以在.npmrc 文件中配置代理服务器。例如: + ```ini + # HTTPS 代理配置 + https-proxy = "http://your-proxy-server:port" + # HTTP 代理配置(可选) + http-proxy = "http://your-proxy-server:port" + ``` + 注意:使用 HTTP 协议的代理服务器可能会带来安全风险,建议使用 HTTPS 代理。🧰 Tools
🪛 LanguageTool
[uncategorized] ~71-~71: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"包
Context: ...= "http://127.0.0.1:10801"` 让pnpm从源站拉取最新的包。 - 如果你不想使用corepack
,你需要禁用corepack
,然...(wb4)
71-71
: Fix Chinese grammar in the documentation.The sentence structure needs a minor grammatical adjustment for the word "最新".
- 让pnpm从源站拉取最新的包。 + 让pnpm从源站拉取最新地包。🧰 Tools
🪛 LanguageTool
[uncategorized] ~71-~71: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"包
Context: ...= "http://127.0.0.1:10801"` 让pnpm从源站拉取最新的包。 - 如果你不想使用corepack
,你需要禁用corepack
,然...(wb4)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/src/guide/introduction/quick-start.md
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/src/guide/introduction/quick-start.md
[uncategorized] ~71-~71: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"包
Context: ...= "http://127.0.0.1:10801"` 让pnpm从源站拉取最新的包。 - 如果你不想使用corepack
,你需要禁用corepack
,然...
(wb4)
⏰ Context from checks skipped due to timeout of 90000ms (8)
- GitHub Check: Test (windows-latest)
- GitHub Check: Check (windows-latest)
- GitHub Check: Lint (windows-latest)
- GitHub Check: Check (ubuntu-latest)
- GitHub Check: post-update (windows-latest)
- GitHub Check: Lint (ubuntu-latest)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: post-update (ubuntu-latest)
add pnpm config
https-proxy
Description
Type of change
Please delete options that are not relevant.
pnpm-lock.yaml
unless you introduce a new test example.Checklist
pnpm run docs:dev
command.pnpm test
.feat:
,fix:
,perf:
,docs:
, orchore:
.Summary by CodeRabbit
pnpm
proxy settings in.npmrc
file