Skip to content

Commit 05edcae

Browse files
authored
fix: fix postinstall (#36)
1 parent 860be6c commit 05edcae

4 files changed

Lines changed: 37 additions & 5 deletions

File tree

.github/workflows/install.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: NPM install
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
jobs:
9+
install:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Install
16+
run: |
17+
mkdir my-app
18+
cd my-app
19+
npm init -y
20+
npm install @unomed/react-native-matrix-sdk

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![android](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-android.yml/badge.svg)](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-android.yml)
88
[![ios](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-ios.yml/badge.svg)](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-ios.yml)
99
[![android](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-release.yml/badge.svg)](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/build-release.yml)
10+
[![NPM install](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/install.yml/badge.svg)](https://github.com/unomed-dev/react-native-matrix-sdk/actions/workflows/install.yml)
1011

1112
Powered by [uniffi-bindgen-react-native] and [create-react-native-library].
1213

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,11 @@
9494
"eslint-config-prettier": "^9.0.0",
9595
"eslint-plugin-prettier": "^5.0.1",
9696
"jest": "^29.7.0",
97-
"patch-package": "^8.0.0",
9897
"prettier": "^3.0.3",
9998
"react": "18.3.1",
10099
"react-native": "0.76.9",
101100
"react-native-builder-bob": "^0.31.0",
102101
"release-it": "^15.0.0",
103-
"tar": "^7.4.3",
104102
"turbo": "^1.10.7",
105103
"typescript": "^5.2.2",
106104
"uniffi-bindgen-react-native": "0.29.3-1"
@@ -225,5 +223,10 @@
225223
"type": "module-new",
226224
"languages": "cpp",
227225
"version": "0.41.2"
226+
},
227+
"dependencies": {
228+
"patch-package": "^8.0.0",
229+
"postinstall-postinstall": "^2.1.0",
230+
"tar": "^7.4.3"
228231
}
229232
}

yarn.lock

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4568,6 +4568,7 @@ __metadata:
45684568
eslint-plugin-prettier: ^5.0.1
45694569
jest: ^29.7.0
45704570
patch-package: ^8.0.0
4571+
postinstall-postinstall: ^2.1.0
45714572
prettier: ^3.0.3
45724573
react: 18.3.1
45734574
react-native: 0.76.9
@@ -12163,6 +12164,13 @@ __metadata:
1216312164
languageName: node
1216412165
linkType: hard
1216512166

12167+
"postinstall-postinstall@npm:^2.1.0":
12168+
version: 2.1.0
12169+
resolution: "postinstall-postinstall@npm:2.1.0"
12170+
checksum: e1d34252cf8d2c5641c7d2db7426ec96e3d7a975f01c174c68f09ef5b8327bc8d5a9aa2001a45e693db2cdbf69577094d3fe6597b564ad2d2202b65fba76134b
12171+
languageName: node
12172+
linkType: hard
12173+
1216612174
"prelude-ls@npm:^1.2.1":
1216712175
version: 1.2.1
1216812176
resolution: "prelude-ls@npm:1.2.1"
@@ -14959,11 +14967,11 @@ __metadata:
1495914967
linkType: hard
1496014968

1496114969
"yaml@npm:^2.2.2":
14962-
version: 2.8.0
14963-
resolution: "yaml@npm:2.8.0"
14970+
version: 2.8.1
14971+
resolution: "yaml@npm:2.8.1"
1496414972
bin:
1496514973
yaml: bin.mjs
14966-
checksum: 66f103ca5a2f02dac0526895cc7ae7626d91aa8c43aad6fdcff15edf68b1199be4012140b390063877913441aaa5288fdf57eca30e06268a8282dd741525e626
14974+
checksum: 35b46150d48bc1da2fd5b1521a48a4fa36d68deaabe496f3c3fa9646d5796b6b974f3930a02c4b5aee6c85c860d7d7f79009416724465e835f40b87898c36de4
1496714975
languageName: node
1496814976
linkType: hard
1496914977

0 commit comments

Comments
 (0)