diff --git a/README.md b/README.md index 8b3d0bc0..609c05ee 100644 --- a/README.md +++ b/README.md @@ -3581,7 +3581,7 @@ Types: - makeNodeJsVersion (`function str -> package`): - - (`enum [ "10" "12" "14" "16" ]`): + - (`enum [ "10" "12" "14" "16" "17" ]`): [Node.js][NODE_JS] version to use. Example: @@ -3622,7 +3622,7 @@ Types: - name (`str`): Custom name to assign to the build step, be creative, it helps in debugging. - - nodeJsVersion (`enum [ "10" "12" "14" "16" ]`): + - nodeJsVersion (`enum [ "10" "12" "14" "16" "17" ]`): [Node.js][NODE_JS] version to use. - packageJson (`package`): Path to the `package.json` of your project. @@ -3713,7 +3713,7 @@ Types: - name (`str`): Custom name to assign to the build step, be creative, it helps in debugging. - - nodeJsVersion (`enum [ "10" "12" "14" "16" ]`): + - nodeJsVersion (`enum [ "10" "12" "14" "16" "17" ]`): [Node.js][NODE_JS] version to use. - packageJson (`package`): Path to the `package.json` of your project. diff --git a/src/args/make-node-js-version/default.nix b/src/args/make-node-js-version/default.nix index 9e1be6cb..22735f32 100644 --- a/src/args/make-node-js-version/default.nix +++ b/src/args/make-node-js-version/default.nix @@ -10,4 +10,6 @@ else if version == "14" then __nixpkgs__.nodejs-14_x else if version == "16" then __nixpkgs__.nodejs-16_x +else if version == "17" +then __nixpkgs__.nodejs-17_x else abort "Supported node versions are: 10, 12, 14 and 16"