Commit Graph

490 Commits

Author SHA1 Message Date
Artūr Girenko 055e123476 Merge pull request #24 from drapanjanas/support-om-next
Support om next fixes #15
2016-02-11 13:50:27 +01:00
Artur Girenko 64b102d645 update readme 2016-02-11 13:20:11 +01:00
Artur Girenko 9090693fb6 update readme with instruction for Om.Next 2016-02-11 13:18:21 +01:00
Artur Girenko b73e7a1ed3 fix interface dependant usage instructions which are printed after init command finished 2016-02-11 13:11:56 +01:00
Artur Girenko f9631e3be3 validate interface name in init command 2016-02-11 12:54:05 +01:00
Artur Girenko 59edcd3591 move app-state and reconciler to separate namespace 2016-02-11 00:24:17 +01:00
Artur Girenko ca43c940fb working solution with om-next stateful components
- added re-natal.support namespace which provides functions to make it possible mounting om root application not on "real" root node but on other component which acts as a root node.
2016-02-10 22:14:05 +01:00
Artur Girenko 30b371c591 Merge branch 'master' into support-om-next 2016-02-09 20:11:37 +01:00
Artur Girenko 2d6f5aa8c8 prepare code to support multiple react interfaces 2016-02-09 20:03:04 +01:00
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