You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

version-control.md 870 B

3 years ago
123456789101112131415161718
  1. ---
  2. id: docs_version_control
  3. guide: docs_yarn_workflow
  4. layout: guide
  5. additional_reading_tags: ["dependencies", "package-json", "yarn-lock"]
  6. ---
  7. To have people successfully develop or use your package, you need to ensure that all the necessary files are checked into your source control system.
  8. ### Required Files <a class="toc" id="toc-required-files" href="#toc-required-files"></a>
  9. The following files must be checked into source control for anyone to be able to manage your package:
  10. - `package.json`: This has all the current dependencies for your package.
  11. - `yarn.lock`: This stores the exact versions of each dependency for your package.
  12. - The actual source code that provides the functionality for your package.
  13. > Check out the [Yarn Example Package](https://github.com/yarnpkg/example-yarn-package) for the minimum requirements necessary for a Yarn package.

js yarn包管理组件依赖分析

Contributors (1)