Difference between revisions of "Yarn"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
[[wikipedia:Yarn]] (2016) is a [[package manager]] that doubles down as [[project manager]].
+
[[wikipedia:Yarn (package manager)]] (June [[2016]]) is a [[package manager]] for [[node.js]] JavaScript runtime that doubles down as [[project manager]].
 
* Website: https://yarnpkg.com/
 
* Website: https://yarnpkg.com/
 
* macOS: <code>[[brew install yarn]]</code>
 
* macOS: <code>[[brew install yarn]]</code>
* Linux: <code>[[apt install yarn]]</code>
+
* Linux: <code>[[apt install -y npm]] && [[npm install --global yarn]]</code>
  
==Basic commands==
+
== Basic commands ==
 +
* <code>[[yarn --help]]</code>
 
* <code>[[yarn install]]</code>
 
* <code>[[yarn install]]</code>
 +
* <code>[[yarn create]]</code>
 
* <code>[[yarn transpile]]</code>
 
* <code>[[yarn transpile]]</code>
 
* <code>[[yarn run]]</code>
 
* <code>[[yarn run]]</code>
 
* <code>[[yarn run transpile-watch]]</code>
 
* <code>[[yarn run transpile-watch]]</code>
* <code>[[yarn docker-migrate]]</code>
 
 
* <code>[[yarn up]]</code>
 
* <code>[[yarn up]]</code>
 
* <code>[[yarn test-up]]</code>
 
* <code>[[yarn test-up]]</code>
 +
* <code>[[yarn test]]</code>
 
* <code>[[yarn create-migration]]</code>
 
* <code>[[yarn create-migration]]</code>
 
* <code>[[yarn e2e]]</code>
 
* <code>[[yarn e2e]]</code>
Line 19: Line 21:
 
* <code>[[yarn build]]</code>
 
* <code>[[yarn build]]</code>
 
* <code>[[yarn start]]</code>
 
* <code>[[yarn start]]</code>
 +
* <code>[[yarn config]]</code>
 +
* <code>[[yarn postinstall]]</code>
 +
 +
== Errors ==
 +
yarn
 +
[[env]]: [[node]]: No such file or directory
  
 
== Related terms ==
 
== Related terms ==
 
* [[Terser]]
 
* [[Terser]]
 
* <code>[[npm]]</code>
 
* <code>[[npm]]</code>
 +
* Caching Yarn dependencies
 +
* Review https://yarnpkg.com/features/offline-cache
 +
* [[/usr/local/share/.cache/yarn/]]
 +
 +
== Activities ==
 +
* Read stackoverflow: https://stackoverflow.com/questions/tagged/yarnpkg
  
 
== See also ==
 
== See also ==
 +
* {{yarn run}}
 
* {{yarn}}
 
* {{yarn}}
 
* {{js}}
 
* {{js}}
  
 
[[Category:JavaScript]]
 
[[Category:JavaScript]]

Latest revision as of 16:21, 24 July 2024

Advertising: