Skip to content

Commit

Permalink
bump RN to 0.46
Browse files Browse the repository at this point in the history
  • Loading branch information
drapanjanas committed Jul 11, 2017
1 parent a0b96fc commit ca387e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions re-natal.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ ipAddressRx = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/i
figwheelUrlRx = /ws:\/\/[0-9a-zA-Z\.]*:/g
appDelegateRx = /http:\/\/[^:]+/g
debugHostRx = /host\s+=\s+@".*";/g
rnVersion = '0.44.2'
rnWinVersion = '0.42.0'
rnVersion = '0.46.1'
rnWinVersion = '0.46.0-rc.0'
rnPackagerPort = 8081
process.title = 're-natal'
interfaceConf =
Expand Down Expand Up @@ -363,7 +363,7 @@ updateGitIgnore = () ->
patchReactNativePackager = () ->
installDeps()
log "Patching react-native packager to serve *.map files"
edit "node_modules/react-native/packager/src/Server/index.js",
edit "node_modules/metro-bundler/build/Server/index.js",
[[/match.*\.map\$\/\)/m, "match(/index\\..*\\.map$/)"]]

shimCljsNamespace = (ns) ->
Expand Down Expand Up @@ -494,7 +494,7 @@ init = (interfaceName, projName) ->
version: '0.0.1'
private: true
scripts:
start: 'node_modules/react-native/packager/packager.sh'
start: 'node node_modules/react-native/local-cli/cli.js start'
dependencies:
'react-native': rnVersion
# Fixes issue with packager 'TimeoutError: transforming ... took longer than 301 seconds.'
Expand Down

0 comments on commit ca387e0

Please sign in to comment.