tjs-lang 0.7.3 → 0.7.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tjs-lang",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "Type-safe JavaScript dialect with runtime validation, sandboxed VM execution, and AI agent orchestration. Transpiles TypeScript to validated JS with fuel-metered execution for untrusted code.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -31,22 +31,27 @@
31
31
  "./eval": {
32
32
  "bun": "./src/lang/eval.ts",
33
33
  "types": "./dist/src/lang/eval.d.ts",
34
- "default": "./dist/lang/eval.js"
34
+ "default": "./dist/tjs-eval.js"
35
35
  },
36
36
  "./lang": {
37
- "bun": "./src/lang/index.ts",
38
- "types": "./dist/src/lang/index.d.ts",
39
- "default": "./dist/lang/index.js"
40
- },
41
- "./lang/eval": {
42
- "bun": "./src/lang/eval.ts",
43
- "types": "./dist/src/lang/eval.d.ts",
44
- "default": "./dist/lang/eval.js"
37
+ "bun": "./src/lang/transpiler.ts",
38
+ "types": "./dist/src/lang/transpiler.d.ts",
39
+ "default": "./dist/tjs-lang.js"
45
40
  },
46
41
  "./lang/from-ts": {
47
42
  "bun": "./src/lang/emitters/from-ts.ts",
48
43
  "types": "./dist/src/lang/emitters/from-ts.d.ts",
49
- "default": "./dist/lang/emitters/from-ts.js"
44
+ "default": "./dist/tjs-from-ts.js"
45
+ },
46
+ "./vm": {
47
+ "bun": "./src/vm/index.ts",
48
+ "types": "./dist/src/vm/index.d.ts",
49
+ "default": "./dist/tjs-vm.js"
50
+ },
51
+ "./batteries": {
52
+ "bun": "./src/batteries/index.ts",
53
+ "types": "./dist/src/batteries/index.d.ts",
54
+ "default": "./dist/tjs-batteries.js"
50
55
  },
51
56
  "./src": "./src/index.ts",
52
57
  "./editors/monaco": "./editors/monaco/ajs-monarch.js",
@@ -94,6 +99,7 @@
94
99
  "acorn-walk": "^8.3.4",
95
100
  "chokidar": "^4.0.3",
96
101
  "codemirror": "^6.0.2",
102
+ "esbuild": "^0.28.0",
97
103
  "eslint": "^8.57.1",
98
104
  "firebase": "^10.12.0",
99
105
  "firebase-admin": "^13.6.0",