Skip to content

Commit

Permalink
fix: monorepo release issues (#386)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Jul 16, 2021
1 parent ffaa3c0 commit 89a628f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
steps:
- name: Checkout aries-framework-javascript
uses: actions/checkout@v2
with:
# pulls all commits (needed for lerna to correctly version)
fetch-depth: 0

# setup dependencies
- name: Setup Libindy
Expand Down
15 changes: 10 additions & 5 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,22 @@
"dependencies": {
"@aries-framework/core": "*",
"@azure/core-asynciterator-polyfill": "^1.0.0",
"events": "^3.3.0",
"react-native-fs": "^2.18.0",
"react-native-get-random-values": "^1.7.0",
"rn-indy-sdk": "^0.1.11"
"events": "^3.3.0"
},
"devDependencies": {
"@types/react-native": "^0.64.10",
"@types/rn-indy-sdk": "npm:@types/indy-sdk@^1.16.5",
"react": "17.0.1",
"react-native": "0.64.2",
"rimraf": "~3.0.2",
"typescript": "~4.3.0"
"typescript": "~4.3.0",
"rn-indy-sdk": "^0.1.11",
"react-native-get-random-values": "^1.7.0",
"react-native-fs": "^2.18.0"
},
"peerDependencies": {
"rn-indy-sdk": ">= 0.1.11",
"react-native-get-random-values": "^1.7.0",
"react-native-fs": "^2.18.0"
}
}
5 changes: 4 additions & 1 deletion packages/react-native/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import '@azure/core-asynciterator-polyfill'
import type { AgentDependencies } from '@aries-framework/core'

import { EventEmitter } from 'events'
import * as indy from 'rn-indy-sdk'
// Eslint complains rn-indy-sdk has no default export
// But that's not true
// eslint-disable-next-line import/default
import indy from 'rn-indy-sdk'

import { ReactNativeFileSystem } from './ReactNativeFileSystem'

Expand Down

0 comments on commit 89a628f

Please sign in to comment.