Skip to content

Commit

Permalink
Drop copy-viewer-css and add remaining deps
Browse files Browse the repository at this point in the history
  • Loading branch information
philippamarkovics committed Dec 20, 2022
1 parent f262f1a commit 920e2d2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 9 deletions.
7 changes: 1 addition & 6 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
[babashka.fs :as fs]
[babashka.cli :as cli])

copy-viewer-css {:doc "TODO: please complement this docstring"
:task
(fs/copy (t/viewer-css-path)
"resources/stylesheets/viewer.css" #{:replace-existing})}

yarn-install {:doc "Installs and updates npm dependencies"
:task (shell "yarn install")}

Expand Down Expand Up @@ -109,6 +104,6 @@
uninstall-git-hooks {:doc "Uninstall git hooks we installed previously and no longer need"
:task (fs/delete-if-exists ".git/hooks/pre-commit")}

-dev {:depends [uninstall-git-hooks watch:cljs copy-viewer-css]}
-dev {:depends [uninstall-git-hooks watch:cljs]}
dev {:doc "Start app in dev mode, compiles cljs and css"
:task (run '-dev {:parallel true})}}}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@lezer/generator": "^1.0.0",
"@lezer/highlight": "^1.0.0",
"@lezer/lr": "^1.0.0",
"@lezer/markdown": "^1.0.0",
"@nextjournal/lang-clojure": "^1.0.0",
"d3-require": "^1.2.4",
"emoji-regex": "^10.0.0",
Expand Down
21 changes: 19 additions & 2 deletions render/deps.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
{:npm-deps {"@nextjournal/lang-clojure" "1.0.0"
{:npm-deps {"@codemirror/autocomplete" "^6.0.2"
"@codemirror/commands" "^6.0.0"
"@codemirror/lang-markdown" "6.0.0"
"@codemirror/language" "^6.1.0"
"@codemirror/lint" "^6.0.0"
"@codemirror/search" "^6.0.0"
"@codemirror/state" "^6.0.1"
"@codemirror/view" "^6.0.2"
"@lezer/common" "^1.0.0"
"@lezer/generator" "^1.0.0"
"@lezer/highlight" "^1.0.0"
"@lezer/lr" "^1.0.0"
"@lezer/markdown" "^1.0.0"
"@nextjournal/lang-clojure" "1.0.0"
"@nextjournal/lezer-clojure" "1.0.0"
"d3-require" "^1.2.4"
"framer-motion" "7.6.19"
"katex" "^0.12.0"
"react" "18.2.0"
"react-dom" "18.2.0"
"use-sync-external-store" "1.2.0"
"vh-sticky-table-header" "1.2.1"}}
"vh-sticky-table-header" "1.2.1"
"w3c-keyname" "^2.2.4"}}
2 changes: 1 addition & 1 deletion render/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
org.babashka/sci {:mvn/version "0.5.36"}
reagent/reagent {:mvn/version "1.1.1"}
io.github.babashka/sci.configs {:git/sha "b5335b79c237344d003f16358321197a0b0a2ac6"}
io.github.nextjournal/viewers {:git/sha "1aaedea7709611cbb393add4c85c7a2dd551260e"}
io.github.nextjournal/clojure-mode {:git/sha "ac038ebf6e5da09dd2b8a31609e9ff4a65e36852"}
metosin/reitit-frontend {:mvn/version "0.5.15"}
thheller/shadow-cljs {:mvn/version "2.20.11"}}}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@
dependencies:
"@lezer/common" "^1.0.0"

"@lezer/markdown@^1.0.0":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@lezer/markdown/-/markdown-1.0.2.tgz#8c804a9f6fe1ccca4a20acd2fd9fbe0fae1ae178"
integrity sha512-8CY0OoZ6V5EzPjSPeJ4KLVbtXdLBd8V6sRCooN5kHnO28ytreEGTyrtU/zUwo/XLRzGr/e1g44KlzKi3yWGB5A==
dependencies:
"@lezer/common" "^1.0.0"
"@lezer/highlight" "^1.0.0"

"@nextjournal/lang-clojure@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@nextjournal/lang-clojure/-/lang-clojure-1.0.0.tgz#0efbd594769e606eea532758519a239f0d38959d"
Expand Down

0 comments on commit 920e2d2

Please sign in to comment.