You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 thenodeDependencies
fromdevDependencies
anddependencies
?? My focus is thatdevDependencies
it's in theory only for build process, but not for runtime, then if I need a build step on my project need to executenode2nix
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 currentnodeDependencies
but if-d
is used then putnodeDependenciesDist
with only thedependencies
and not thedevDependencies
. Is this possible?The text was updated successfully, but these errors were encountered: