Commit Graph

281 Commits

Author SHA1 Message Date
Artur Girenko 6328174554 add PoC of om-next interface
Now it is just static ui which works with figwheel-bridge. Could not implement :jsload-callback tom make figwheel work correctly yet.
State has to be introduced next.
2016-02-07 19:43:43 +01:00
Artur Girenko d55d9d987c prepare code to support multiple react interfaces 2016-02-07 13:48:00 +01:00
Artur Girenko b9079b4c4b v0.2.23 2016-02-06 18:08:49 +01:00
Artur Girenko 3de6de7fca fix typos in README 2016-02-06 18:03:04 +01:00
Artur Girenko c4113aea85 move patching of RN packager into a separate command 'enable-source-maps'
- patching the packager in 'upgrade' command is a bit too intrusive, this can be done optionally only when source maps are actually needed.
2016-02-06 16:00:09 +01:00
Artur Girenko b274e92275 update README to reflect changes in CLI 2016-02-06 14:37:49 +01:00
Artur Girenko 84f9f2bec0 cleanup CLI: 'launch' command is not needed since RN 0.19.0 now has 'run-ios' command to run iOS app
- removed 're-nata launch' and related commands
2016-02-06 14:23:55 +01:00
Artūr Girenko f99a05c689 Merge pull request #23 from figly/add-figwheel-bridge-command
Add copy-figwheel-bridge command - close #22
2016-02-06 09:41:03 +01:00
Gabriel Horner 953c25064d Add copy-figwheel-bridge command - close #22 2016-02-05 11:52:12 -05:00
Artur Girenko edbca5dbb6 v0.2.22 2016-02-01 20:07:13 +01:00
Artur Girenko ab7f00031d display an error in case OSX specific command is executed on other OS 2016-02-01 19:58:47 +01:00
Artūr Girenko 006bc7d781 Merge pull request #21 from marxama/master
Added support for Windows
2016-02-01 19:33:15 +01:00
Marcus Wangnusson 5daf7989ac Revert to previous way of checking Leiningen installation.
For Windows, check using where. If missing, throw error similar
to when running on OSX/Linux.
2016-02-01 19:26:41 +01:00
Marcus Wangnusson 2ea5143529 Fixed Leiningen prerequisite check 2016-01-31 20:56:44 +01:00
Marcus Wangnusson 5b866b0922 Added support for Windows 2016-01-31 20:04:30 +01:00
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