Skip to content

Commit 45e2424

Browse files
committed
feat: add support for react native 0.73
1 parent 1ee886a commit 45e2424

File tree

6 files changed

+3
-48
lines changed

6 files changed

+3
-48
lines changed

.github/workflows/build-templates.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ jobs:
133133
touch yarn.lock # Without this Yarn will fail due to the parent directory being a Yarn workspace
134134
rm -f example/yarn.lock # Workaround for cached yarn.lock from older version
135135
yarn install --no-immutable
136-
env:
137-
POD_INSTALL: 0
138136
139137
- name: Get build target
140138
working-directory: ${{ env.work_dir }}

packages/create-react-native-library/templates/common/$.yarnrc.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ nodeLinker: node-modules
22
nmHoistingLimits: workspaces
33

44
plugins:
5-
<% if (example === 'native') { -%>
6-
- path: scripts/pod-install.cjs
7-
<% } -%>
85
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
96
spec: "@yarnpkg/plugin-interactive-tools"
107
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

packages/create-react-native-library/templates/common/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ yarn release
144144

145145
The `package.json` file contains various scripts for common tasks:
146146

147-
- `yarn`: setup project by installing dependencies and pods - run with `POD_INSTALL=0` to skip installing pods.
147+
- `yarn`: setup project by installing dependencies.
148148
- `yarn typecheck`: type-check files with TypeScript.
149149
- `yarn lint`: lint files with ESLint.
150150
- `yarn test`: run unit tests with Jest.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ['module:metro-react-native-babel-preset'],
2+
presets: ['module:@react-native/babel-preset'],
33
};

packages/create-react-native-library/templates/example-legacy/example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22
const pak = require('../package.json');
33

44
module.exports = {
5-
presets: ['module:metro-react-native-babel-preset'],
5+
presets: ['module:@react-native/babel-preset'],
66
plugins: [
77
[
88
'module-resolver',

packages/create-react-native-library/templates/native-common-example/scripts/pod-install.cjs

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)