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

NPM link like functionality #724

Closed
ryansroberts opened this issue Mar 26, 2015 · 4 comments
Closed

NPM link like functionality #724

ryansroberts opened this issue Mar 26, 2015 · 4 comments

Comments

@ryansroberts
Copy link
Contributor

http://justjs.com/posts/npm-link-developing-your-own-npm-modules-without-tears simplifies development of projects where you are also working on their dependencies by not requiring you to push and build a package before using it.

The npm implementation relies heavily on symlinks, which is not going to be appropriate for windows.

Would it be practical to use an additional paket.link file alongside packet.dependencies that maps remote lookups to filesystem paths?

   nuget SomeDependency ==> ~/code/SomeDependency
   github ryansroberts/SomeProject ==> ~/code/SomeProject

These would then be checked before the actual dependency resolving gubbins kicks in and supply the package / file to be copied into the consuming project.

Could probably use some globbing to make it a little more forgiving than having to exactly specify the location of the local dependency. Possibly also append .gitignore, as it would be nasty if committed

@forki
Copy link
Member

forki commented Mar 26, 2015

this sounds pretty interesting.

@sneal
Copy link

sneal commented Apr 15, 2015

This would be a really great feature to have, we use it all the time in npm. One possibility for Windows is to use mklink to simulate the same functionality.

@forki
Copy link
Member

forki commented Oct 29, 2015

I wonder how this could work? If we link a project then we would need to make changes to the csproj file and the sln, right? we would also need to link transitive projects.

@matthid
Copy link
Member

matthid commented Sep 3, 2017

I think this is solved by paket.local? Please let us know if not.

@matthid matthid closed this as completed Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants