Commit Graph

84 Commits

Author SHA1 Message Date
Artur Girenko 31d53a09c7 update instructions to react-native run-ios instead of opening xcode 2016-09-11 14:15:49 +02:00
Artur Girenko dee11fe672 bump RN vesrion to 0.33.0 2016-09-11 13:36:40 +02:00
Artur Girenko 70c4fcc004 improve CLI messages 2016-09-11 13:36:20 +02:00
Tyler Morten 886693905e lein prod-build does not compile with dependency on om 1.0.0-alpha35 and corresponding clojurescirpt 1.9.198 2016-09-05 21:00:57 -05:00
Artur Girenko ebceff1db8 bump RN and re-frame version
- RN 0.32.0
- re-frame 0.8.0
2016-08-28 13:28:05 +02:00
Artur Girenko e52b9cd4fd use re-frame 0.8.0 in reagent6 template 2016-08-07 14:01:34 +02:00
Artur Girenko 1b3c897e8d bump RN version 0.31.0 2016-08-07 10:03:15 +02:00
Gabriel Horner 3f9323b391 Switch schema for cljs.spec - close #60 2016-07-25 00:08:17 +02:00
Artur Girenko b6388ba6f4 use RN 0.30.0 2016-07-24 12:19:41 +02:00
Artur Girenko fc341e723b bump versions RN-> 0.29.2, Clojure/ClojureScript -> 1.8, Reagent -> 0.6.0-rc
- ReactNative server host updates had to be changed for 0.29.2: AppDelegate.m does not have host anymore, RegExp for host in RCTWebSocketExecutor.m had to be changed.
2016-07-20 11:34:06 +02:00
Artur Girenko 096eb22f2b bump RN version to 0.27.2 2016-06-10 22:54:45 +02:00
Artur Girenko 863bd1f281 add a hint in output of re-natal upgrade command that it does not upgrade RN version in project 2016-06-10 22:26:26 +02:00
Artur Girenko 8329be903e make reagent6 the default interface since React 15 is now used by RN 2016-05-21 17:05:03 +02:00
Artur Girenko 6e11cd0eb1 bump RN version to 0.26.0
- use latest alpha2 of Reagent 0.6.0 - it supports react 15
- use latest alpha35 of Om Next - hopefully it supports react 15
2016-05-21 10:13:04 +02:00
Gabriel Horner 7ab13eec75 Fix help typo introduced in #27 2016-05-14 20:09:41 -04:00
Artur Girenko 3cb3af47e3 make om-next and rum templates work nicely with RN 0.25+
- fix usage of React and ReactNative API by removing natal-shell dependency
2016-05-13 23:57:39 +02:00
Mark Lakewood 180427e6b6 .DS_Store file is "required" by node if found in the images directory
If a .DS_Store file is created by OS X in the images directory then natal will attempt to
require it like any other image file. This causes an error in the simulator as javascript cannot load
the file. As there isnt any reason why a .DS_Store file should be loaded I've added an automatic exclusion for this file
name in any part of the image path.

Additions that could be made:

We could expose the exclude list as a configuration in the .re-natal file so that people could see what is being excluded and add to it if needed.
2016-05-11 12:00:02 -07:00
Artur Girenko 2c1913038e adopt reagent and reagent6 templates for RN 0.25 2016-05-05 18:35:20 +02:00
Hao-kang Den 5cf02cc758
bump RN version to 0.25.0 2016-05-05 00:15:08 +08:00
Eric Webb 976b34910c Add Rum support 2016-05-02 18:18:58 -07:00
Artur Girenko 14554b60f3 bump RN version to 0.24.1 2016-04-22 22:06:19 +02:00
Artur Girenko ea9500db73 compact console output about updating ios files 2016-04-22 21:42:20 +02:00
Viktor Eriksson 21ee272f4c Updated use-figwheel to replace debug url
If you want to debug on the device you have to replace `localhost`
with your ip in
`node_modules/react-native/Libraries/WebSocket/RCTWebSocketExecutor.m`.

Yes it is not a joke, edit the react-native library directly as per:
[the
docs](https://facebook.github.io/react-native/docs/debugging.html#chrome-developer-tools)

I added this file to where the url is replaced in AppDelegate.m
2016-04-21 16:00:29 +02:00
Artur Girenko 091bf38166 add interface 'reagent6' which uses reagent-0.6.0-alpha and re-frame-0.7.0 2016-04-09 11:20:16 +02:00
Artur Girenko b0b34b075b fix typo and update config check code 2016-04-09 01:09:45 +02:00
Artur Girenko 952d0b8a4c make env source roots configurable in .re-natal file
this improves flexibility to have other projects coexist with thise generated by re-natal fixes #34
removed some old upgrade code
2016-04-08 23:32:29 +02:00
Artur Girenko 5e2bd28a47 use React Native 0.23.1 fixes #35 2016-04-08 13:16:03 +02:00
Artur Girenko ae881bde82 bump RN version to 0.22.2 2016-03-23 16:31:05 +01:00
Artur Girenko d7567b4de4 bump RN version to 0.22.0 2016-03-21 22:50:54 +01:00
Artur Girenko 0bab28a1d2 bump RN version to 0.21.0 2016-03-06 10:41:11 +01:00
Artur Girenko 14e5fa2bb8 provide feedback after use-ios-device command 2016-03-06 09:59:59 +01:00
Gabriel Horner d967daccea Add use-ios-device command - close #26
Also updated related configuration default, check and upgrade
2016-03-03 17:32:39 -05:00
Artur Girenko ba068b17f7 bump RN version to 0.20.0 - v0.2.25 2016-02-18 14:14:19 +01:00
Artur Girenko e4bd064083 fixed upgrade command to default the interface in .re-natal to 'reagent' if absent 2016-02-11 21:44:45 +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 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 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 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
Gabriel Horner 953c25064d Add copy-figwheel-bridge command - close #22 2016-02-05 11:52:12 -05: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
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 dc3105a977 bump RN version to 0.19.0 2016-01-31 12:16:16 +01:00
Artur Girenko 13431d00d7 remove ^:figwheel-load from core.cljs in upgrade command 2016-01-30 18:21:27 +01:00
Artur Girenko 4730b9e3c5 add target/ to .gitignore 2016-01-29 21:27:34 +01:00