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

Fix issue with cross-dep bins not symlinking #157

Closed
wants to merge 1 commit into from
Closed

Conversation

jamiebuilds
Copy link
Member

Fixes #126

@@ -63,7 +63,7 @@ export async function install(opts: InstallOptions) {
});

for (let workspace of workspaces) {
const dependencies = workspace.pkg.getAllDependencies().keys();
let dependencies = Array.from(workspace.pkg.getAllDependencies().keys());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was basically the whole thing

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you recall what the Array.from was for here @jamiebuilds ?

const dest = path.join(pkg.nodeModules, dependency);
let depWorkspace = dependencyGraph.get(dependency) || {};
let src = depWorkspace.pkg.dir;
let dest = path.join(pkg.nodeModules, dependency);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukebatchelor our battle continues

@lukebatchelor
Copy link
Member

Moved to #191

@lukebatchelor
Copy link
Member

I'll leave this branch here juuust in case I've messed something up in the rebase ;)

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

Successfully merging this pull request may close these issues.

2 participants