@calcit/procs 0.8.11 → 0.8.13
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/lib/calcit.procs.mjs +3 -2
- package/lib/package.json +27 -0
- package/package.json +2 -2
- package/ts-src/calcit.procs.mts +4 -2
package/lib/calcit.procs.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export const calcit_version =
|
|
1
|
+
import pkg from "./package.json" assert { type: "json" };
|
|
2
|
+
export const calcit_version = pkg.version;
|
|
3
|
+
export const calcit_package_json = pkg;
|
|
3
4
|
import { parse } from "@cirru/parser.ts";
|
|
4
5
|
import { writeCirruCode } from "@cirru/writer.ts";
|
|
5
6
|
import { CalcitSymbol, CalcitTag, CalcitRef, CalcitRecur, newTag, refsRegistry, toString, getStringName, _$n__$e_, hashFunction, } from "./calcit-data.mjs";
|
package/lib/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@calcit/procs",
|
|
3
|
+
"version": "0.8.13",
|
|
4
|
+
"main": "./lib/calcit.procs.mjs",
|
|
5
|
+
"devDependencies": {
|
|
6
|
+
"@types/node": "^20.10.0",
|
|
7
|
+
"typescript": "^5.3.2"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"compile": "rm -rfv lib/* && tsc",
|
|
11
|
+
"procs-link": "ln -s ../../ node_modules/@calcit/procs",
|
|
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/",
|
|
13
|
+
"eval": "cargo run --bin cr -- -e",
|
|
14
|
+
"try-rs": "cargo run --bin cr -- calcit/test.cirru -1",
|
|
15
|
+
"try-js-brk": "cargo run --bin cr -- calcit/test.cirru --emit-js -1 && node --inspect-brk js-out/main.mjs",
|
|
16
|
+
"try-js": "cargo run --bin cr -- calcit/test.cirru --emit-js -1 && node js-out/main.mjs"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/calcit-lang/calcit"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@calcit/ternary-tree": "0.0.23",
|
|
24
|
+
"@cirru/parser.ts": "^0.0.6",
|
|
25
|
+
"@cirru/writer.ts": "^0.1.4"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json
CHANGED
package/ts-src/calcit.procs.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import pkg from "./package.json" assert { type: "json" };
|
|
2
|
+
|
|
3
|
+
export const calcit_version = pkg.version;
|
|
4
|
+
export const calcit_package_json = pkg;
|
|
3
5
|
|
|
4
6
|
import { parse, ICirruNode } from "@cirru/parser.ts";
|
|
5
7
|
import { writeCirruCode } from "@cirru/writer.ts";
|