bruno/packages/bruno-app
Jeremy Benoist d1a8f59c79
Add "Prettify GraphQL" button
The goal is to achieve the same behavior from Insomnia which allow to format a GraphQL query using prettier (see 264177b56f/packages/insomnia/src/ui/components/editors/body/graph-ql-editor.tsx (L260-L266)).

I moved the `prettier` deps from `devDependencies` to `dependencies` because it's now used within the application.
I was forced to import `prettier/standalone` & `prettier/parser-graphql` (as it is explained here: https://prettier.io/docs/en/browser.html) otherwise I got that error:

> Couldn't resolve parser "graphql". Parsers must be explicitly added to the standalone bundle.
2024-02-26 17:02:04 +01:00
..
public release: v0.2.0 2022-10-23 13:43:12 +05:30
src Add "Prettify GraphQL" button 2024-02-26 17:02:04 +01:00
.babelrc feat: moved next app to its own package (resolves #21) 2022-10-09 16:13:11 +05:30
.env.production fix: incorrectly named env file prevents successful builds (#1485) 2024-01-30 22:06:26 +05:30
.gitignore chore: added package-lock.json to gitignore 2022-10-20 15:16:33 +05:30
.prettierrc.json feat(#197): prettier formatting on all files in packages/bruno-app 2023-09-18 13:37:00 +05:30
jsconfig.json bugfix(docs_links): open external URL in browser window, remove deprecated method in electron, refactor to index.tsx 2023-12-07 14:33:42 +01:00
next.config.js feat: skipping telemetry in dev env 2023-01-24 17:28:31 +05:30
package.json Add "Prettify GraphQL" button 2024-02-26 17:02:04 +01:00
postcss.config.js feat(#BRU-11) - tailwindcss v3 upgrade (#1597) 2024-02-19 17:36:54 +05:30
tailwind.config.js feat(#BRU-11) - tailwindcss v3 upgrade (#1597) 2024-02-19 17:36:54 +05:30