Commit Graph

316 Commits

Author SHA1 Message Date
Artur Girenko 34f5e3c861 v0.2.21 2016-01-31 13:48:56 +01:00
Artur Girenko 435b6d6664 bump RN version to 0.19.0 2016-01-31 13:39:07 +01:00
Artur Girenko c9bb4f1508 update readme, react-native CLI now has a command run-ios 2016-01-31 13:34:40 +01:00
Artur Girenko dc3105a977 bump RN version to 0.19.0 2016-01-31 12:16:16 +01:00
Artur Girenko 302d464fa7 fix readme 2016-01-31 11:36:35 +01:00
Artur Girenko 68290dbaa0 fix readme 2016-01-30 20:03:31 +01:00
Artur Girenko 13431d00d7 remove ^:figwheel-load from core.cljs in upgrade command 2016-01-30 18:21:27 +01:00
Artur Girenko 42a9256805 do not force reload core namespace with ^:figwheel-load annotation
- forcing reloading core namespace (using ^:figwheel-load annotation) is wrong. It causes evaluation of wrong js files for platform because both ios and android core.js files are reloaded.
2016-01-30 18:12:21 +01:00
Artur Girenko 143fdf06d5 v0.2.20 2016-01-29 21:55:05 +01:00
Artur Girenko 4730b9e3c5 add target/ to .gitignore 2016-01-29 21:27:34 +01:00
Artur Girenko 33a38b7c73 add a check for missing npm dependencies and validity of .re-natal config file #17
- using lib https://www.npmjs.com/package/check-dependencies
2016-01-29 20:25:00 +01:00
Artur Girenko eb969d8709 bugfix in fighweel-bridge.js
Bug description:
figwheel-bridge tracks the js file evaluation and when /env/<platform>/main.js script is evaluated it means that all app code is loaded and can be started. But in case user code contains custom namespace called *.main, then figwheel-bridge interpret the evaluation of this namespace incorrectly and tries to start app too early.
2016-01-27 21:42:07 +01:00
Artur Girenko 922d1d60e1 update README 2016-01-26 20:03:56 +01:00
Artur Girenko 147236c393 v0.2.19 2016-01-24 18:52:23 +01:00
Artur Girenko 11d6e263ec fix readme 2016-01-24 18:07:46 +01:00
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