Commit Graph

251 Commits

Author SHA1 Message Date
Artur Girenko 1b37d60ea0 support development of iOS and Android apps simultaneously #4
- remove setting up host from use-figwheel command
- introduce use-android-device command for changing android host. use-android-device command has to be executed only when user changes android device type for development
- change figwheel support functions in user.clj to support multiple builds
- add instructions to README of how to run iOS and Android simulators simultaneously
2016-01-24 13:46:34 +01:00
Artur Girenko b601f62a4f do not regenerate env/dev* files in use-figwheel command #13
- No need to change host for iOS it is always localhost
- For android simulators, update only the host in figwheel URL instead of overwriting whole file
- env/dev can be removed from .gitignore
2016-01-24 11:21:14 +01:00
Artur Girenko ca7deb20e9 v0.2.18 2016-01-22 20:52:43 +01:00
Artur Girenko 1266e4802a bump RN version to 0.18.1 2016-01-22 20:52:18 +01:00
Artur Girenko 88ba46a8e3 v0.2.17 2016-01-21 22:54:45 +01:00
Artur Girenko a59efbae6d fix packager patch to auto-generate index.*.map files
- looks like in case of error RN tries to load index.ios.map, this file is normally generated by packager. Need to keep it this way.
2016-01-21 22:27:36 +01:00
Artur Girenko f15d9885a4 update README
- got evidence from @dvcrn that figwheel works on real iOS device
- source maps are supported when you debug in chrome.
2016-01-21 20:41:28 +01:00
Artur Girenko 337bd49735 enable source maps in Debiug in Chrome mode
- use importScripts function when debugging in chrome
- patch packager to serve *.map files
2016-01-21 00:14:35 +01:00
Artur Girenko 6c74e462d6 v0.2.16 2016-01-18 22:01:34 +01:00
Artur Girenko 0a79a4b888 bump ReactNative version to v0.18.0 2016-01-18 22:01:00 +01:00
Artur Girenko 1b7597850a v0.2.15 2016-01-17 19:30:48 +01:00
Artur Girenko b7c9e7996c update README with information about how to use static images 2016-01-17 19:12:37 +01:00
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