spand
05/26/2020, 7:55 AManton.bannykh
05/26/2020, 1:16 PMIlya Goncharov [JB]
05/26/2020, 1:20 PM.yarnrc
in root project and it should be foundspand
05/26/2020, 1:25 PMspand
05/26/2020, 1:26 PMIlya Goncharov [JB]
05/26/2020, 1:33 PMbuild
folder, and because .yarnrc
hierarchy find policy, it just go up and find this file. So from root build
folder Yarn doesn’t find .yarnrc
form submodulespand
05/26/2020, 1:37 PMIlya Goncharov [JB]
05/26/2020, 1:38 PM.npmrc
instead of .yarnrc
Yarn is compatible with itspand
05/26/2020, 1:38 PMIlya Goncharov [JB]
05/26/2020, 1:46 PMnode_modules
subfolder of build
folder, so, if you clean project, it will be removed.
And if we would setup npm project to each build
separately, it will spend more time, and additionally it will spend more disk spaces (node_modules
usually a big folder).
So we decided to locate it in root build
folder, but we understand such problem, and think how we can improve it.spand
05/26/2020, 1:59 PMspand
05/26/2020, 2:00 PMspand
05/26/2020, 2:00 PMMranders
05/26/2020, 2:01 PMIlya Goncharov [JB]
05/26/2020, 2:08 PMyarn.lock
can changed. So we need some setting which is responsible for “build all possible npm projects instead of lazily build only necessary packages”. In this case yarn.lock
can be persisted, but for cold start it can spend more timeMranders
05/26/2020, 6:04 PM