fisker Cheung
2e2a23fa08
Update GraphQL to v17 ( #19175 )
2026-06-05 18:49:38 +08:00
Bingjia Yang
5adf567676
Support directives on directive definitions in GraphQL ( #19171 )
2026-05-19 22:35:00 +08:00
fisker Cheung
797e260d36
Import graphql directly ( #18599 )
2026-01-10 13:49:16 +08:00
fisker Cheung
c9df58f5f9
Enable @stylistic/spaced-comment rule ( #17941 )
2025-09-23 17:24:03 +08:00
Will Nayes and fisker
21c6f43612
Ignore single files with @noformat / @noprettier ( #17344 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-04-18 21:28:47 +08:00
fisker Cheung
07b468917e
Remove blank lines between imports ( #16450 )
2024-09-29 17:56:37 +08:00
fisker Cheung
5f16b6b66c
Simplify loc.js ( #15933 )
2024-01-16 10:26:09 +08:00
Alexander Kachkaev
1ea2fd059a
Add eslint-plugin-simple-import-sort ( #15817 )
2023-12-18 03:34:12 +08:00
fisker Cheung
6d21de11fd
Update plugin build system ( #14571 )
2023-03-24 08:44:25 +08:00
fisker Cheung
e2c5da38f4
Fix builtin plugins ( #14502 )
2023-03-13 12:34:56 +08:00
fisker Cheung
4fb03a7f2a
Remove dynamic imports ( #14369 )
2023-02-18 11:28:58 +08:00
fisker Cheung
9cf73d3610
Use c8 ignore comments ( #13683 )
2022-10-22 23:33:08 +08:00
fisker Cheung
30f8825cb0
Add cause to parse error ( #13342 )
2022-08-30 10:27:11 +08:00
fisker Cheung
0964f9424b
Keep tokens in graphql AST ( #13292 )
2022-08-18 13:31:57 +08:00
fisker Cheung
86424ccc22
Remove the parsers argument for plugin.parsers.parse ( #13268 )
2022-08-16 09:52:27 +08:00
fisker Cheung
a6661e850c
Use import() in parsers ( #13261 )
2022-08-10 19:32:44 +08:00
051fdd32f3
Update dependency graphql to v16 ( #12835 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-05-08 20:20:34 +08:00
fisker Cheung
717edf520f
Inline require() parsers ( #12527 )
2022-03-28 09:41:08 +08:00
fisker Cheung
0040204e2c
Migrate GraphQL language to ES Module ( #12321 )
2022-02-21 10:25:39 +08:00
fisker Cheung
894f841fbd
Style: Enforce extensions ( #11227 )
2021-07-21 09:10:34 +08:00
fisker Cheung
8f17187bf7
Reduce parser-graphql size ( #10903 )
2021-05-19 09:23:31 +08:00
fisker Cheung
85abe0fccd
Refactor graphql parser to use tryCombinations ( #9928 )
2020-12-18 19:20:20 +08:00
fisker Cheung
9e9cc85072
Enable directly-loc-start-end for all languages ( #9610 )
2020-11-10 09:06:08 +08:00
fisker Cheung
3fe4666a85
Consistent parser errors ( #9406 )
2020-10-16 10:39:05 +08:00
fisker Cheung
d31ebf4619
Test: Improve coverage ( #8811 )
2020-08-21 09:43:24 +08:00
Georgii Dolzhykov
9dad95b35f
Bump Prettier dependency to 2.0.0
2020-03-21 22:09:54 +02:00
fisker Cheung and Georgii Dolzhykov
d456b158e0
Style: use object destructuring ( #7325 )
...
* Style: use object destructuring
* Update versions.js
* Update sync-flow-tests.js
* Update core.js
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-01-14 17:30:18 +02:00
Adrian Zgorzałek
7c9823fcba
Teach prettier/graphql about formatting fragment variables. ( #6016 )
...
Fragment variables are an experimental extension to GraphQL schema.
Formatting should follow the same rules as formatting an OperationDefinition node,
hence code is the same.
2019-04-04 09:44:52 -03:00
Ika
b99de9811b
feat(graphql): support pragma ( #4699 )
2018-06-17 14:04:48 +08:00
Lucas Duailibe
52a2a46b3c
New build system ( #4449 )
2018-05-24 15:30:45 -03:00
Rui Araújo
9da8752585
Allow new interface style for GraphQL. ( #4012 )
...
* Allow new interface style for GraphQL.
This is a breaking change since it will upgrade the old style to the new one.
Closes #3600 .
* Allow old interface style.
When in present of mixed style, it updates to the new one.
2018-03-27 00:52:57 -06:00
Lucas Azzola
4c9d4061da
Prettier Plugin API ( #3536 )
...
* Move files around in preparation for refactor
* Update paths in build script
* Extract generic printing logic from the JavaScript printer
* Conform printer API
* Fixup decorator handling
* Fix multiparser
* Create plugin entry for markdown
* Create plugin entry for javascript/typescript
* Create plugin entry for html
* Create plugin entry for graphql
* Create plugin entry for css/less/scss
* Move JSON to JS plugin entry
* Integrate plugins into getSupportInfo()
* Move astFormat to parser definition
* Move util to common
* Implement parser loading
* remark -> mdast
* Rename cli/cli -> cli/index
* Rename builder -> doc package, fix printer resolution
* Fix doc shape assumption in CSS-in-JS logic
* Fix third-party.js prod resolution
* Fixup build-docs script
* Distribute multiparser code
* Remove requirement to forward options
* Flatten closure
* Remove debug directory
* Expose doc
* Add external plugins
* Pass options to loadPlugins
* Export getParsers
* Pin resolve version
* Use getSupportInfo in Markdown embed
* Document plugin API
* Update build-docs
* Add CLI for plugins
* Lint docs
* Fixup build.js
* Add vue language
* Fixup multiparser for vue
* Upgrade rollup and rollup-plugin-commonjs
* Fixup third-party build
* Change AST format in docs
2017-12-26 12:23:50 +11:00