Skip to content

Commit d3318bf

Browse files
committed
upgrade calcit CLI
1 parent 3ab6919 commit d3318bf

File tree

4 files changed

+269
-269
lines changed

4 files changed

+269
-269
lines changed

.github/workflows/upload.yaml

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

2020
- uses: calcit-lang/[email protected]
2121
with:
22-
version: "0.8.50"
22+
version: "0.9.0-a1"
2323

2424
- name: "compiles to js"
2525
run: >
26-
caps --ci && cr --emit-js --once
26+
caps --ci && cr --once js
2727
&& yarn && yarn vite build --base=./
2828
2929
- name: Deploy to server

content/intro.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ cargo install calcit
1010

1111
Command line called `cr` is avaliable, which stands for "Calcit Runner". Eval snippets via:
1212

13-
```
14-
cr -e 'println "|a demo"'
13+
```bash
14+
cr eval 'println "|a demo"'
1515
```
1616

17-
```
18-
cr -e '
17+
```bash
18+
cr eval '
1919
->
2020
range 100
2121
map $ fn (x)
@@ -25,8 +25,8 @@ cr -e '
2525
'
2626
```
2727

28-
```
29-
cr -e '
28+
```bash
29+
cr eval '
3030
println $ {}
3131
:a 100
3232
:b $ {}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"dependencies": {
3-
"@calcit/procs": "^0.8.50",
3+
"@calcit/procs": "^0.9.0-a1",
44
"cirru-color": "^0.2.4",
55
"copy-text-to-clipboard": "^3.2.0"
66
},
77
"devDependencies": {
88
"bottom-tip": "^0.1.5",
9-
"vite": "^5.2.10"
9+
"vite": "^5.3.3"
1010
},
1111
"version": "0.0.1"
1212
}

0 commit comments

Comments
 (0)