ant-design-pro icon indicating copy to clipboard operation
ant-design-pro copied to clipboard

🐛 [BUG] .gitignore中不应该包括lock文件。

Open fengertao opened this issue 2 years ago • 0 comments

🐛 bug 描述

.gitignore中不应该包括下面三个文件。

yarn.lock package-lock.json pnpm-lock.yaml

参考文献:https://classic.yarnpkg.com/lang/en/docs/yarn-lock/ All yarn.lock files should be checked into source control (e.g. git or mercurial). This allows Yarn to install the same exact dependency tree across all machines, whether it be your coworker’s laptop or a CI server.

Framework and library authors should also check yarn.lock into source control. Don’t worry about publishing the yarn.lock file as it won’t have any effect on users of the library.

📷 复现步骤 | Recurrence steps

pro create myapp

🏞 期望结果 | Expected results

.gitignore中不应该包括下面三个文件。

💻 复现代码 | Recurrence code

© 版本信息

  • Ant Design Pro 版本: 多个版本
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

fengertao avatar Aug 06 '22 10:08 fengertao