From 6ab905801d1b8986667be2fb02ffb03553f919f2 Mon Sep 17 00:00:00 2001 From: Ruben Izmailyan Date: Thu, 19 Dec 2024 21:16:21 -0600 Subject: [PATCH 1/2] Expose main entry in package.json --- packages/core/package.json | 1 + packages/react-native/package.json | 1 + packages/react/package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/core/package.json b/packages/core/package.json index 547fbfa..b56e123 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -23,6 +23,7 @@ }, "types": "./dist/index.d.ts", "files": ["dist/**", "src/**", "CHANGELOG.md"], + "main": "dist/index.js", "scripts": { "build": "bunchee", "clean": "rimraf .turbo dist", diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 40b198a..597e47f 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -22,6 +22,7 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": ["dist/**", "src/**", "CHANGELOG.md"], + "main": "dist/index.js", "scripts": { "addApiKey": "node scripts/addApiKey.js", "build": "pnpm run addApiKey && bunchee", diff --git a/packages/react/package.json b/packages/react/package.json index fc90ae4..d463266 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -23,6 +23,7 @@ }, "types": "./dist/index.d.ts", "files": ["dist/**", "src/**", "CHANGELOG.md"], + "main": "dist/index.js", "scripts": { "build": "bunchee", "clean": "rimraf .turbo dist", From 901116c95b034b8935becf49fc95aba04322d09f Mon Sep 17 00:00:00 2001 From: Ruben Izmailyan Date: Fri, 20 Dec 2024 10:21:44 -0600 Subject: [PATCH 2/2] Add changesetk --- .changeset/moody-shrimps-roll.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/moody-shrimps-roll.md diff --git a/.changeset/moody-shrimps-roll.md b/.changeset/moody-shrimps-roll.md new file mode 100644 index 0000000..985325b --- /dev/null +++ b/.changeset/moody-shrimps-roll.md @@ -0,0 +1,7 @@ +--- +"@quiltt/react-native": patch +"@quiltt/react": patch +"@quiltt/core": patch +--- + +Updated `main` param to `package.json` to improve analyzing the package.