Commit Graph
30 Commits
Author SHA1 Message Date
fisker 0c136da77d Move to peerDependencies 2025-04-14 23:33:03 +08:00
fisker 0a0a16cb97 Merge branch 'next' into cli-next
# Conflicts:
#	package.json
#	yarn.lock
2025-04-14 23:08:42 +08:00
fisker 9697144462 Merge branch 'main' into next
# Conflicts:
#	package.json
#	yarn.lock
2025-04-14 22:47:14 +08:00
fisker Cheung 377b231a5d Bundle package into dist/prettier/ (#15825) 2025-04-09 08:38:46 +08:00
fisker 9cbc88f7a6 Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/index.js
#	yarn.lock
2025-02-25 05:51:03 +08:00
fisker CheungandTatsunori Uchino bf5aab8f2d Revert "Use ESM entrypoint for require(ESM)" (#17156)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
2025-02-22 12:07:28 +08:00
fisker b9e25ea8aa Fix Knip config 2025-02-19 00:46:13 +08:00
fisker 9c06bb2d01 Merge branch 'main' into cli-next 2025-02-19 00:14:32 +08:00
Tatsunori Uchinoandfisker Cheung b64b0a88ba Use ESM entrypoint for require(ESM) (#16958)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-01-21 12:17:24 +08:00
fisker Cheung 07b468917e Remove blank lines between imports (#16450) 2024-09-29 17:56:37 +08:00
Sosuke Suzuki 537e56adba Merge branch 'main' into next 2024-09-03 07:19:37 +09:00
fisker Cheung 60964140b0 Add type: "commonjs" to bundled package.json (#16600) 2024-08-26 08:22:43 +08:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00
Sosuke Suzuki f913c9acc5 Merge branch 'main' into next 2023-12-21 03:04:18 +09:00
Alexander Kachkaev 1ea2fd059a Add eslint-plugin-simple-import-sort (#15817) 2023-12-18 03:34:12 +08:00
fisker d5cdb3560a Renamed @prettier/cli 2023-11-30 14:37:41 +08:00
fisker 80a8cc44cd Unpin @prettier/next 2023-11-30 13:38:49 +08:00
fisker Cheung e8d787ce79 Use @prettier/next (#15732) 2023-11-30 13:34:09 +08:00
fisker Cheung 5c40e728e4 Add "browser" field in exports["."] (#15596) 2023-11-12 23:21:13 +08:00
fisker Cheung 7d56bc8752 Add preferUnplugged: true to package.json (#15169) 2023-08-28 10:25:36 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker Cheung ca2c0ccacb Put types first in exports (#14637) 2023-03-31 14:15:09 +08:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
fisker Cheung 47f4e59fc0 Whitelist keys when build package.json file (#14611) 2023-03-28 15:42:40 +08:00
fisker Cheung 6d21de11fd Update plugin build system (#14571) 2023-03-24 08:44:25 +08:00
fisker Cheung 413a76d798 Remove plugins from standalone build (#14570) 2023-03-23 15:18:10 +08:00
SUZUKI Sosukeandfisker Cheung 813df18df6 Moves @types/prettier to this repository (#14212)
* Rename `types` to `thirs-party-types`

* Copy `index.d.ts` from `@types/prettier`

* Make public APIs async

* Add missing `formatAST`

* Fix `CustomParser`

* Fix `Parser.parse` signature

* Add comment

* Add `standalonw.d.ts`

* first implement

* Fix path

* Add missing parser `.d.ts`

* Fix

* Fix path

* Introduce valid tests

* Add unit tests for dts files

* Add unit tests

* Simplify unit testing

* Tweaks structures

* Revert needless change

* Fix types path

* Introduce `ts-expect`

* Fix doc utils api

* Add AstPath API

* Fix API

* Fix tests

* Fix changelog

* Move dts

* Update module specifiers

* Remove generate dts config file

* Update build scripts

* Fix type errors

* Refactor with namespace imports

* Update comments

* Fix build script

* Improve build script

* `typing` -> `types`

* Clean up

* Minor tweak

* Minor tweak

* Modify `exports` field

* Fix paths in builder

* Refactor

* Refactor

* Address review

* Update changelog

* Address reviews

* Remove `since` from tests

* Improve utils type def

* Mark deprecated methods

* Address review

* Move docs types

* Address review

* Update c8 config

* Minor tweak

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-02-23 22:15:18 +09:00
fisker Cheung e412b27db9 Fix package.json exports field (#13639) 2022-10-16 12:47:33 +08:00
fisker CheungandSosuke Suzuki 31a796d32c Restructure package files, add exports (#13530)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-10-06 15:20:19 +08:00
fisker Cheung 81a4d455f3 Build: Refactor build script (#13513) 2022-09-25 11:50:59 +08:00