Commit Graph

239 Commits

Author SHA1 Message Date
Artur Girenko 91b0d08633 update README with information about how to use static images 2016-01-17 18:51:29 +01:00
Artur Girenko b4e94aa039 add a scan for images to 'use-figwheel' CLI command #11
- use-figwheel command scans for all files in image dirs (configured in .re-natal) and adds a require() call to each image index.*.js
 - removed require-img macros
 - core.cljs now uses normal 'js/require' function to load static image.
2016-01-17 13:32:42 +01:00
Artur Girenko f5eae7973e v0.2.14 2016-01-09 23:41:43 +01:00
Artur Girenko a1d875ffbd make compilation errors and other problems appear in simulator screen #8
- do not use AppRegistry.registerRunnable for mounting component to id 1, this prevents warning to be shown in yellow box. Instead use AppRegistry.registerComponent
- shim some document functions so that enabled figwheel heads-up-display works without errors and logs warnings to console (that will be shown on screen in yellow box)
- figwheel splash component now loads real app and renders root component. That has to be done to avoid using AppRegistry.registerRunnable to render real app
2016-01-09 23:35:40 +01:00
Artur Girenko 253f23f357 add react-native-cli to dependency list in README #7 2016-01-08 21:10:11 +01:00
Artur Girenko a5afe4ab5e v0.2.13 2016-01-05 20:04:26 +01:00
Artur Girenko 451b2f195e fix typo in readme 2016-01-05 19:53:58 +01:00
Artur Girenko cdf071f304 add readme about using custom React Native components 2016-01-05 19:42:24 +01:00
Artur Girenko f4eaecabb7 update .re-natal file in upgrade function 2016-01-05 19:41:32 +01:00
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 cc90e21425 v0.2.12 2015-12-31 18:59:37 +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 3044b52b39 update readme 2015-12-24 21:16:16 +01:00
Artur Girenko 3c59f55713 v0.2.11 2015-12-21 19:51:39 +01:00
Artur Girenko a125852aac add alert, it is now supported in both iOS and Android 2015-12-21 19:49:03 +01:00
Artur Girenko 2af7df164e bump ReactNative version to v0.17.0 2015-12-21 15:54:33 +01:00
Artur Girenko 3e8457d4f0 fix link to issue 2015-12-16 12:30:01 +01:00
Artur Girenko 11cbbbaa85 add the running on linux chapter to readme with feedback provided in #3 2015-12-16 07:51:55 +01:00
Artur Girenko a03ff1a4b2 rearrange text 2015-12-15 21:07:50 +01:00
Artur Girenko 4e368f801b v0.2.10 2015-12-15 19:27:38 +01:00
Artur Girenko 3f032463c6 describe how to start Figwheel from nREPL in readme 2015-12-15 19:25:50 +01:00
Artur Girenko aeff45f8b5 read project.clj to get build config 2015-12-15 19:08:18 +01:00
Artur Girenko dc7941f77c add possibility to start figwheel from nREPL 2015-12-14 23:02:40 +01:00
Artur Girenko 33ec28b143 v0.2.9 2015-12-14 12:35:27 +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 bef4f05188 v0.2.8 2015-12-09 22:35:48 +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 380c922430 v0.2.7 2015-12-07 21:53:45 +01:00
Artur Girenko 91eb41e043 use React Native v0.16.0 2015-12-07 21:52:06 +01:00
Artur Girenko 9037f0b455 use React Native v0.16.0 2015-12-07 21:49:25 +01:00
Artur Girenko 5e0b3f69e8 v0.2.6 2015-12-07 20:37:59 +01:00
Artūr Girenko 8c9e51c0df Merge pull request #2 from GTDev87/master
Default to iPhone 6
2015-12-07 20:17:17 +01:00
Gregory Thompson 1fe89cf6fd fixed change that did not allow .re-natal creation 2015-12-07 10:37:32 -05:00
Artur Girenko 954227c805 remove outdated documentation 2015-12-06 21:37:40 +01:00
Artur Girenko 1c10067977 v0.2.5 2015-12-06 21:24:42 +01:00
Artur Girenko 0437144dd7 fix typos in readme 2015-12-06 21:23:14 +01:00
Artur Girenko 871866d59a describe how to use Figwheel with Android simulators 2015-12-06 21:19:26 +01:00
Artur Girenko 5d525eb9e7 describe how to use Figwheel with Android simulators 2015-12-06 21:17:52 +01: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 8ec6608919 update readme to recommend using real Android device as Figwheel does not work in simulator yet 2015-12-06 12:55:52 +01:00
Artur Girenko 200dd706b0 v0.2.4 2015-12-06 12:35:53 +01:00
Artur Girenko e02a9339b4 update readme upgrade guide 2015-12-06 12:31:45 +01:00
Artur Girenko 51c64f35e2 update guide, Debug in Chrome not mandatory anymore 2015-12-06 12:09:28 +01:00
Artur Girenko 603e9dc7f2 update readme 2015-12-06 11:52:22 +01:00
Artur Girenko 50d1a0a3f0 describe upgrade topic in Readme 2015-12-06 11:40:40 +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 91eac6fd2c v0.2.3 2015-11-29 22:56:33 +01:00
Artur Girenko 0c71d4a997 fix mistype in readme 2015-11-29 22:37:40 +01:00