From ada7991af90e24a83d67d86b8cc975232a27194a Mon Sep 17 00:00:00 2001 From: loganrios Date: Fri, 13 May 2022 12:16:23 -0600 Subject: [PATCH] Add cljs to deps.edn, update readme --- deps.edn | 3 ++- readme.org | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/deps.edn b/deps.edn index 80415bc..66d0f06 100644 --- a/deps.edn +++ b/deps.edn @@ -3,4 +3,5 @@ io.vouch/reagent-react-native {:git/url "https://github.com/vouch-opensource/reagent-react-native.git" :sha "0fe1c600c9b81180f76b94ef6004c2f85e7d4aa0"} reagent/reagent {:mvn/version "0.10.0" - :exclusions [cljsjs/react cljsjs/react-dom]}}} + :exclusions [cljsjs/react cljsjs/react-dom]} + org.clojure/clojurescript {:mvn/version "1.11.4"}}} diff --git a/readme.org b/readme.org index 694aa5f..01aa55b 100644 --- a/readme.org +++ b/readme.org @@ -18,7 +18,7 @@ You will need: + NodeJS (only tested with v16) + ~yarn~ package manager + Clojure (latest version) -+ ClojureScript (I do not remember how to get this) ++ ClojureScript (note: added to =deps.edn= to avoid the global install) + XCode and an iOS Simulator installation + Doom Emacs (with =javascript= and =clojure= modules enabled) @@ -36,9 +36,7 @@ yarn install clj -M -m cljs.main -co "{:deps-cmd \"yarn\"}" --install-deps # Go into the ios/ directory and install the pods -cd ios -pod install -cd .. +cd ios; pod install; cd .. # Then, build the project. clj -M -m krell.main -v -co build.edn -c @@ -84,7 +82,7 @@ yarn add react@latest yarn add react-dom react-native-web babel-plugin-react-native-web @storybook/addon-react-native-web --dev #+end_src -Then, you'll want to modify your =.storybook/main.js= file to the following: +Verify that your =.storybook/main.js= file has the following addon: #+begin_src js module.exports = { addons: [/*existing addons,*/ '@storybook/addon-react-native-web'],