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.

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. ###
  2. # Global
  3. ###
  4. site_title: Yarn
  5. site_description: Fast, reliable, and secure dependency management.
  6. site_news_important: Important
  7. site_news_docs_cover_v1: This documentation covers Yarn 1 (Classic).
  8. site_news_see_v2_docs: For Yarn 2+ docs and migration guide, see yarnpkg.com.
  9. site_nav_getting_started: Getting Started
  10. site_nav_documentation: Docs
  11. site_nav_packages: Packages
  12. site_nav_blog: Blog
  13. site_nav_stable_version: Classic Stable
  14. site_nav_rc_version: Classic Release Candidate
  15. site_nav_nightly_version: Classic Nightly
  16. site_nav_node_support: Node
  17. site_bsd_license: Distributed under BSD License
  18. site_code_of_conduct: Code of Conduct
  19. site_edit_this_page: Edit this page
  20. blog_title: Yarn Blog
  21. guide_additional_reading: Additional Reading
  22. iframe_github_stars: GitHub Stars
  23. ###
  24. # Homepage
  25. ###
  26. homepage_tagline: Fast, reliable, and secure dependency management.
  27. homepage_feature_fast_title: Ultra Fast.
  28. homepage_feature_fast_description: |
  29. Yarn caches every package it downloads so it never needs to download it again. It also
  30. parallelizes operations to maximize resource utilization so install times are
  31. faster than ever.
  32. homepage_feature_fast_image_alt: Watercolour of cat riding a rocketship
  33. homepage_feature_secure_title: Mega Secure.
  34. homepage_feature_secure_description: |
  35. Yarn uses checksums to verify the integrity of every installed package
  36. before its code is executed.
  37. homepage_feature_secure_image_alt: Watercolour of cat driving a robot suit
  38. homepage_feature_reliable_title: Super Reliable.
  39. homepage_feature_reliable_description: |
  40. Using a detailed, but concise, lockfile format, and a deterministic algorithm
  41. for installs, Yarn is able to guarantee that an install that worked on one
  42. system will work exactly the same way on any other system.
  43. homepage_feature_reliable_image_alt: Watercolour of cat waving from seat behind computer screens
  44. homepage_c2a_text: What are you waiting for?
  45. homepage_c2a_button: Get Started
  46. homepage_install_button: Install Yarn
  47. homepage_migrate_button: Migrate to Yarn 2+
  48. homepage_featurette_offline_title: Offline Mode
  49. homepage_featurette_offline_description: |
  50. If you've installed a package before, you can install it again without
  51. any internet connection.
  52. homepage_featurette_deterministic_title: Deterministic
  53. homepage_featurette_deterministic_description: |
  54. The same dependencies will be installed the same exact way across every
  55. machine regardless of install order.
  56. homepage_featurette_network_performance_title: Network Performance
  57. homepage_featurette_network_performance_description: |
  58. Yarn efficiently queues up requests and avoids request waterfalls in order
  59. to maximize network utilization.
  60. homepage_featurette_npm_title: Same Packages
  61. homepage_featurette_npm_description: |
  62. Install any package from npm and keep your package workflow
  63. the same.
  64. homepage_featurette_network_resillience_title: Network Resilience
  65. homepage_featurette_network_resillience_description: |
  66. A single request failing won't cause an install to fail. Requests are retried
  67. upon failure.
  68. homepage_featurette_flat_mode_title: Flat Mode
  69. homepage_featurette_flat_mode_description: |
  70. Resolve mismatching versions of dependencies to a single version to avoid
  71. creating duplicates.
  72. ###
  73. # Titles
  74. ###
  75. docs_getting_started_title: Getting Started
  76. docs_getting_started_description: |
  77. Never used a package manager before or just new to Yarn? Let's get you up and
  78. running in just a couple of minutes.
  79. docs_index: Documentation
  80. docs_getting_started: Getting Started
  81. docs_install: Installation
  82. docs_usage: Usage
  83. docs_yarn_workflow_title: The Yarn Workflow
  84. docs_yarn_workflow_description: |
  85. How do I use Yarn? There are basic workflows for both creating and consuming
  86. Yarn packages that will help you get productive quickly.
  87. docs_yarn_workflow: The Yarn Workflow
  88. docs_creating_a_project: Creating a new project
  89. docs_managing_dependencies: Managing dependencies
  90. docs_installing_dependencies: Installing dependencies
  91. docs_version_control: Working with version control
  92. docs_cli_title: CLI Commands
  93. docs_cli_description: |
  94. Yarn is executed through a rich set of commands allowing package
  95. installation, administration, publishing, and more.
  96. docs_cli_index: CLI Introduction
  97. docs_cli_add: yarn add
  98. docs_cli_add_description: |
  99. When you want to use another package, you first need to add it to
  100. your dependencies. Running `yarn add` installs it into your project.
  101. docs_cli_audit: yarn audit
  102. docs_cli_autoclean: yarn autoclean
  103. docs_cli_bin: yarn bin
  104. docs_cli_cache: yarn cache
  105. docs_cli_check: yarn check
  106. docs_cli_config: yarn config
  107. docs_cli_create: yarn create
  108. docs_cli_dedupe: yarn dedupe
  109. docs_cli_generate_lock_entry: yarn generate-lock-entry
  110. docs_cli_global: yarn global
  111. docs_cli_help: yarn help
  112. docs_cli_import: yarn import
  113. docs_cli_info: yarn info
  114. docs_cli_init: yarn init
  115. docs_cli_install: yarn install
  116. docs_cli_licenses: yarn licenses
  117. docs_cli_link: yarn link
  118. docs_cli_lockfile: yarn lockfile
  119. docs_cli_login: yarn login
  120. docs_cli_logout: yarn logout
  121. docs_cli_list: yarn list
  122. docs_cli_outdated: yarn outdated
  123. docs_cli_owner: yarn owner
  124. docs_cli_pack: yarn pack
  125. docs_cli_policies: yarn policies
  126. docs_cli_prune: yarn prune
  127. docs_cli_publish: yarn publish
  128. docs_cli_remove: yarn remove
  129. docs_cli_run: yarn run
  130. docs_cli_self_update: yarn self-update
  131. docs_cli_tag: yarn tag
  132. docs_cli_tag_description: |
  133. Tags are a way of publishing versions of your package with a label.
  134. Users of your package can install that instead of a version number.
  135. docs_cli_team: yarn team
  136. docs_cli_test: yarn test
  137. docs_cli_unlink: yarn unlink
  138. docs_cli_upgrade: yarn upgrade
  139. docs_cli_upgrade_description: |
  140. Upgrades packages to their latest version based on the specified range.
  141. docs_cli_upgrade_interactive: yarn upgrade-interactive
  142. docs_cli_upgrade_interactive_description: |
  143. Provides an easy and interactive way to update outdated packages.
  144. docs_cli_version: yarn version
  145. docs_cli_versions: yarn versions
  146. docs_cli_workspace: yarn workspace
  147. docs_cli_why: yarn why
  148. docs_cli_workspaces: yarn workspaces
  149. docs_migrating_from_npm_title: Migrating from npm client
  150. docs_migrating_from_npm_description: |
  151. Yarn interops directly with many features of npm, including its package
  152. metadata format, allowing for a painless migration.
  153. docs_migrating_from_npm: Migrating from npm
  154. docs_creating_a_package_title: Creating a Package
  155. docs_creating_a_package_description: |
  156. Creating and publishing a yarn package can be done with just a few commands
  157. and configuration settings, leaving you to focus on your actual code.
  158. docs_creating_a_package: Creating a Package
  159. docs_publishing_a_package: Publishing a Package
  160. docs_dependencies_title: Dependencies & Versions
  161. docs_dependencies_description: |
  162. Using Yarn you'll be working with dependencies all the time. Let's go through
  163. the different types and versions of dependencies.
  164. docs_dependencies: Dependencies and versions
  165. docs_dependency_types: Types of dependencies
  166. docs_dependency_versions: Versions of dependencies
  167. docs_dependency_versions_description: |
  168. Packages in Yarn follow Semantic Versioning, also known as “semver”. When you
  169. install a new package it will be added with a semver version range.
  170. docs_selective_version_resolutions: Selective dependency resolutions
  171. docs_selective_version_resolutions_description: |
  172. Override sub-dependency version resolutions with Yarn.
  173. docs_configuration_title: Configuration
  174. docs_configuration_description: |
  175. Learn how to use package.json to configure your packages and dependencies.
  176. docs_configuration_index: Configuration
  177. docs_configuration_package_json: package.json
  178. docs_configuration_yarn_lock: yarn.lock
  179. docs_configuration_yarnrc: .yarnrc
  180. docs_configuration_envvars: envvars
  181. docs_offline_mirror: Configuring an Offline Mirror
  182. docs_offline_mirror_title: Offline Mirror
  183. docs_offline_mirror_description: |
  184. Maintain offline copies of your packages for more repeatable and reliable
  185. builds.
  186. docs_prune_offline_mirror: Pruning an Offline Mirror
  187. docs_workspaces: Workspaces
  188. docs_workspaces_title: Workspaces
  189. docs_workspaces_description: |
  190. Link together your projects for easier maintenance.
  191. docs_plugnplay: "Plug'n'Play"
  192. docs_plugnplay_title: "Plug'n'Play"
  193. docs_plugnplay_description: |
  194. Install your projects in a safer and faster way.
  195. docs_plugnplay_overview: Overview
  196. docs_plugnplay_getting_started: Getting Started
  197. docs_plugnplay_troubleshooting: Troubleshooting
  198. yarn_organization_title: Yarn Organization
  199. yarn_organization_description: |
  200. The Yarn organization is a collaboration of many companies and
  201. individuals dedicated to improving your package management experience.
  202. organization: Organization
  203. code_of_conduct: Code of Conduct
  204. contributing: Contributing
  205. translations: Translations
  206. release_process: Release Process
  207. governance: Governance
  208. read_more: Read more
  209. users: Yarn Users
  210. compare: Compare Yarn Performance
  211. blog: Blog
  212. packages: Packages
  213. users_lead: Meet all the users of Yarn.
  214. users_description: >
  215. Logos are added by company or project representatives. They may or may not be
  216. using Yarn on their main properties, but they're definitely using it
  217. somewhere.
  218. users_add_prompt: Want to add your own company or project?
  219. users_add_pr: Open a pull request
  220. users_add_requirements_image: >
  221. Logos must be a 500x200px (2.5x1) SVG (preferred) or PNG image optimized with
  222. svgo, ImageOptim, or another image optimizer.
  223. users_add_requirements_logo: >
  224. Please use a version of your logo that works well on a white background.
  225. install_intro: >
  226. Before you start using Yarn, you'll first need to install it on your system.
  227. There are many different ways to install Yarn, but a single one is recommended and cross-platform:
  228. install_alternatives: Alternatives
  229. install_click_to_expand_collapse: Click to expand / collapse
  230. install_select_platform: Select your platform above
  231. install_os: Operating system
  232. install_version: Version
  233. install_os_alpine: Alpine
  234. install_os_arch: Arch Linux
  235. install_os_centos: CentOS / Fedora / RHEL
  236. install_os_debian: Debian / Ubuntu
  237. install_os_gentoo: Gentoo Linux
  238. install_os_mac: macOS
  239. install_os_opensuse: openSUSE
  240. install_os_solus: Solus
  241. install_os_windows: Windows
  242. install_os_alternatives: Alternatives
  243. install_check: "Check installation"
  244. install_check_details: "Check that Yarn is installed by running:"
  245. docs_nightly: Nightly Builds
  246. install_nightly_intro: >
  247. Nightly builds are the latest and greatest versions of Yarn, built using the
  248. very latest Yarn source code. Nightly builds are useful to try new features or
  249. test bug fixes that have not yet been released as part of a stable release.
  250. However, these builds are <strong>not guaranteed to be stable</strong> and may
  251. have bugs.
  252. install_nightly_learn_more: See how to install nightly builds
  253. nightly_latest_version: Latest Version
  254. nightly_older_versions: Older Versions
  255. nightly_select_build_type: Select a build type above to see older builds
  256. install_table_name: Name
  257. # "Type" refers to type of artifact - tarball, Windows installer, Debian package, etc.
  258. install_table_type: Type
  259. install_table_size: Size
  260. install_table_date: Date
  261. loading: Loading...
  262. install_file:
  263. deb: Debian package
  264. js: Standalone JS
  265. js-legacy: Standalone JS (Node < 4.0)
  266. msi: Windows installer
  267. rpm: RPM
  268. tar: Tarball
  269. docs_install_ci: Continuous Integration
  270. ci_intro: >
  271. Yarn can easily be used in various continuous integration systems. To speed up
  272. builds, the Yarn cache directory can be saved across builds.
  273. ci_select_platform: Select the continuous integration system you're using from the options above
  274. ci_appveyor: AppVeyor
  275. ci_circle: CircleCI
  276. ci_codeship: Codeship
  277. ci_travis: Travis
  278. ci_semaphore: Semaphore
  279. ci_solano: Solano
  280. ci_gitlab: GitLab
  281. ci_codefresh: Codefresh
  282. search_docs: Search documentation
  283. detail:
  284. title: Package detail
  285. script:
  286. search_placeholder: Search packages (i.e. babel, webpack, react…)
  287. search_by_algolia: Search by Algolia
  288. search_by_read_more: read how it works
  289. no_package_found: 'No package {name} was found'
  290. no_results_docsearch: 'Were you looking for something in the {documentation_link}?'
  291. documentation: documentation
  292. downloads_in_last_30_days: '{count} downloads in the last 30 days'
  293. npm_page_for: 'npm page for {name}'
  294. repository_of: '{provider} repository of {name}'
  295. npm: npm
  296. github: GitHub
  297. gitlab: GitLab
  298. bitbucket: Bitbucket
  299. homepage: Homepage
  300. deprecated: deprecated
  301. result_stats: 'found {number_packages} packages in {time_search}ms'
  302. time_ago: '{time_distance} ago'
  303. last_updated: 'last updated {update_date}'
  304. detail:
  305. over_a_year_ago: over a year ago
  306. less_than_a_week_ago: less than a week ago
  307. one_week_ago: one week ago
  308. weeks_ago: '{count} weeks ago'
  309. activity: Activity
  310. commits_last_three_months: Commits last 3 months
  311. last_commit: Last commit
  312. loading: Loading...
  313. use_it: Use it
  314. try_in_runkit: Try in RunKit
  315. back_to_details: Back to Details
  316. browse_files: Browse Files
  317. cdns: CDNs
  318. contributors: Contributors
  319. display_full_readme: Display full readme
  320. display_full_changelog: Display full changelog
  321. files_error: 'Could not load file listing: {error}'
  322. files_header: 'Files in {name}'
  323. collapse: Collapse
  324. readme: readme
  325. no_readme_found: no readme found 😢
  326. changelog: changelog
  327. popularity: Popularity
  328. github_stargazers: GitHub stargazers
  329. gitlab_stargazers: GitLab stargazers
  330. downloads_last_30_days: Downloads last 30 days
  331. jsdelivr_hits: jsDelivr last 30 days
  332. dependents: Dependents
  333. usage: Usage
  334. dependencies: Dependencies
  335. devdependencies: DevDependencies
  336. packages: Packages
  337. see_package_json: see package.json
  338. tags: Tags
  339. versions: Versions
  340. display_all: Display all
  341. hide: Hide
  342. bundlesize: Size in browser
  343. bundlesize_text: 'size: {size}, gzip: {gzip}'
  344. not_found:
  345. whoa: Whoa, {package_name} does not exist yet
  346. yours: But that means it is now yours!
  347. make: Make your package

js yarn包管理组件依赖分析

Contributors (1)