Skip to content

Commit

Permalink
Add cljs to deps.edn, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
loganrios committed May 13, 2022
1 parent 1fcc361 commit ada7991
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}}
8 changes: 3 additions & 5 deletions readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand Down Expand Up @@ -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'],
Expand Down

0 comments on commit ada7991

Please sign in to comment.