Skip to content

Commit bced661

Browse files
committed
Move Nitro submodule into the React Native package
1 parent 7642eab commit bced661

36 files changed

Lines changed: 129 additions & 115 deletions

‎.github/workflows/build-android-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66
pull_request:
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/build-android-release.yml'

‎.github/workflows/build-android.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/build-android.yml'
@@ -23,7 +23,7 @@ on:
2323
- '**/nitro.json'
2424
pull_request:
2525
paths:
26-
- 'core'
26+
- 'packages/react-native-nitro-modules/nitro'
2727
- '.gitmodules'
2828
- 'scripts/sync-core.mjs'
2929
- '.github/workflows/build-android.yml'

‎.github/workflows/build-ios-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66
pull_request:
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/build-ios-release.yml'

‎.github/workflows/build-ios.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/build-ios.yml'
@@ -24,7 +24,7 @@ on:
2424
- '**/nitro.json'
2525
pull_request:
2626
paths:
27-
- 'core'
27+
- 'packages/react-native-nitro-modules/nitro'
2828
- '.gitmodules'
2929
- 'scripts/sync-core.mjs'
3030
- '.github/workflows/build-ios.yml'

‎.github/workflows/harness-android.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
branches:
2525
- main
2626
paths:
27-
- 'core'
27+
- 'packages/react-native-nitro-modules/nitro'
2828
- '.gitmodules'
2929
- 'scripts/sync-core.mjs'
3030
- ".github/workflows/harness-android.yml"
@@ -49,7 +49,7 @@ on:
4949
- "apps/example/rn-harness.config.mjs"
5050
pull_request:
5151
paths:
52-
- 'core'
52+
- 'packages/react-native-nitro-modules/nitro'
5353
- '.gitmodules'
5454
- 'scripts/sync-core.mjs'
5555
- ".github/workflows/harness-android.yml"

‎.github/workflows/harness-ios.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
branches:
2727
- main
2828
paths:
29-
- 'core'
29+
- 'packages/react-native-nitro-modules/nitro'
3030
- '.gitmodules'
3131
- 'scripts/sync-core.mjs'
3232
- ".github/workflows/harness-ios.yml"
@@ -53,7 +53,7 @@ on:
5353
- "apps/example/rn-harness.config.mjs"
5454
pull_request:
5555
paths:
56-
- 'core'
56+
- 'packages/react-native-nitro-modules/nitro'
5757
- '.gitmodules'
5858
- 'scripts/sync-core.mjs'
5959
- ".github/workflows/harness-ios.yml"

‎.github/workflows/lint-cpp.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/lint-cpp.yml'
@@ -16,7 +16,7 @@ on:
1616
- '**/*.mm'
1717
pull_request:
1818
paths:
19-
- 'core'
19+
- 'packages/react-native-nitro-modules/nitro'
2020
- '.gitmodules'
2121
- 'scripts/sync-core.mjs'
2222
- '.github/workflows/lint-cpp.yml'
@@ -45,5 +45,5 @@ jobs:
4545
- name: Verify no files have changed after format
4646
run: |
4747
git diff --exit-code HEAD -- . ':(exclude)bun.lock'
48-
git -C core diff --exit-code HEAD
48+
git -C packages/react-native-nitro-modules/nitro diff --exit-code HEAD
4949

‎.github/workflows/lint-kotlin.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/lint-kotlin.yml'
1212
- '**/*.kt'
1313
pull_request:
1414
paths:
15-
- 'core'
15+
- 'packages/react-native-nitro-modules/nitro'
1616
- '.gitmodules'
1717
- 'scripts/sync-core.mjs'
1818
- '.github/workflows/lint-kotlin.yml'
@@ -43,5 +43,5 @@ jobs:
4343
- name: Verify no files have changed after format
4444
run: |
4545
git diff --exit-code HEAD -- . ':(exclude)bun.lock'
46-
git -C core diff --exit-code HEAD
46+
git -C packages/react-native-nitro-modules/nitro diff --exit-code HEAD
4747

‎.github/workflows/lint-swift.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'core'
8+
- 'packages/react-native-nitro-modules/nitro'
99
- '.gitmodules'
1010
- 'scripts/sync-core.mjs'
1111
- '.github/workflows/lint-swift.yml'
1212
- '**/*.swift'
1313
pull_request:
1414
paths:
15-
- 'core'
15+
- 'packages/react-native-nitro-modules/nitro'
1616
- '.gitmodules'
1717
- 'scripts/sync-core.mjs'
1818
- '.github/workflows/lint-swift.yml'
@@ -37,5 +37,5 @@ jobs:
3737
- name: Verify no files have changed after format
3838
run: |
3939
git diff --exit-code HEAD -- . ':(exclude)bun.lock'
40-
git -C core diff --exit-code HEAD
40+
git -C packages/react-native-nitro-modules/nitro diff --exit-code HEAD
4141

‎.github/workflows/lint-typescript.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches:
99
- main
1010
paths:
11-
- 'core'
11+
- 'packages/react-native-nitro-modules/nitro'
1212
- '.gitmodules'
1313
- 'scripts/sync-core.mjs'
1414
- '.github/workflows/lint-typescript.yml'
@@ -22,7 +22,7 @@ on:
2222
- '**/package.json'
2323
pull_request:
2424
paths:
25-
- 'core'
25+
- 'packages/react-native-nitro-modules/nitro'
2626
- '.gitmodules'
2727
- 'scripts/sync-core.mjs'
2828
- '.github/workflows/lint-typescript.yml'
@@ -66,8 +66,8 @@ jobs:
6666
- name: Run ESLint CI in apps/example/
6767
working-directory: apps/example
6868
run: bun lint-ci
69-
- name: Run ESLint CI in core/packages/nitrogen
70-
working-directory: core/packages/nitrogen
69+
- name: Run ESLint CI in packages/react-native-nitro-modules/nitro/packages/nitrogen
70+
working-directory: packages/react-native-nitro-modules/nitro/packages/nitrogen
7171
run: bun lint-ci
7272
- name: Run ESLint CI in packages/react-native-nitro-test-external
7373
working-directory: packages/react-native-nitro-test-external
@@ -82,8 +82,8 @@ jobs:
8282
- name: Run ESLint with auto-fix in apps/example/
8383
working-directory: apps/example
8484
run: bun lint
85-
- name: Run ESLint with auto-fix in core/packages/nitrogen
86-
working-directory: core/packages/nitrogen
85+
- name: Run ESLint with auto-fix in packages/react-native-nitro-modules/nitro/packages/nitrogen
86+
working-directory: packages/react-native-nitro-modules/nitro/packages/nitrogen
8787
run: bun lint
8888
- name: Run ESLint with auto-fix in packages/react-native-nitro-test-external
8989
working-directory: packages/react-native-nitro-test-external
@@ -98,4 +98,4 @@ jobs:
9898
- name: Verify no files have changed after auto-fix
9999
run: |
100100
git diff --exit-code HEAD -- . ':(exclude)bun.lock'
101-
git -C core diff --exit-code HEAD
101+
git -C packages/react-native-nitro-modules/nitro diff --exit-code HEAD

0 commit comments

Comments
 (0)