From 985b33c56f146b2e65ae391a3af57f63b07ecbdf Mon Sep 17 00:00:00 2001 From: JounQin Date: Wed, 10 Jan 2024 11:09:11 +0800 Subject: [PATCH] chore: add `package.json` into `exports` map (#629) --- .changeset/rich-pigs-allow.md | 5 +++++ package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/rich-pigs-allow.md diff --git a/.changeset/rich-pigs-allow.md b/.changeset/rich-pigs-allow.md new file mode 100644 index 00000000..ebdda894 --- /dev/null +++ b/.changeset/rich-pigs-allow.md @@ -0,0 +1,5 @@ +--- +"eslint-plugin-prettier": patch +--- + +chore: add `package.json` into `exports` map diff --git a/package.json b/package.json index a548fb8a..d6c70669 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "./recommended": { "types": "./recommended.d.ts", "default": "./recommended.js" - } + }, + "./package.json": "./package.json" }, "types": "eslint-plugin-prettier.d.ts", "files": [