chore: specify npm as the package manager (#42611)

* chore: specify npm as the package manager

* chore: update version

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>

---------

Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
Dunqing 2023-05-25 19:53:56 +08:00 committed by GitHub
parent 03a7374aa1
commit c3364cf77e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
package-lock=false

View File

@ -62,6 +62,12 @@ Since antd's components are based on react-component, sometimes you may need to
## Development Workflow
Before you can start you must run the following command to enable [corepack](https://nodejs.org/api/corepack.html)。
```bash
corepack enable
```
After cloning antd, run `npm install` to fetch its dependencies. Then, you can run several commands:
1. `npm start` runs Ant Design website locally.

View File

@ -62,6 +62,12 @@ Ant Design 团队会关注所有的 pull request我们会 review 以及合并
## 开发流程
在开始之前,请先执行下面的命令启用 [corepack](https://nodejs.org/api/corepack.html)。
```bash
corepack enable
```
在你 clone 了 antd 的代码并且使用 `npm install` 安装完依赖后,你还可以运行下面几个常用的命令:
1. `npm start` 在本地运行 Ant Design 的网站。

View File

@ -1,6 +1,7 @@
{
"name": "antd",
"version": "5.5.1",
"packageManager": "^npm@9.0.0",
"description": "An enterprise-class UI design language and React components implementation",
"title": "Ant Design",
"keywords": [