Skip to content

Commit

Permalink
Expose main entry in package.json (#316)
Browse files Browse the repository at this point in the history
* Expose main entry in package.json

* Add changesetk
  • Loading branch information
rubendinho authored Dec 20, 2024
1 parent a897bc5 commit de5d43e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/moody-shrimps-roll.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit de5d43e

Please sign in to comment.