create-react-native-library 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-react-native-library",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "CLI to scaffold React Native libraries",
5
5
  "keywords": [
6
6
  "react-native",
@@ -66,5 +66,5 @@
66
66
  "@types/validate-npm-package-name": "^3.0.3",
67
67
  "@types/yargs": "^17.0.10"
68
68
  },
69
- "gitHead": "d6a5438130a96c4fa286a009b8240837a26d1209"
69
+ "gitHead": "5b8e97253b9626f01b4ec19ef39d0d1c210e798d"
70
70
  }
@@ -13,6 +13,7 @@ on:
13
13
  jobs:
14
14
  lint:
15
15
  runs-on: ubuntu-latest
16
+
16
17
  steps:
17
18
  - name: Checkout
18
19
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -28,6 +29,7 @@ jobs:
28
29
 
29
30
  test:
30
31
  runs-on: ubuntu-latest
32
+
31
33
  steps:
32
34
  - name: Checkout
33
35
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -40,6 +42,7 @@ jobs:
40
42
 
41
43
  build-library:
42
44
  runs-on: ubuntu-latest
45
+
43
46
  steps:
44
47
  - name: Checkout
45
48
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -52,9 +55,15 @@ jobs:
52
55
 
53
56
  <% if (project.native) { -%>
54
57
  build-android:
58
+ concurrency:
59
+ group: ${{ github.workflow }}-${{ github.ref }}
60
+ cancel-in-progress: true
61
+
55
62
  runs-on: ubuntu-latest
63
+
56
64
  env:
57
65
  TURBO_CACHE_DIR: .turbo/android
66
+
58
67
  steps:
59
68
  - name: Checkout
60
69
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -113,10 +122,18 @@ jobs:
113
122
  yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
114
123
 
115
124
  build-ios:
125
+ concurrency:
126
+ group: ${{ github.workflow }}-${{ github.ref }}
127
+ cancel-in-progress: true
128
+
116
129
  runs-on: macos-latest
130
+
117
131
  env:
118
132
  XCODE_VERSION: 16.2
119
133
  TURBO_CACHE_DIR: .turbo/ios
134
+ RCT_USE_RN_DEP: 1
135
+ RCT_USE_PREBUILT_RNCORE: 1
136
+
120
137
  steps:
121
138
  - name: Checkout
122
139
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -165,6 +182,7 @@ jobs:
165
182
  <% } else { -%>
166
183
  build-web:
167
184
  runs-on: ubuntu-latest
185
+
168
186
  steps:
169
187
  - name: Checkout
170
188
  uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -110,7 +110,7 @@ We follow the [conventional commits specification](https://www.conventionalcommi
110
110
  - `fix`: bug fixes, e.g. fix crash due to deprecated method.
111
111
  - `feat`: new features, e.g. add new method to the module.
112
112
  - `refactor`: code refactor, e.g. migrate from class components to hooks.
113
- - `docs`: changes into documentation, e.g. add usage example for the module..
113
+ - `docs`: changes into documentation, e.g. add usage example for the module.
114
114
  - `test`: adding or updating tests, e.g. add integration tests using detox.
115
115
  - `chore`: tooling changes, e.g. change CI config.
116
116
 
@@ -19,7 +19,7 @@
19
19
  "outputs": []
20
20
  },
21
21
  "build:ios": {
22
- "env": ["RCT_NEW_ARCH_ENABLED"],
22
+ "env": ["RCT_NEW_ARCH_ENABLED", "RCT_USE_RN_DEP", "RCT_USE_PREBUILT_RNCORE"],
23
23
  "inputs": [
24
24
  "package.json",
25
25
  "*.podspec",