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

Using nix and nix-related code for package and depedency management #6

Open
bjgavilanes opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@bjgavilanes
Copy link
Contributor

bjgavilanes commented Dec 4, 2024

We want to use biome (https://biomejs.dev/) as a solution, and alternative, for Prettier and ESLint.

Biome is

a [performant linter (https://github.com/biomejs/biome/tree/main/benchmark#linting) for JavaScript, TypeScript, JSX, CSS and GraphQL that features 300 rules from ESLint, TypeScript ESLint, and other sources.

We got two main ways to integrate linter to this infraestructure for this project:

  • By using node-related tools -- npm i -D --save-exact @biomejs/biome
  • Using system's package manager

I would prefer the second one. npm, and related, invocations would be a bottleneck for the local-first CI pipeline; however, I do know that package.json related workflow is a common practice.

If it we decide about the second option, I would implement nix as a package and dependency management: the developers would even need to install pnpm, they would just install nix for their packages and dependencies to resolve as indicated in the shell.nix

I would some to disscuss this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants