Skip to content

Use npx to execute prettier#145

Merged
creyD merged 6 commits intocreyD:devfrom
dcode:master
Jun 9, 2025
Merged

Use npx to execute prettier#145
creyD merged 6 commits intocreyD:devfrom
dcode:master

Conversation

@dcode
Copy link
Copy Markdown
Contributor

@dcode dcode commented May 28, 2025

Fixes: #113

@creyD
Copy link
Copy Markdown
Owner

creyD commented Jun 2, 2025

@dcode isn't this already fixed? Should this still be merged as best practice?

@creyD creyD changed the base branch from master to dev June 2, 2025 14:29
@dcode
Copy link
Copy Markdown
Contributor Author

dcode commented Jun 4, 2025

It wasn't fixed on the master branch. I did see the workaround, however the base images I'm using don't run as root, so I'm unable to do a global npm install. npx is the recommended way to run the prettier CLI for this use case.

@creyD creyD merged commit 6a7b2d0 into creyD:dev Jun 9, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

[BUG] prettier not installed correctly

2 participants