https://pulumi.com logo
#typescript
Title
# typescript
c

chilly-laptop-44574

03/28/2020, 12:33 AM
Hello, I have my project structured by using directories, something like this:
Copy code
└── infrastructure
    └── network
        ├── dev
        ├── prod
        └── stage
            ├── 01-host-project
            │   ├── Pulumi.stage.yaml
            │   └── Pulumi.yaml
            └── 02-host-vpc
                ├── Pulumi.stage.yaml
                └── Pulumi.yaml
Is it possible to have
package.json
and
node_module
global on let say this level <
stage
folder>
Copy code
└── infrastructure
    └── network
        └── stage
So
npm install
is done only once?
s

swift-painter-31084

03/28/2020, 2:00 AM
check out Lerna
👍 1
g

great-accountant-75189

03/28/2020, 7:33 AM
or yarn workspaces
👍 1
or just
ln -s
c

chilly-laptop-44574

03/28/2020, 10:05 AM
Thanks! Used yarn workspaces. Still figuring out how Lerna can help?