From 72274e3bb670f032ad509f2ff1620e1dab407805 Mon Sep 17 00:00:00 2001 From: Ivan Stelmakh Date: Mon, 13 Dec 2021 13:41:52 +0200 Subject: [PATCH 1/2] fix: exports for react native --- packages/plugin/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugin/package.json b/packages/plugin/package.json index a40b413f201..cd2a7c389c3 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -8,6 +8,7 @@ "main": "dist/index.js", "module": "dist/index.mjs", "exports": { + "./package.json": "./package.json", ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" From 2f4b14f11193373c170e3a5730cc2d7fc1375f7c Mon Sep 17 00:00:00 2001 From: Ivan Stelmakh Date: Tue, 14 Dec 2021 11:44:43 +0200 Subject: [PATCH 2/2] feat: create changesets --- .changeset/quick-elephants-punch.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/quick-elephants-punch.md diff --git a/.changeset/quick-elephants-punch.md b/.changeset/quick-elephants-punch.md new file mode 100644 index 00000000000..a6ea6b8ab2e --- /dev/null +++ b/.changeset/quick-elephants-punch.md @@ -0,0 +1,5 @@ +--- +'@graphql-eslint/eslint-plugin': patch +--- + +Fix exports in package.json for react-native projects