Skip to content

Commit

Permalink
feat: add support for react native 0.73
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Dec 6, 2023
1 parent 1ee886a commit 45e2424
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 48 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ jobs:
touch yarn.lock # Without this Yarn will fail due to the parent directory being a Yarn workspace
rm -f example/yarn.lock # Workaround for cached yarn.lock from older version
yarn install --no-immutable
env:
POD_INSTALL: 0
- name: Get build target
working-directory: ${{ env.work_dir }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ nodeLinker: node-modules
nmHoistingLimits: workspaces

plugins:
<% if (example === 'native') { -%>
- path: scripts/pod-install.cjs
<% } -%>
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ yarn release

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

- `yarn`: setup project by installing dependencies and pods - run with `POD_INSTALL=0` to skip installing pods.
- `yarn`: setup project by installing dependencies.
- `yarn typecheck`: type-check files with TypeScript.
- `yarn lint`: lint files with ESLint.
- `yarn test`: run unit tests with Jest.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
presets: ['module:@react-native/babel-preset'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const pak = require('../package.json');

module.exports = {
presets: ['module:metro-react-native-babel-preset'],
presets: ['module:@react-native/babel-preset'],
plugins: [
[
'module-resolver',
Expand Down

This file was deleted.

0 comments on commit 45e2424

Please sign in to comment.