Difference between revisions of "Yarn"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
* <code>[[yarn run]]</code> | * <code>[[yarn run]]</code> | ||
* <code>[[yarn run transpile-watch]]</code> | * <code>[[yarn run transpile-watch]]</code> | ||
− | |||
* <code>[[yarn up]]</code> | * <code>[[yarn up]]</code> | ||
* <code>[[yarn test-up]]</code> | * <code>[[yarn test-up]]</code> | ||
Line 23: | Line 22: | ||
* <code>[[yarn start]]</code> | * <code>[[yarn start]]</code> | ||
* <code>[[yarn config]]</code> | * <code>[[yarn config]]</code> | ||
+ | * <code>[[yarn postinstall]]</code> | ||
== Errors == | == Errors == | ||
Line 33: | Line 33: | ||
* Caching Yarn dependencies | * Caching Yarn dependencies | ||
* Review https://yarnpkg.com/features/offline-cache | * Review https://yarnpkg.com/features/offline-cache | ||
+ | * [[/usr/local/share/.cache/yarn/]] | ||
== Activities == | == Activities == | ||
Line 38: | Line 39: | ||
== See also == | == See also == | ||
+ | * {{yarn run}} | ||
* {{yarn}} | * {{yarn}} | ||
* {{js}} | * {{js}} | ||
[[Category:JavaScript]] | [[Category:JavaScript]] |
Latest revision as of 16:21, 24 July 2024
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/
- macOS:
brew install yarn
- Linux:
apt install -y npm && npm install --global yarn
Basic commands[edit]
yarn --help
yarn install
yarn create
yarn transpile
yarn run
yarn run transpile-watch
yarn up
yarn test-up
yarn test
yarn create-migration
yarn e2e
yarn docker-coverage
yarn global add wait-on
yarn build
yarn start
yarn config
yarn postinstall
Errors[edit]
yarn env: node: No such file or directory
Related terms[edit]
- Terser
npm
- Caching Yarn dependencies
- Review https://yarnpkg.com/features/offline-cache
- /usr/local/share/.cache/yarn/
Activities[edit]
- Read stackoverflow: https://stackoverflow.com/questions/tagged/yarnpkg
See also[edit]
yarn run [ up | check | transpile-watch | cross-env | docker-migrate ]
yarn [ create | list | up | add | run | install | build | transpile | transpile-watch | wsrun| version | --help ]
- JavaScript: JavaScript runtime, Web framework, JSX, Node.js, React and React Native, Electron, npm, cypress, v8 engine, Vue.js, Redux, Yarn, Craco, Terser, Lodash, Lerna, ECMAScript, Vite, EJS, WebGL, jQuery, DataTables, Prototype pollution
Advertising: