Commit Graph
14 Commits
Author SHA1 Message Date
fisker Cheung e240f15e75 Major refactor (#18381) 2025-12-01 07:25:25 +08:00
fisker Cheung 91a2e2513e Fix schema (#15962) 2024-01-22 00:02:31 +08:00
SUZUKI Sosuke 6e5dee0a01 Fix release script (#15016) 2023-07-07 14:44:39 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
Sosuke Suzukiandfisker Cheung 4d8871c106 Migrate generate-schema script to ESM (#11226)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-07-20 19:25:54 +08:00
Sosuke Suzuki 3332a28aaf Update generate-schema script (#11043)
* Support custom parser and use anyOf

* Update snapshots
2021-06-11 14:04:51 +09:00
fisker Cheung 98abb990cc Use Object.fromEntries(), Array#flat() and Array#flatMap() (#10853) 2021-05-12 01:05:29 +08:00
Georgii Dolzhykov 9dad95b35f Bump Prettier dependency to 2.0.0 2020-03-21 22:09:54 +02:00
fisker Cheung 0370f47cb3 Refactor some Object.assign (#7437) 2020-01-31 09:13:37 +09:00
fisker Cheung 9b2c7f342f Fix prefer-object-spread in /scripts (#7336) 2020-01-20 13:49:52 +03:00
Simon Lydell 44b819144b Support string-to-package config in JSON schema: (#6941)
Prettier supports having just a string in the config file to use a
shared config from a package. Example:

    "@company/prettier-config"

But the JSON schema generated by running `node
scripts/generate-schema.js` did not include that possibility.

See https://github.com/SchemaStore/schemastore/pull/855 for more
information.
2019-11-13 17:45:59 +01:00
Ika 5d7b14856b fix(schema): support array type (#4312)
* test: add test

* fix(schema): support array type

* fix: convince CI

* refactor: another way to convince CI
2018-04-15 00:06:43 +08:00
Ika 93caa7642e chore: add a script to generate schema (#4248)
* chore: add a script to generate schema

* typo fix

* refactor
2018-04-05 00:59:50 +08:00