Skip to content
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

Move fix-bin script to Bob #91

Open
ardatan opened this issue Jul 6, 2022 · 0 comments
Open

Move fix-bin script to Bob #91

ardatan opened this issue Jul 6, 2022 · 0 comments
Assignees

Comments

@ardatan
Copy link
Collaborator

ardatan commented Jul 6, 2022

https://github.com/Urigo/graphql-mesh/blob/master/scripts/fix-bin.js

We usually build the projects after yarn install so Yarn workspaces cannot "symlink" to the actual bin script under dist built by bob.
This script manually symlinks bin under node_modules of other packages to point to the correct built bin scripts.
So you can use packages/*-cli/dist/cjs/bin.js as *-cli directly in another workspace project(example maybe)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant