You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i'm trying to set up yarn in order to have one node_module with all the packages shared between multiple project, actually i've got two disks and the tree is this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi i'm trying to set up yarn in order to have one node_module with all the packages shared between multiple project, actually i've got two disks and the tree is this:
Disk1___/path/to/proj1
|_/path/to/the/proj2
Disk2__/path/to/shared/node_module
|___/path/another/proj
Is it possible to do this, and ho can i do this?
My .yarnrc.yml:
httpTimeout: 60000
nodeLinker: "node-modules"
enableGlobalCache: true
cacheFolder: "./.yarn/cache"
nmMode: "classic"
My package.json in the folder /path/to/shared/node_module:
{
"name": "yarn-package-manager",
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"../../proj1",
"../../proj2"
],
"scripts": {
},
}
Beta Was this translation helpful? Give feedback.
All reactions