Skip to content

Commit

Permalink
jump on redo; upgrade calcit; tag 0.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Oct 19, 2023
1 parent 777cc33 commit 85ce23a
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 31 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

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

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/caps'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
name: 'caps'
version: '0.8.4'
version: '0.8.9'

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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

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

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.4/caps'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
name: 'caps'
version: '0.8.4'
version: '0.8.9'

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

Expand Down
44 changes: 42 additions & 2 deletions calcit.cirru

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

10 changes: 8 additions & 2 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |app)
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.11)
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.12)
:modules $ [] |lilac/ |recollect/ |memof/ |ws-edn.calcit/ |cumulo-util.calcit/ |cumulo-reel.calcit/ |fuzzy-filter/
:entries $ {}
:page $ {} (:init-fn |app.client/main!) (:reload-fn |app.client/reload!)
Expand Down Expand Up @@ -869,6 +869,7 @@
:cwd $ :cwd process
:command $ :command process
:title $ :title process
:jump? true
d! :process/remove-dead $ :pid process
=< nil 8
div
Expand Down Expand Up @@ -1247,6 +1248,7 @@
let
command $ :command op-data
cwd $ :cwd op-data
jump? $ :jump? op-data
proc $ cp/exec command
js-object $ :cwd cwd
pid $ .-pid proc
Expand All @@ -1255,6 +1257,10 @@
:: :process/create $ {} (:pid pid) (:command command) (:cwd cwd)
:title $ :title op-data
, sid
if jump? $ dispatch!
:: :router/change $ {} (:name :process)
:params $ {} (:id pid)
, sid
.!on proc "\"exit" $ fn (event _) (; js/console.debug "\"[process killed]" event)
dispatch! (:: :process/finish pid) sid
swap! *registry dissoc pid
Expand Down Expand Up @@ -1359,7 +1365,7 @@
version $ .-version pkg
->
latest-version $ .-name pkg
.then $ fn (npm-version)
.!then $ fn (npm-version)
if (= npm-version version) (println "\"Running latest version" version)
println $ .!yellow chalk (str "\"New version " npm-version "\" available, current one is " version "\" . Please upgrade!\n\nyarn global add termina\n")
|dispatch! $ %{} :CodeEntry (:doc |)
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "termina",
"version": "0.1.11",
"version": "0.1.12",
"description": "Start process from a Webpage",
"bin": {
"termina": "./server.mjs"
Expand All @@ -19,19 +19,19 @@
"author": "jiyinyiyong",
"license": "MIT",
"dependencies": {
"@calcit/procs": "^0.8.6",
"@calcit/procs": "^0.8.9",
"chalk": "^5.3.0",
"dayjs": "^1.11.10",
"latest-version": "^7.0.0",
"md5": "^2.3.0",
"nanoid": "^5.0.1",
"nanoid": "^5.0.2",
"randomcolor": "^0.6.2",
"url-parse": "^1.5.10",
"ws": "^8.14.2"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"feather-icons": "^4.29.1",
"vite": "^4.4.11"
"vite": "^4.5.0"
}
}
30 changes: 15 additions & 15 deletions yarn.lock

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

0 comments on commit 85ce23a

Please sign in to comment.