-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: tweaks to CI jobs to account for symlink refactor #370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
efa599f
to
63c1c67
Compare
…symlink This commit removes all of the package.json and ts config files from the common dir since we are not treating it as a package, but rather just as a directory of files that will be shared via symlink between the SDKs. We also need to do a hacky thing for now in the build script, where we symlink the node_modules dir from the sdk into the common dir so that imports from the files in common will work. This won't be an issue for the packaged artifact since the symlink won't exist. In a subsequent commit we still need to add a solution for running the shared tests in the common directory.
# this is gross, but npm will fail to import things | ||
# during local builds of files in common if it doesn't | ||
# find a node_modules directory there. | ||
ln -s $(pwd)/node_modules ../common/node_modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bruuuuuuuce this is a hack that we might be able to find a better solution for in the future, but it should work for now. You will need to make sure you run this script to create this symlink for grpc-web sdk when you are using that path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts commit d85854c.
No description provided.