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 script support please #15

Open
EdwardDrapkin opened this issue Nov 22, 2022 · 2 comments
Open

NPM script support please #15

EdwardDrapkin opened this issue Nov 22, 2022 · 2 comments

Comments

@EdwardDrapkin
Copy link

No description provided.

@codylandry
Copy link

+1 for npm script support. I'd love to put together a PR for this. I'll try to figure out what's needed, but it would be super helpful if you have any guidance on where/what needs to be touched to support new run configuration types.

@Fapiko
Copy link
Owner

Fapiko commented Feb 4, 2023

Last time I tried adding support for NPM their runner worked completely differently than the ones that have support added so it's not trivial. That said - it seems JB is doing quite a bit of work on their run config providers across the different IDE's because things keep changing and are inconsistent, so that may have changed by now.

It's been a while since I've touched this project but, if you have a look at any of the language specific implementations: https://github.com/Fapiko/intellij-better-direnv/tree/main/modules/products you can get a feel for the code required to modify a run config.

Then add a build dependency to gradle: https://github.com/Fapiko/intellij-better-direnv/blob/main/build.gradle.kts#L31 &

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

3 participants