File tree Expand file tree Collapse file tree 6 files changed +3
-48
lines changed
packages/create-react-native-library/templates
native-common-example/scripts Expand file tree Collapse file tree 6 files changed +3
-48
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,6 @@ jobs:
133
133
touch yarn.lock # Without this Yarn will fail due to the parent directory being a Yarn workspace
134
134
rm -f example/yarn.lock # Workaround for cached yarn.lock from older version
135
135
yarn install --no-immutable
136
- env :
137
- POD_INSTALL : 0
138
136
139
137
- name : Get build target
140
138
working-directory : ${{ env.work_dir }}
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ nodeLinker: node-modules
2
2
nmHoistingLimits : workspaces
3
3
4
4
plugins :
5
- <% if (example === 'native') { - % >
6
- - path : scripts/pod-install.cjs
7
- <% } - % >
8
5
- path : .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
9
6
spec : " @yarnpkg/plugin-interactive-tools"
10
7
- path : .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ yarn release
144
144
145
145
The ` package.json ` file contains various scripts for common tasks:
146
146
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.
148
148
- ` yarn typecheck ` : type-check files with TypeScript.
149
149
- ` yarn lint ` : lint files with ESLint.
150
150
- ` yarn test ` : run unit tests with Jest.
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- presets : [ 'module:metro- react-native- babel-preset' ] ,
2
+ presets : [ 'module:@ react-native/ babel-preset' ] ,
3
3
} ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const path = require('path');
2
2
const pak = require ( '../package.json' ) ;
3
3
4
4
module . exports = {
5
- presets : [ 'module:metro- react-native- babel-preset' ] ,
5
+ presets : [ 'module:@ react-native/ babel-preset' ] ,
6
6
plugins : [
7
7
[
8
8
'module-resolver' ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments