Skip to content

Commit 93e2194

Browse files
authored
Regenerate yarn.lock (#694)
Upgrades js packages and fixes issues around multiple codemirror state instances being present.
1 parent 1cd5694 commit 93e2194

File tree

5 files changed

+129
-1203
lines changed

5 files changed

+129
-1203
lines changed

bb.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
test:clj {:doc "Run clojure tests"
5151
:task (apply clojure "-X:test" *command-line-args*)}
5252

53-
playwright:version {:doc "Print used playwright version from ui_tests/package-lock.json"
53+
playwright:version {:doc "Print used playwright version from ui_tests/yarn.json"
5454
:task (print (->> (babashka.process/shell {:out :string} "grep -E 'playwright-core \"(.*)\"' ui_tests/yarn.lock")
5555
:out
5656
str/trim

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@nextjournal/lezer-clojure": "1.0.0",
1919
"d3-require": "^1.2.4",
2020
"emoji-regex": "^10.0.0",
21+
"fraction.js": "4.2.1",
2122
"framer-motion": "^10.12.16",
2223
"katex": "^0.12.0",
2324
"lezer-clojure": "1.0.0-rc.2",
@@ -26,6 +27,7 @@
2627
"markdown-it-footnote": "^3.0.3",
2728
"markdown-it-texmath": "^1.0.0",
2829
"markdown-it-toc-done-right": "^4.2.0",
30+
"odex": "3.0.0-rc.4",
2931
"punycode": "2.1.1",
3032
"react": "^18.2.0",
3133
"react-dom": "^18.2.0",
@@ -34,9 +36,6 @@
3436
"w3c-keyname": "2.2.4"
3537
},
3638
"devDependencies": {
37-
"@tailwindcss/typography": "^0.5.0",
38-
"postcss": "^8.4.5",
39-
"shadow-cljs": "^2.16.7",
40-
"tailwindcss": "^3.0.9"
39+
"process": "^0.11.10"
4140
}
4241
}

src/nextjournal/clerk/render/code.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
(concat [(.sliceString text pos to)]))))))))
112112

113113
(defn import-matching-language-parser [language]
114-
(.. (shadow.esm/dynamic-import "https://cdn.skypack.dev/@codemirror/language-data@6.1.0")
114+
(.. (shadow.esm/dynamic-import "https://cdn.skypack.dev/@codemirror/language-data@6.5.1")
115115
(then (fn [^js mod]
116116
(when-some [langs (.-languages mod)]
117117
(when-some [^js matching (or (.matchLanguageName LanguageDescription langs language)

ui_tests/playwright_tests.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
(p/delay 30000) ;; allow errors to be logged to console
9393
(is (zero? (count @console-errors))
9494
(str/join "\n" (map (fn [{:keys [msg notebook]}]
95-
[(.text msg) (.location msg) notebook])
95+
[msg notebook])
9696
@console-errors))))
9797
(.catch (fn [err]
9898
(js/console.log err)

0 commit comments

Comments
 (0)