@calcit/procs 0.5.28-a2 → 0.5.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +3 -0
- package/README.md +2 -2
- package/lib/calcit.procs.mjs +1 -1
- package/package.json +4 -6
- package/ts-src/calcit.procs.mts +1 -1
package/README.md
CHANGED
|
@@ -73,10 +73,10 @@ cr compact.cirru --emit-js # compile to js
|
|
|
73
73
|
cr compact.cirru --emit-js --emit-path=out/ # compile to js and save in `out/`
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
By default, js code is generated to `js-out/`. You will need Vite or
|
|
76
|
+
By default, js code is generated to `js-out/`. You will need Vite or Node to run it, from an entry file:
|
|
77
77
|
|
|
78
78
|
```js
|
|
79
|
-
import { main_$x_, reload_$x_ } from "./js-out/app.main.
|
|
79
|
+
import { main_$x_, reload_$x_ } from "./js-out/app.main.mjs";
|
|
80
80
|
main_$x_();
|
|
81
81
|
```
|
|
82
82
|
|
package/lib/calcit.procs.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calcit/procs",
|
|
3
|
-
"version": "0.5.28
|
|
3
|
+
"version": "0.5.28",
|
|
4
4
|
"main": "./lib/calcit.procs.mjs",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@types/node": "^17.0.
|
|
7
|
-
"esbuild": "^0.14.27",
|
|
6
|
+
"@types/node": "^17.0.23",
|
|
8
7
|
"typescript": "^4.6.2"
|
|
9
8
|
},
|
|
10
9
|
"scripts": {
|
|
11
10
|
"compile": "rm -rfv lib/* && tsc",
|
|
12
11
|
"procs-link": "ln -s ../../ node_modules/@calcit/procs",
|
|
13
|
-
"bundle-main": "esbuild js-out/main.mjs --bundle --outfile=js-out/bundle.js --platform=node --resolve-extensions=.mjs,.js",
|
|
14
12
|
"cp-mac": "cargo build --release && rm -rfv builds/* && node scripts/cp-version.js && scp builds/* rsync-user@calcit-lang.org:/web-assets/repo/calcit-lang/binaries/macos/",
|
|
15
13
|
"try-rs": "cargo run --bin cr -- calcit/test.cirru -1",
|
|
16
|
-
"try-js": "cargo run --bin cr -- calcit/test.cirru --emit-js -1 &&
|
|
14
|
+
"try-js": "cargo run --bin cr -- calcit/test.cirru --emit-js -1 && node js-out/main.mjs"
|
|
17
15
|
},
|
|
18
16
|
"repository": {
|
|
19
17
|
"type": "git",
|
|
20
18
|
"url": "https://github.com/calcit-lang/calcit"
|
|
21
19
|
},
|
|
22
20
|
"dependencies": {
|
|
23
|
-
"@calcit/ternary-tree": "0.0.19
|
|
21
|
+
"@calcit/ternary-tree": "0.0.19",
|
|
24
22
|
"@cirru/parser.ts": "^0.0.5",
|
|
25
23
|
"@cirru/writer.ts": "^0.1.3"
|
|
26
24
|
}
|
package/ts-src/calcit.procs.mts
CHANGED