Skip to content

Commit

Permalink
fix: npm pkg fix and add files section to control published contents
Browse files Browse the repository at this point in the history
previously there were some files not included that should be included
(namely, dist/version.js) and file-based control in package.json is the
least ambiguous way to know you include what you want
  • Loading branch information
mikehardy committed Dec 13, 2023
1 parent 3de19af commit 41a0fb5
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/invertase/notifee"
"url": "git+https://github.com/invertase/notifee.git"
},
"license": "Apache-2.0",
"keywords": [
Expand All @@ -53,5 +53,20 @@
],
"publishConfig": {
"access": "public"
}
},
"files": [
"README.md",
"LICENSE",
"/android",
"!/android/build",
"/ios",
"/src",
"!/src/__mocks__",
"/dist",
"/lib",
"/*.podspec",
"/jest-mock.js",
"/react-native.config.js",
"tsconfig.json"
]
}

0 comments on commit 41a0fb5

Please sign in to comment.