@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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "typescript.tsdk": "node_modules/typescript/lib"
3
+ }
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 Esbuild to run it, from an entry file:
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.js";
79
+ import { main_$x_, reload_$x_ } from "./js-out/app.main.mjs";
80
80
  main_$x_();
81
81
  ```
82
82
 
@@ -1,6 +1,6 @@
1
1
  var _a;
2
2
  // CALCIT VERSION
3
- export const calcit_version = "0.5.28-a2";
3
+ export const calcit_version = "0.5.28";
4
4
  import "@calcit/ternary-tree";
5
5
  import { parse } from "@cirru/parser.ts";
6
6
  import { writeCirruCode } from "@cirru/writer.ts";
package/package.json CHANGED
@@ -1,26 +1,24 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.5.28-a2",
3
+ "version": "0.5.28",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
- "@types/node": "^17.0.22",
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 && yarn bundle-main && node js-out/bundle.js"
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-a1",
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
  }
@@ -1,5 +1,5 @@
1
1
  // CALCIT VERSION
2
- export const calcit_version = "0.5.28-a2";
2
+ export const calcit_version = "0.5.28";
3
3
 
4
4
  import { overwriteComparator, initTernaryTreeMap } from "@calcit/ternary-tree";
5
5
  import { parse, ICirruNode } from "@cirru/parser.ts";