Skip to content

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

@bjgavilanes

Description

@bjgavilanes

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions