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

Work with paket.dependencies #46

Closed
nojaf opened this issue Jul 11, 2019 · 7 comments
Closed

Work with paket.dependencies #46

nojaf opened this issue Jul 11, 2019 · 7 comments

Comments

@nojaf
Copy link

nojaf commented Jul 11, 2019

Hi @Zaid-Ajaj , in my current setup I'm not using an fsproj but an fsharp script in combination with Paket.

It would be nice if femto can look at my paket.dependencies and figure it out.
For example:

source https://www.nuget.org/api/v2
storage:none
framework:netstandard2.0

nuget Fable.React
@Zaid-Ajaj
Copy link
Owner

Hello Florian,

This might actually prove difficult to accomplish because Femto currently doesn't look at paket.dependencies because that would only give the direct dependencies and we need the transitive ones. Of course we can parse the lock file to get the transitive dependencies as well but that is not enough because we still need to locate the actual source code of the required Fable packages in order to parse the metadata from the project file.

To get all of the dependencies, the direct and the transitive, Femto relies entirely on the project cracker which as far as I know, is only relevant for projects.

Femto is now beta and before implementing such feature I would like to prioritize the work to get it into a stable release which involves much needed work around getting core libraries to support Femto, especially most used ones like Fable.Elmish.React and Fable.React, please take a look at this issue.

@nojaf
Copy link
Author

nojaf commented Jul 12, 2019

Hi, what if we parse an fsx file instead?
Similar to how Fable does this.

@Zaid-Ajaj
Copy link
Owner

Oh if that already gives us a CrackedProject then that's all we need to get it up and running with Femto 😄 PR maybe?

@nojaf
Copy link
Author

nojaf commented Jul 12, 2019

Looks like it is almost already there 😋.
I'll try to create a PR in the coming weeks.

@Zaid-Ajaj
Copy link
Owner

Heyy @nojaf any (planned) progress on this one? 😄

@nojaf
Copy link
Author

nojaf commented Sep 27, 2019

Hey Zaid, I sorta lost track of this. Nothing planned for the moment. Maybe close this issue and let's reopen if other people are interested.

@Zaid-Ajaj
Copy link
Owner

Sounds good to me 😄 Thanks for quick reply

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

2 participants