Skip to content

Generate specific list of dependencies for devDependencies #325

Description

@lfdominguez

Hi, thanks for this great project.

I'm really trying hard to build a NextJS project using node2nix. I can't use the package-lock.json because devs don't want to use Nix and use the package-lock version 3 that is not supported by node2nix.

Furthermore, I can suggest that on the node-packages.nix if you use the -d arg to node-nix not to merge the nodeDependencies from devDependencies and dependencies?? My focus is that devDependencies it's in theory only for build process, but not for runtime, then if I need a build step on my project need to execute node2nix with -d and this will add so many dependencies to my runtime final derivation that I don't want.

On the node-packages.nix creation process then can be created the current nodeDependencies but if -d is used then put nodeDependenciesDist with only the dependencies and not the devDependencies. Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions