Commit Graph

25 Commits

Author SHA1 Message Date
Artur Girenko 768f191a63 add support of RN custom components with figwheel (issue #5)
- new CLI command use-component <name> which save name in .re-natal config for later use in use-figwheel command
- use-figwheel now generates a map of cached 'require' calls
- figwheel-bridge.js shims require function to lookup for components by name falls back to original if nothing found
2016-01-04 23:10:13 +01:00
Artur Girenko 3cf752f257 update .gitignore excluding generated files
- env/dev - development only files regenerated by re-natal
- index.*.js
- figwheel-server.log
2015-12-31 18:57:50 +01:00
Artur Girenko 1fd4dfc5d6 fix mkdir calls so that env/dev can be added to .gitignore as adviced #4
- call mkdir when generating dev files
- make it fail-safe in case dir already exist
2015-12-31 15:55:43 +01:00
Artur Girenko 2af7df164e bump ReactNative version to v0.17.0 2015-12-21 15:54:33 +01:00
Artur Girenko dc7941f77c add possibility to start figwheel from nREPL 2015-12-14 23:02:40 +01:00
Artur Girenko da97f17a0a follow best practices of re-frame and give an app-db a schema 2015-12-13 22:49:54 +01:00
Artur Girenko d100bed400 make init command run on Linux
- xcode based commands now checks for xcode availability, updates config lazily
2015-12-09 22:32:25 +01:00
Artur Girenko 9037f0b455 use React Native v0.16.0 2015-12-07 21:49:25 +01:00
Gregory Thompson 1fe89cf6fd fixed change that did not allow .re-natal creation 2015-12-07 10:37:32 -05:00
Artur Girenko cd3b3b5755 clean workspace on use-figwheel command, otherwise require_img macro is not recompiled and might be outdated. 2015-12-06 20:53:49 +01:00
Artur Girenko 577f7c6954 add support for configuring server host to support Android simulators
- Genymotion simulator should use 10.0.3.2 instead of localhost
- Stock android emulator should use 10.0.2.2 instead of localhost
2015-12-06 20:22:53 +01:00
Artur Girenko 51c64f35e2 update guide, Debug in Chrome not mandatory anymore 2015-12-06 12:09:28 +01:00
Artur Girenko 927b5de7fe make Figwheel work without the need of Debug in Chrome
- solution by https://github.com/decker405/figwheel-react-native
- remove use-reload command.
- adoptions to figwheel-bridge.js
2015-12-05 23:53:27 +01:00
Artur Girenko 91824b64ba add upgrade command
For now just overwrite files which should not contain any custom logic.
- figwheel-bridge.js
- files in env/ dir
2015-11-29 22:36:49 +01:00
Artur Girenko 72dbc9fa0e use React Native 0.15.0 2015-11-29 10:05:50 +01:00
Artur Girenko 09cfea4390 remove unused resources dir 2015-11-28 21:22:03 +01:00
Artur Girenko a4a8d09fe7 Support loading of static images using approach introduced in RN 0.14
- Used macro to generate js/require for prod compilation and {:uri http://localhost:8080/*} for dev builds.
- Rearranged sources to be able to support dev and prod profiles
2015-11-28 16:20:39 +01:00
Artur Girenko ca577b035f Use lein-figwheel
- Removed REPL based on ambly for now, need to find a good solution for both iOS and Android
- Added figwheel based on great work found in https://github.com/decker405/figwheel-react-native
- Android still does not work with figwheel, but reload works very fast
2015-11-27 23:57:14 +01:00
Artur Girenko f70ae59b55 Use plain vanilla React Native reload based development flow for iOS and Android
- Removed REPL based on ambly for now, need to find a good solution for both iOS and Android
2015-11-24 22:44:57 +01:00
Artur Girenko 720903fda6 Use react-native 0.14.2 2015-11-22 18:17:45 +01:00
Artur Girenko 05d5efafd1 Fix broken live coding support in iOS
- Revert to react-native 0.13.0 for now
- Use single source root, this seems required for repl
2015-11-22 10:57:51 +01:00
Artur Girenko fc75fe2013 Run in android command is implemented 2015-11-21 12:01:44 +01:00
Artur Girenko 6a12a0cf52 Fix compilation problems 2015-11-20 22:43:47 +01:00
Artur Girenko 867053651b Fix bug in directory creation 2015-11-20 21:10:02 +01:00
Artur Girenko ad96f7c971 Implement android support in re-natal.coffee 2015-11-20 20:44:36 +01:00