kern-lang 2.0.0 → 2.0.1

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/dist/index.d.ts CHANGED
@@ -10,7 +10,9 @@ export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/reac
10
10
  export { transpile } from '@kernlang/native';
11
11
  export { transpileExpress } from '@kernlang/express';
12
12
  export { transpileCliApp } from '@kernlang/cli';
13
- export { transpileTerminal } from '@kernlang/terminal';
13
+ export { transpileTerminal, transpileInk } from '@kernlang/terminal';
14
+ export { transpileVue, transpileNuxt } from '@kernlang/vue';
15
+ export { transpileFastAPI } from '@kernlang/fastapi';
14
16
  export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
15
17
  export type { LanguageMetrics, StyleMetrics, NodeTypeMetrics } from '@kernlang/metrics';
16
18
  export { scanKernProject, projectToKern } from '@kernlang/metrics';
package/dist/index.js CHANGED
@@ -13,7 +13,9 @@ export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/reac
13
13
  export { transpile } from '@kernlang/native';
14
14
  export { transpileExpress } from '@kernlang/express';
15
15
  export { transpileCliApp } from '@kernlang/cli';
16
- export { transpileTerminal } from '@kernlang/terminal';
16
+ export { transpileTerminal, transpileInk } from '@kernlang/terminal';
17
+ export { transpileVue, transpileNuxt } from '@kernlang/vue';
18
+ export { transpileFastAPI } from '@kernlang/fastapi';
17
19
  // Metrics + context export
18
20
  export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
19
21
  export { scanKernProject, projectToKern } from '@kernlang/metrics';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,6DAA6D;AAC7D,cAAc,gBAAgB,CAAC;AAE/B,2CAA2C;AAC3C,cAAc,oBAAoB,CAAC;AAEnC,cAAc;AACd,OAAO,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ern-lang",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "The language LLMs think in. Write one .kern file, ship 7 targets. 70% fewer tokens.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
- ".": "./dist/index.js"
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
10
13
  },
11
14
  "files": [
12
15
  "dist"
@@ -30,14 +33,16 @@
30
33
  "homepage": "https://github.com/cukas/KERNlang#readme",
31
34
  "license": "AGPL-3.0",
32
35
  "dependencies": {
33
- "@kernlang/protocol": "2.0.0",
34
- "@kernlang/react": "2.0.0",
35
- "@kernlang/native": "2.0.0",
36
- "@kernlang/express": "2.0.0",
37
- "@kernlang/core": "2.0.0",
38
- "@kernlang/terminal": "2.0.0",
39
- "@kernlang/cli": "2.0.0",
40
- "@kernlang/metrics": "2.0.0"
36
+ "@kernlang/core": "3.0.0",
37
+ "@kernlang/protocol": "3.0.0",
38
+ "@kernlang/react": "3.0.0",
39
+ "@kernlang/native": "3.0.0",
40
+ "@kernlang/express": "3.0.0",
41
+ "@kernlang/cli": "3.0.0",
42
+ "@kernlang/metrics": "3.0.0",
43
+ "@kernlang/fastapi": "3.0.0",
44
+ "@kernlang/terminal": "3.0.0",
45
+ "@kernlang/vue": "3.0.0"
41
46
  },
42
47
  "scripts": {
43
48
  "build": "tsc -b"