require js-yaml now works
This commit is contained in:
parent
0b01309b43
commit
96e564e940
4 changed files with 27 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,8 +5,11 @@ target/
|
||||||
|
|
||||||
.shadow-cljs
|
.shadow-cljs
|
||||||
.nrepl-*
|
.nrepl-*
|
||||||
|
package-lock.json
|
||||||
|
node_modules/
|
||||||
|
|
||||||
.calva
|
.calva
|
||||||
|
|
||||||
*.iml
|
*.iml
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
|
22
package.json
Normal file
22
package.json
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"name": "k8s-mastodon-bot",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+ssh://git@gitlab.com/domaindrivenarchitecture/k8s-mastodon-bot.git"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://gitlab.com/domaindrivenarchitecture/k8s-mastodon-bot/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://gitlab.com/domaindrivenarchitecture/k8s-mastodon-bot#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"js-yaml": "^4.0.0"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,8 +1,7 @@
|
||||||
{:source-paths ["src/main/cljc"
|
{:source-paths ["src/main/cljc"
|
||||||
"src/main/cljs"
|
"src/main/cljs"
|
||||||
"src/test/cljc"]
|
"src/test/cljc"]
|
||||||
:dependencies [[aero "1.1.6"]
|
:dependencies [[aero "1.1.6"]]
|
||||||
[cljsjs/js-yaml "4.0.0-0"]]
|
|
||||||
:builds {:test {:target :node-test
|
:builds {:test {:target :node-test
|
||||||
:output-to "target/node-tests.js"
|
:output-to "target/node-tests.js"
|
||||||
:autorun true
|
:autorun true
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(ns dda.k8s-mastodon-bot.yaml
|
(ns dda.k8s-mastodon-bot.yaml
|
||||||
(:require
|
(:require
|
||||||
[aero.core :as aero]
|
[aero.core :as aero]
|
||||||
;;[jsyaml :as yaml]
|
["js-yaml" :as yaml]
|
||||||
))
|
))
|
||||||
|
|
||||||
(defn from-string [input]
|
(defn from-string [input]
|
||||||
|
|
Loading…
Reference in a new issue