Skip to content

Commit

Permalink
Update nbb and sqlite changes for datascript.storage update
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Dec 15, 2023
1 parent 320783b commit e4e67fc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions nbb.edn
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{:deps
{logseq/graph-parser
{:git/url "https://github.com/logseq/logseq"
:git/sha "d43fb23ef01363937a383cc5984191287187811c"
:git/sha "8eec034c612bb549000d06b94bf814f72b53c424"
:deps/root "deps/graph-parser"}
#_{:local/root "../logseq/deps/graph-parser"}
logseq/publishing
{:git/url "https://github.com/logseq/logseq"
:git/sha "d43fb23ef01363937a383cc5984191287187811c"
:git/sha "8eec034c612bb549000d06b94bf814f72b53c424"
:deps/root "deps/publishing"}
#_{:local/root "../logseq/deps/publishing"}
;; TODO: Remove workaround for error: 'Unable to compare versions for logseq/db'
logseq/db
{:git/url "https://github.com/logseq/logseq"
:git/sha "d43fb23ef01363937a383cc5984191287187811c"
:git/sha "8eec034c612bb549000d06b94bf814f72b53c424"
:deps/root "deps/db"}
#_{:local/root "../logseq/deps/db"}}}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
"homepage": "https://github.com/logseq/publish-spa#readme",
"dependencies": {
"@logseq/nbb-logseq": "^1.2.173",
"@logseq/nbb-logseq": "logseq/nbb-logseq#feat-db-v1",
"better-sqlite3": "8.0.1",
"fs-extra": "^9.1.0",
"mldoc": "^1.5.1",
"better-sqlite3": "8.0.1"
"mldoc": "^1.5.1"
}
}
3 changes: 1 addition & 2 deletions src/logseq/publish_spa.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@

(defn- publish-db-graph [static-dir graph-dir output-path options]
(let [db-name (node-path/basename graph-dir)
_ (sqlite-db/open-db! (node-path/dirname graph-dir) db-name)
conn (sqlite-cli/read-graph db-name)
conn (sqlite-db/open-db! (node-path/dirname graph-dir) db-name)
repo-config (-> (d/q '[:find ?content
:where [?b :file/path "logseq/config.edn"] [?b :file/content ?content]]
@conn)
Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
dependencies:
import-meta-resolve "^2.1.0"

"@logseq/nbb-logseq@logseq/nbb-logseq#feat-db-v1":
version "1.2.173-feat-db-v1"
resolved "https://codeload.github.com/logseq/nbb-logseq/tar.gz/e4910dfb12043404c97962d8faab3a946ab89f81"
dependencies:
import-meta-resolve "^2.1.0"

ansi-regex@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
Expand Down

0 comments on commit e4e67fc

Please sign in to comment.