Skip to content

chore(deps): add prettier to root devDependencies#368

Open
Adiz4415 wants to merge 1 commit into
geevapp:mainfrom
Adiz4415:chore/add-prettier-root-dep
Open

chore(deps): add prettier to root devDependencies#368
Adiz4415 wants to merge 1 commit into
geevapp:mainfrom
Adiz4415:chore/add-prettier-root-dep

Conversation

@Adiz4415

Copy link
Copy Markdown

Tested locally: pnpm format --check **/*.{ts,tsx,md} no longer fails with the previous "prettier: not found" error after this dep is added.

Installs prettier (^3.8.4) as a workspace-root devDependency so the existing root package.json scripts.format ("prettier --write **/*.{ts,tsx,md}") is no longer broken by a missing-binary error. Regenerates pnpm-lock.yaml accordingly.

No files are reformatted by this PR. Follow up with .prettierrc + .prettierignore before running pnpm format --write so default Prettier 3.x settings do not avalanche over existing files. Only package.json and pnpm-lock.yaml are staged.
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.

1 participant