This message was deleted.
# general
s
This message was deleted.
r
You can link local packages with
yarn link
https://classic.yarnpkg.com/en/docs/cli/link/
Depending on the language we do some version of local linking.
yarn link
in nodejs,
pip install -e
in python, etc.
b
thx, that's what I was trying. In fact I'm trying to get a repo I worked on a year ago working again. It has an examples/ test directory but for some reason it keeps trying to reach out to yarn registry even though I already `yarn link`ed.
r
@billowy-laptop-45963 might be work checking in your
node_modules
to make sure it’s actually linked - there should be a symlink instead of a directory for that package.
b
when I use the golang based integration tests and it does a yarn install on one of my examples/ should it pick up the global yarn link?
r
Not sure if this is what you’re running in to but if you only want to test against local and not the latest on npm registry you have to specify
RunUpdateTest: false
https://github.com/pulumi/pulumi-aws/blob/master/examples/examples_nodejs_test.go#L75
b
thx, that didn't work, I think I'm going to have to create a simple project to figure out the parts...