graph-tooling icon indicating copy to clipboard operation
graph-tooling copied to clipboard

Prettier is dependency (should be devDependency)

Open marekkirejczyk opened this issue 4 years ago • 2 comments
trafficstars

In package.json prettier is set as dependency:

"dependencies": {
...
 "prettier": "^1.13.5",
},

while it should be in devDependencies .

That leads to annoying versioning conflicts in monorepo setup.

marekkirejczyk avatar Jan 19 '21 09:01 marekkirejczyk

good catch will work on cleaning these up!

saihaj avatar Feb 22 '23 17:02 saihaj

actually i realized that we use prettier to format the generated code 🤔 which I think we should just remove and users can run prettier on their own as an after hook to generate

saihaj avatar Jun 06 '23 17:06 saihaj