billowy-laptop-45963
12/14/2023, 1:07 PM["packages/*", "examples/*"]
. The idea was I could develop my packages by referring to them in the examples/. I have it somewhat working, the main issue is I need to rebuild the packages after every change. Seems like there should be a way around this. I used pulumi-ts about 5 years ago and if I remember correctly I used yarn link
but there must be a better more modern approach now.little-cartoon-10569
12/14/2023, 6:43 PMnodeLinker: node-modules
in your .yarnrc.yml solves that.little-cartoon-10569
12/14/2023, 6:46 PMyarn link
. The hoisted node_modules is used for everything. If you run into problems with hoisting (e.g. you're building AWS lambdas or other "nested" code that runs in a different runtime), you can turn off hoisting and add an explicit dependency to the other workspaces using this package.json notation:
"@otherWorspacePackageName": "workspace:^",
little-cartoon-10569
12/14/2023, 6:48 PMbillowy-laptop-45963
12/14/2023, 8:09 PMlittle-cartoon-10569
12/14/2023, 8:13 PMbillowy-laptop-45963
12/17/2023, 3:31 AMpulumi preview
results in typescript not finding packages/fabric. I'm not sure if it's a yarn issue or typescript.billowy-laptop-45963
12/17/2023, 4:03 PM