Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    87603fc6
    Switch from npm to yarn · 87603fc6
    Reiter, Christoph authored
    Using lerna with npm breaks various npm commands such as "outodated"
    etc.
    
    Switch yarn with namespaces. lerna is only used to run commands on all
    packages and maybe publish them etc. yarn 2.x has extra workspace features
    like running commands for all packages, so with 2.0 we might also get
    rid of lerna.
    87603fc6
    History
    Switch from npm to yarn
    Reiter, Christoph authored
    Using lerna with npm breaks various npm commands such as "outodated"
    etc.
    
    Switch yarn with namespaces. lerna is only used to run commands on all
    packages and maybe publish them etc. yarn 2.x has extra workspace features
    like running commands for all packages, so with 2.0 we might also get
    rid of lerna.

Frontend Toolkit

Setup

yarn install

cd packges/some-package and continue development with yarn run watch etc.

Other commands

  • yarn run test - Run test for all packages`
  • yarn run clean - Removes all node_modules directories.