Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JSON and Path deps to spork #100

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/form-submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ I waved away some of the complexity that's associated with generating that token

```clojure
(import joy)
(import json)
(import spork/json)

(defn create [{:body body}]
(let [name (get body :username)]
Expand Down
3 changes: 1 addition & 2 deletions project.janet
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
:name "joy"
:description "A full stack web framework written in janet"
:dependencies [{:repo "https://github.com/andrewchambers/janet-uri" :tag "9737a6aee88cc2e426b496532014d6d85605afc2"}
{:repo "https://github.com/janet-lang/json" :tag "61437d96b5df6eb7e524f88847e7d7521201662d"}
{:repo "https://github.com/janet-lang/path" :tag "0ae7b60b8aaaa7f80f84692b7efb8e46b7d38eb3"}
{:repo "https://github.com/janet-lang/spork" :tag "f547fee9ebfe96c09029bfe232336aab1212a617"}
{:repo "https://github.com/pyrmont/musty" :tag "e1a821940072a5ae5ddc9d3cb2ae6d1bdba41468"}
"https://github.com/joy-framework/cipher"
"https://github.com/joy-framework/halo2"
Expand Down
2 changes: 1 addition & 1 deletion src/joy/cli/controller.janet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(import ../helper :prefix "")
(import ../env :as env)
(import db)
(import path)
(import spork/path)
(import musty)


Expand Down
2 changes: 1 addition & 1 deletion src/joy/cli/projects.janet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(import ../helper :prefix "")
(import path)
(import spork/path)
(import cipher)
(import musty)

Expand Down
2 changes: 1 addition & 1 deletion src/joy/cli/route.janet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(import ../helper :prefix "")
(import ../env :as env)
(import db)
(import path)
(import spork/path)
(import musty)


Expand Down
4 changes: 2 additions & 2 deletions src/joy/middleware.janet
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
(import ./responder :as responder)
(import ./html :as html)
(import cipher)
(import path)
(import json)
(import spork/path)
(import spork/json)


(defn layout
Expand Down
2 changes: 1 addition & 1 deletion src/joy/responder.janet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(import json)
(import spork/json)
(import ./html)

(defn- content-type [k]
Expand Down