Skip to content

Commit 85ce23a

Browse files
committed
jump on redo; upgrade calcit; tag 0.1.12
1 parent 777cc33 commit 85ce23a

6 files changed

Lines changed: 77 additions & 31 deletions

File tree

.github/workflows/npm-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919

2020
- uses: supplypike/setup-bin@v3
2121
with:
22-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/cr'
22+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/cr'
2323
name: 'cr'
24-
version: '0.8.4'
24+
version: '0.8.9'
2525

2626
- uses: supplypike/setup-bin@v3
2727
with:
28-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/caps'
28+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
2929
name: 'caps'
30-
version: '0.8.4'
30+
version: '0.8.9'
3131

3232
- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page
3333

.github/workflows/upload.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919

2020
- uses: supplypike/setup-bin@v3
2121
with:
22-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/cr'
22+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/cr'
2323
name: 'cr'
24-
version: '0.8.4'
24+
version: '0.8.9'
2525

2626
- uses: supplypike/setup-bin@v3
2727
with:
28-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/caps'
28+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
2929
name: 'caps'
30-
version: '0.8.4'
30+
version: '0.8.9'
3131

3232
- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page
3333

calcit.cirru

Lines changed: 42 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{} (:package |app)
3-
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.11)
3+
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.12)
44
:modules $ [] |lilac/ |recollect/ |memof/ |ws-edn.calcit/ |cumulo-util.calcit/ |cumulo-reel.calcit/ |fuzzy-filter/
55
:entries $ {}
66
:page $ {} (:init-fn |app.client/main!) (:reload-fn |app.client/reload!)
@@ -869,6 +869,7 @@
869869
:cwd $ :cwd process
870870
:command $ :command process
871871
:title $ :title process
872+
:jump? true
872873
d! :process/remove-dead $ :pid process
873874
=< nil 8
874875
div
@@ -1247,6 +1248,7 @@
12471248
let
12481249
command $ :command op-data
12491250
cwd $ :cwd op-data
1251+
jump? $ :jump? op-data
12501252
proc $ cp/exec command
12511253
js-object $ :cwd cwd
12521254
pid $ .-pid proc
@@ -1255,6 +1257,10 @@
12551257
:: :process/create $ {} (:pid pid) (:command command) (:cwd cwd)
12561258
:title $ :title op-data
12571259
, sid
1260+
if jump? $ dispatch!
1261+
:: :router/change $ {} (:name :process)
1262+
:params $ {} (:id pid)
1263+
, sid
12581264
.!on proc "\"exit" $ fn (event _) (; js/console.debug "\"[process killed]" event)
12591265
dispatch! (:: :process/finish pid) sid
12601266
swap! *registry dissoc pid
@@ -1359,7 +1365,7 @@
13591365
version $ .-version pkg
13601366
->
13611367
latest-version $ .-name pkg
1362-
.then $ fn (npm-version)
1368+
.!then $ fn (npm-version)
13631369
if (= npm-version version) (println "\"Running latest version" version)
13641370
println $ .!yellow chalk (str "\"New version " npm-version "\" available, current one is " version "\" . Please upgrade!\n\nyarn global add termina\n")
13651371
|dispatch! $ %{} :CodeEntry (:doc |)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "termina",
3-
"version": "0.1.11",
3+
"version": "0.1.12",
44
"description": "Start process from a Webpage",
55
"bin": {
66
"termina": "./server.mjs"
@@ -19,19 +19,19 @@
1919
"author": "jiyinyiyong",
2020
"license": "MIT",
2121
"dependencies": {
22-
"@calcit/procs": "^0.8.6",
22+
"@calcit/procs": "^0.8.9",
2323
"chalk": "^5.3.0",
2424
"dayjs": "^1.11.10",
2525
"latest-version": "^7.0.0",
2626
"md5": "^2.3.0",
27-
"nanoid": "^5.0.1",
27+
"nanoid": "^5.0.2",
2828
"randomcolor": "^0.6.2",
2929
"url-parse": "^1.5.10",
3030
"ws": "^8.14.2"
3131
},
3232
"devDependencies": {
3333
"bottom-tip": "^0.1.5",
3434
"feather-icons": "^4.29.1",
35-
"vite": "^4.4.11"
35+
"vite": "^4.5.0"
3636
}
3737
}

yarn.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)