
I am a software developer living in Bordeaux. I am a .NET and Azure enthusiast, primarly coding in C# but I like to discover other languages and technologies too.
Search for a command to run...

I am a software developer living in Bordeaux. I am a .NET and Azure enthusiast, primarly coding in C# but I like to discover other languages and technologies too.
No comments yet. Be the first to comment.
Using Azure OpenID Connect with Pulumi in GitHub Actions

pnpm audit

Discussion about pnpm usage and popularity.

pnpm outdated

Why are we talking about CI in the first place? When working on a project, you typically focus on a specific feature at a time, making changes on a dedicated branch for that feature. When it's time for you to integrate these modifications into the pr...

Bordeaux Coders
10 posts
You have a dependency in your project and want to execute a command using it? The pnpm exec command can help you with that.
pnpm exec eslint . --ext .ts
Given that ESLint is a project dependency, this example shows how to use the pnpm exec command to run the ESLint tool on all TypeScript files within the project.
You need to do a specific command that is not part of your npm scripts
You want to execute a tool that is a dependency of your project without having to install it globally
You need to execute a CLI package command in a CI pipeline, and this package is already included in the devDependencies of your project.
If the command you are using does not conflict with a built-in pnpm command, there is no need to specify 'exec'. Referring to the previous example, you can simply run:
pnpm eslint . --ext .ts
It's one of the small details that make using pnpm so pleasant.