Skip to content

Commit

Permalink
Merge pull request #1209 from push-protocol/chore/rn-sdk-fix-patch
Browse files Browse the repository at this point in the history
Fixes RN sdk deployment and patch not running
  • Loading branch information
HarshRajat authored Apr 5, 2024
2 parents 7a4bd8d + 3edf96b commit 7f034ff
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions packages/reactnative/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@pushprotocol/react-native-sdk",
"version": "0.1.0",
"description": "test",
"version": "1.1.1",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
Expand Down Expand Up @@ -44,26 +43,26 @@
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"build": "bob build",
"prepare": "bob build",
"release": "release-it",
"bootstrap": "yarn install",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
"postinstall": "node_modules/.bin/rn-nodeify --install crypto,assert,url,stream,events,http,https,os,url,net,fs --hack && npx patch-package"
"postinstall": "cd $INIT_CWD && npx patch-package --patch-dir ./node_modules/@pushprotocol/react-native-sdk/patches"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/ethereum-push-notification-service/push-sdk",
"repository": "https://github.com/push-protocol/push-sdk",
"author": "Push Protocol <[email protected]> (https://www.push.org)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethereum-push-notification-service/push-sdk/issues"
"url": "https://github.com/push-protocol/push-sdk/issues"
},
"homepage": "https://github.com/ethereum-push-notification-service/push-sdk#readme",
"homepage": "https://github.com/push-protocol/push-sdk#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"dependencies": {
"@pushprotocol/restapi": "1.6.3",
Expand All @@ -75,6 +74,7 @@
"ethers": "^5.7.1",
"events": "^3.3.0",
"https-browserify": "^0.0.1",
"patch-package": "^8.0.0",
"process": "^0.11.10",
"react-native-crypto": "^2.2.0",
"react-native-fast-openpgp": "2.7.0",
Expand All @@ -94,10 +94,8 @@
"uuid": "^9.0.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.2.2",
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^28.1.2",
"@types/react": "~18.2.25",
"@types/react-native": "0.72.6",
Expand All @@ -107,7 +105,6 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.1",
"patch-package": "^7.0.0",
"pod-install": "^0.1.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.0.5",
Expand All @@ -134,11 +131,6 @@
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
Expand All @@ -148,12 +140,7 @@
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
"release": false
}
},
"eslintConfig": {
Expand Down

0 comments on commit 7f034ff

Please sign in to comment.