Added virtually the whole of the Scittle distribution, as it proves to be
virtually necessary to do development.
This commit is contained in:
parent
fcb023ecc5
commit
0a200aca94
741 changed files with 174111 additions and 11 deletions
4
plugins/datascript/deps.edn
Normal file
4
plugins/datascript/deps.edn
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{:deps
|
||||
{datascript/datascript {:mvn/version "1.3.12"}
|
||||
io.github.babashka/sci.configs {:git/sha "aa84a1b4f1fe45735e5b748769309fc842f737c1"
|
||||
:exclusions [org.babashka/sci]}}}
|
||||
9
plugins/datascript/src/scittle/datascript.cljs
Normal file
9
plugins/datascript/src/scittle/datascript.cljs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ns scittle.datascript
|
||||
{:no-doc true}
|
||||
(:require [sci.configs.tonsky.datascript :refer [config]]
|
||||
[scittle.core :as scittle]))
|
||||
|
||||
(defn init []
|
||||
(scittle/register-plugin!
|
||||
::datascript
|
||||
config))
|
||||
12
plugins/datascript/src/scittle_plugin.edn
Normal file
12
plugins/datascript/src/scittle_plugin.edn
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[{:name scittle/datascript
|
||||
:namespaces [datascript.core datascript.db]
|
||||
:js "./scittle.datascript.js"
|
||||
:shadow-config
|
||||
{:compiler-options {:externs ["datascript/externs.js"]}
|
||||
:modules
|
||||
{:scittle.datascript
|
||||
{:init-fn scittle.datascript/init
|
||||
;; From https://github.com/tonsky/datascript/issues/298#issuecomment-813790783
|
||||
:prepend "globalThis.datascript = {};"
|
||||
:depends-on #{:scittle}
|
||||
:entries [datascript.core]}}}}]
|
||||
Loading…
Add table
Add a link
Reference in a new issue