File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/create-react-native-library/templates Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 26
26
" !**/.*"
27
27
],
28
28
"scripts" : {
29
- <% if (example !== 'none' ) { -%>
29
+ <% if (example) { -%>
30
30
"example" : " yarn workspace <%- project.slug -%>-example" ,
31
31
<% } -%>
32
32
"test" : " jest" ,
33
33
"typecheck" : " tsc --noEmit" ,
34
34
"lint" : " eslint \" **/*.{js,ts,tsx}\" " ,
35
- <% if (example === 'native ') { -%>
35
+ <% if (example !== 'expo ') { -%>
36
36
"clean" : " del-cli android/build example/android/build example/android/app/build example/ios/build lib" ,
37
37
<% } else { -%>
38
38
"clean" : " del-cli lib" ,
76
76
"react-native" : " 0.73.0" ,
77
77
"react-native-builder-bob" : " ^<%- bob.version %>" ,
78
78
"release-it" : " ^15.0.0" ,
79
- <% if (example === 'native ') { -%>
79
+ <% if (example !== 'expo ') { -%>
80
80
"turbo" : " ^1.10.7" ,
81
81
<% } -%>
82
82
"typescript" : " ^5.2.2"
88
88
"react" : " *" ,
89
89
"react-native" : " *"
90
90
},
91
- <% if (example !== 'none' ) { -%>
91
+ <% if (example) { -%>
92
92
"workspaces" : [
93
93
" example"
94
94
],
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://turbo.build/schema.json" ,
3
3
"pipeline" : {
4
- <% if (example === 'native ') { -%>
4
+ <% if (example !== 'expo ') { -%>
5
5
"build:android" : {
6
6
"inputs" : [
7
7
" package.json" ,
You can’t perform that action at this time.
0 commit comments