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

chore: add nix flake #826

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Conversation

joscha
Copy link
Contributor

@joscha joscha commented Oct 2, 2024

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:

"publish": "npm run build && npm publish ./dist/apps/generator-cli",
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

@joscha joscha mentioned this pull request Oct 2, 2024
@wing328 wing328 merged commit 61d2111 into OpenAPITools:master Oct 3, 2024
3 checks passed
Copy link

github-actions bot commented Oct 8, 2024

🎉 This PR is included in version 2.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@joscha joscha deleted the joscha/add-nix-flake branch October 8, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants