-
Notifications
You must be signed in to change notification settings - Fork 526
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
Add npm dependencies? #3436
Comments
BTW, is Paket already available as a |
/cc @enricosada regarding dotnet tool I think if we want to run install automatically then we'd need to detect if the user is using npm or yarn. |
@alfonsogarciacaro I'm like the biggest fan of Paket .NET Core, install via
|
In order to detect the package manager, we can look for Also, one question is about will I think that looking at the nearest |
I think before we start to actually install JS dependencies, we should figure out how we should express those dependencies in the first place. Then in the first iteration we can make Paket understand them and print the IDs and versions to the console. Also remember that Fable doesn't really require Paket now. Devs who use @nojaf Did you just rewritten the Paket Bootstrapper in one line of shell code? 😄 |
Sure, I just wanted to point that if we want to make paket support "install" scenario. There can be more than one |
This would be interesting from SAFE apps POV to be able to maintain JS deps using Paket |
@theimowski - I didn't say paket should control js dependencies - that
would be whole different beast
Am Do., 22. Nov. 2018, 13:24 hat Tomasz Heimowski <notifications@github.com>
geschrieben:
… This would be interesting from SAFE apps POV to be able to maintain JS
deps using Paket
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3436 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNNNlLVFL1DwxxNiwgIRS35ik-Y4Hks5uxpdqgaJpZM4Yu_4F>
.
|
Right sorry I misunderstood the original intent |
AFAIK the reasonml people do that and have something that uses opam and npm. But I think it's waaaay to much work. |
Just my 2c: Paket is not npm, and npm is not paket. I wouldn't expect npm to run paket install if it happened to see a paket.references file locally. That's for the developer and documentation of how to build the project. If Fable is used to nuget/paket and npm, then it's part of the ecosystem already. Create a build.sh or build.cmd which invokes both if you need to. |
Continuing discussion from fable-compiler/Fable#1649 (comment)
There are currently two issues for Fable users and authors. Would it be possible to fix both by adding npm dependencies to Paket?
What would Paket do with npm dependencies?
npm install
automatically after restore/install if it detects npm dependencies?The text was updated successfully, but these errors were encountered: