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 2626 " !**/.*"
2727 ],
2828 "scripts" : {
29- <% if (example !== 'none' ) { -%>
29+ <% if (example) { -%>
3030 "example" : " yarn workspace <%- project.slug -%>-example" ,
3131<% } -%>
3232 "test" : " jest" ,
3333 "typecheck" : " tsc --noEmit" ,
3434 "lint" : " eslint \" **/*.{js,ts,tsx}\" " ,
35- <% if (example === 'native ') { -%>
35+ <% if (example !== 'expo ') { -%>
3636 "clean" : " del-cli android/build example/android/build example/android/app/build example/ios/build lib" ,
3737<% } else { -%>
3838 "clean" : " del-cli lib" ,
7676 "react-native" : " 0.73.0" ,
7777 "react-native-builder-bob" : " ^<%- bob.version %>" ,
7878 "release-it" : " ^15.0.0" ,
79- <% if (example === 'native ') { -%>
79+ <% if (example !== 'expo ') { -%>
8080 "turbo" : " ^1.10.7" ,
8181<% } -%>
8282 "typescript" : " ^5.2.2"
8888 "react" : " *" ,
8989 "react-native" : " *"
9090 },
91- <% if (example !== 'none' ) { -%>
91+ <% if (example) { -%>
9292 "workspaces" : [
9393 " example"
9494 ],
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://turbo.build/schema.json" ,
33 "pipeline" : {
4- <% if (example === 'native ') { -%>
4+ <% if (example !== 'expo ') { -%>
55 "build:android" : {
66 "inputs" : [
77 " package.json" ,
You can’t perform that action at this time.
0 commit comments