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 snapshot format; upgrade deps #11

Merged
merged 1 commit into from
Apr 1, 2024
Merged
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
18 changes: 5 additions & 13 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,16 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'

- uses: supplypike/setup-bin@v3
- uses: calcit-lang/setup-cr@0.0.3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0-a2/cr'
name: 'cr'
version: '0.8.0-a2'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0-a2/caps'
name: 'caps'
version: '0.8.0-a2'
version: "0.8.45"

- name: "compiles to js"
run: >
Expand Down
21 changes: 10 additions & 11 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |alerts.calcit/ |calcit-theme.calcit/
:entries $ {}
:files $ {}
|app.comp.container $ {}
|app.comp.container $ %{} :FileEntry
:defs $ {}
|comp-container $ %{} :CodeEntry (:doc |)
:code $ quote
Expand All @@ -28,7 +28,7 @@
:class-name $ str-spaced css/expand css/center css-main
:on-click $ fn (e d!)
.!click $ js/document.querySelector "\"#load"
memof-call comp-header (>> states :header) (:show-core? store)
memof1-call comp-header (>> states :header) (:show-core? store)
<> "\"Click to load error info in Cirru Edn"
when dev? $ comp-reel (>> states :reel) reel ({})
when dev? $ comp-inspect "\"Store" store
Expand Down Expand Up @@ -115,7 +115,7 @@
:style $ {} (:width "\"20%")
:border-right $ str "\"1px solid " (hsl 0 0 70 0.2)
:overflow :auto
memof-call comp-header (>> states :header) show-core?
memof1-call comp-header (>> states :header) show-core?
list->
{}
:class-name $ str-spaced css/expand css/column
Expand Down Expand Up @@ -241,13 +241,13 @@
respo-md.comp.md :refer $ comp-md
app.config :refer $ dev?
respo.util.format :refer $ hsl
memof.alias :refer $ memof-call
memof.once :refer $ memof1-call
respo-alerts.core :refer $ use-prompt
calcit-theme.comp.expr :refer $ render-expr
"\"cirru-color" :refer $ generateHtml
respo.css :refer $ defstyle
respo-ui.css :as css
|app.config $ {}
|app.config $ %{} :FileEntry
:defs $ {}
|dev? $ %{} :CodeEntry (:doc |)
:code $ quote
Expand All @@ -260,7 +260,7 @@
def site $ {} (:dev-ui "\"http://localhost:8100/main-fonts.css") (:release-ui "\"http://cdn.tiye.me/favored-fonts/main-fonts.css") (:cdn-url "\"http://cdn.tiye.me/calcit-workflow/") (:title "\"Calcit") (:icon "\"http://cdn.tiye.me/logo/mvc-works.png") (:storage-key "\"workflow")
:ns $ %{} :CodeEntry (:doc |)
:code $ quote (ns app.config)
|app.main $ {}
|app.main $ %{} :FileEntry
:defs $ {}
|*reel $ %{} :CodeEntry (:doc |)
:code $ quote
Expand Down Expand Up @@ -307,7 +307,7 @@
println "|App started."
|mount-target $ %{} :CodeEntry (:doc |)
:code $ quote
def mount-target $ .querySelector js/document |.app
def mount-target $ js/document.querySelector |.app
|persist-storage! $ %{} :CodeEntry (:doc |)
:code $ quote
defn persist-storage! () $ js/localStorage.setItem (:storage-key config/site)
Expand Down Expand Up @@ -346,7 +346,7 @@
[] app.config :as config
"\"./calcit.build-errors" :default build-errors
"\"bottom-tip" :default hud!
|app.schema $ {}
|app.schema $ %{} :FileEntry
:defs $ {}
|store $ %{} :CodeEntry (:doc |)
:code $ quote
Expand All @@ -355,7 +355,7 @@
:cursor $ []
:ns $ %{} :CodeEntry (:doc |)
:code $ quote (ns app.schema)
|app.updater $ {}
|app.updater $ %{} :FileEntry
:defs $ {}
|updater $ %{} :CodeEntry (:doc |)
:code $ quote
Expand Down
2 changes: 1 addition & 1 deletion package.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:dependencies $ {}
|calcit-lang/lilac |main
|calcit-lang/memof |main
|Respo/respo.calcit |main
|Respo/respo.calcit |0.16.9
|Respo/reel.calcit |main
|Respo/respo-markdown.calcit |main
|Respo/respo-ui.calcit |main
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"dependencies": {
"@calcit/procs": "^0.8.0-a2"
"@calcit/procs": "^0.8.45"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"cirru-color": "^0.2.3",
"vite": "^4.4.9"
"cirru-color": "^0.2.4",
"vite": "^5.2.6"
},
"version": "0.0.1"
}
Loading