Skip to content

Commit fbce800

Browse files
committed
Directory restructure
1 parent cdc6eb5 commit fbce800

File tree

90 files changed

+43
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+43
-14
lines changed

.DS_Store

10 KB
Binary file not shown.

.github/.DS_Store

6 KB
Binary file not shown.

.github/workflows/.DS_Store

6 KB
Binary file not shown.

.github/workflows/e2e-ios.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ jobs:
2424
uses: actions/cache@v3
2525
id: lib-npmcache
2626
with:
27-
path: node_modules
27+
path: lib/node_modules
2828
key: node-modules-${{ hashFiles('**/yarn.lock') }}
2929

3030
- name: Install lib dependencies
3131
if: steps.lib-npmcache.outputs.cache-hit != 'true'
32+
working-directory: lib
3233
run: yarn install
3334

3435
- name: Build lib
36+
working-directory: lib
3537
run: yarn build
3638

3739
- name: Cache app node modules
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: example-lint-check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'master'
7+
8+
jobs:
9+
eslint:
10+
name: Run lint check
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out Git repository
15+
uses: actions/checkout@v2
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 14
21+
22+
- name: Install Node.js dependencies
23+
working-directory: example
24+
run: yarn install
25+
26+
- name: Lint check
27+
run: yarn lint:check
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: lint-check
1+
name: lib-lint-check
22

33
on:
44
pull_request:
@@ -20,6 +20,7 @@ jobs:
2020
node-version: 14
2121

2222
- name: Install Node.js dependencies
23+
working-directory: lib
2324
run: yarn install
2425

2526
- name: Lint check

.gitignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
node_modules/
21
.idea/
3-
src/protos/*.ts
4-
src/protos/*.js
5-
dist/
6-
**.DS_Store
7-
android/build/
8-
android/local.properties
9-
android/.gradle/
10-
yarn-error.log
11-
example/.watchman*
12-
example/*.log

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dependencies": {
1818
"@react-native-async-storage/async-storage": "^1.17.6",
1919
"@react-native-clipboard/clipboard": "^1.10.0",
20-
"@synonymdev/react-native-ldk": "../",
20+
"@synonymdev/react-native-ldk": "../lib",
2121
"assert": "^2.0.0",
2222
"bitcoinjs-lib": "^6.0.1",
2323
"buffer": "^6.0.3",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)