OpenAPITools / openapi-generator-cli

A node package wrapper for https://github.com/OpenAPITools/openapi-generator
Apache License 2.0
1.47k stars 154 forks source link

chore: add nix flake #826

Closed joscha closed 1 month ago

joscha commented 1 month ago

This adds a nix flake similar to the one we have in https://github.com/OpenAPITools/openapi-generator

It installs yarn 1.x and node 18 ~w/o npm~ and adds a direnv directive.

update: we need npm, it seems we use it here: https://github.com/OpenAPITools/openapi-generator-cli/blob/113ee846c64c6cbda3107a010e7f975371e79b30/package.json#L54 in addition to yarn

The current lock file sets this to:

node --version
v18.20.4
yarn --version
1.22.22
npm --version
10.7.0

same as in the current master: https://github.com/OpenAPITools/openapi-generator-cli/actions/runs/11091950012/job/30816360053

Screenshot 2024-10-02 at 11 14 47 AM
github-actions[bot] commented 1 month ago

:tada: This PR is included in version 2.14.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: