kern-lang 3.1.6 → 3.1.8

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
@@ -4,16 +4,14 @@
4
4
  * Re-exports all @kernlang/* packages for backwards compatibility.
5
5
  * For new projects, import from @kernlang/core + @kernlang/<target> directly.
6
6
  */
7
+ export { transpileCliApp } from '@kernlang/cli';
7
8
  export * from '@kernlang/core';
8
- export * from '@kernlang/protocol';
9
- export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/react';
10
- export { transpile } from '@kernlang/native';
11
9
  export { transpileExpress } from '@kernlang/express';
12
- export { transpileCliApp } from '@kernlang/cli';
13
- export { transpileTerminal, transpileInk } from '@kernlang/terminal';
14
- export { transpileVue, transpileNuxt } from '@kernlang/vue';
15
10
  export { transpileFastAPI } from '@kernlang/fastapi';
16
- export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
17
- export type { LanguageMetrics, StyleMetrics, NodeTypeMetrics } from '@kernlang/metrics';
18
- export { scanKernProject, projectToKern } from '@kernlang/metrics';
19
- export type { ProjectSummary } from '@kernlang/metrics';
11
+ export type { LanguageMetrics, NodeTypeMetrics, ProjectSummary, StyleMetrics } from '@kernlang/metrics';
12
+ export { collectLanguageMetrics, isEscapedStyleKey, mergeMetrics, projectToKern, scanKernProject, } from '@kernlang/metrics';
13
+ export { transpile } from '@kernlang/native';
14
+ export * from '@kernlang/protocol';
15
+ export { transpileNextjs, transpileTailwind, transpileWeb } from '@kernlang/react';
16
+ export { transpileInk, transpileTerminal } from '@kernlang/terminal';
17
+ export { transpileNuxt, transpileVue } from '@kernlang/vue';
package/dist/index.js CHANGED
@@ -4,19 +4,18 @@
4
4
  * Re-exports all @kernlang/* packages for backwards compatibility.
5
5
  * For new projects, import from @kernlang/core + @kernlang/<target> directly.
6
6
  */
7
+ export { transpileCliApp } from '@kernlang/cli';
7
8
  // Core (parser, types, config, spec, styles, codegen, utils)
8
9
  export * from '@kernlang/core';
9
- // Protocol (draft protocol for AI engines)
10
- export * from '@kernlang/protocol';
11
- // Transpilers
12
- export { transpileTailwind, transpileNextjs, transpileWeb } from '@kernlang/react';
13
- export { transpile } from '@kernlang/native';
14
10
  export { transpileExpress } from '@kernlang/express';
15
- export { transpileCliApp } from '@kernlang/cli';
16
- export { transpileTerminal, transpileInk } from '@kernlang/terminal';
17
- export { transpileVue, transpileNuxt } from '@kernlang/vue';
18
11
  export { transpileFastAPI } from '@kernlang/fastapi';
19
12
  // Metrics + context export
20
- export { collectLanguageMetrics, mergeMetrics, isEscapedStyleKey } from '@kernlang/metrics';
21
- export { scanKernProject, projectToKern } from '@kernlang/metrics';
13
+ export { collectLanguageMetrics, isEscapedStyleKey, mergeMetrics, projectToKern, scanKernProject, } from '@kernlang/metrics';
14
+ export { transpile } from '@kernlang/native';
15
+ // Protocol (draft protocol for AI engines)
16
+ export * from '@kernlang/protocol';
17
+ // Transpilers
18
+ export { transpileNextjs, transpileTailwind, transpileWeb } from '@kernlang/react';
19
+ export { transpileInk, transpileTerminal } from '@kernlang/terminal';
20
+ export { transpileNuxt, transpileVue } from '@kernlang/vue';
22
21
  //# sourceMappingURL=index.js.map
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,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,2BAA2B;AAC3B,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE5F,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,6DAA6D;AAC7D,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,2BAA2B;AAC3B,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,2CAA2C;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc;AACd,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kern-lang",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
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",
@@ -33,16 +33,16 @@
33
33
  "homepage": "https://github.com/KERNlang/kern#readme",
34
34
  "license": "AGPL-3.0",
35
35
  "dependencies": {
36
- "@kernlang/core": "3.1.6",
37
- "@kernlang/native": "3.1.6",
38
- "@kernlang/react": "3.1.6",
39
- "@kernlang/cli": "3.1.6",
40
- "@kernlang/protocol": "3.1.6",
41
- "@kernlang/express": "3.1.6",
42
- "@kernlang/vue": "3.1.6",
43
- "@kernlang/terminal": "3.1.6",
44
- "@kernlang/fastapi": "3.1.6",
45
- "@kernlang/metrics": "3.1.6"
36
+ "@kernlang/protocol": "3.1.8",
37
+ "@kernlang/react": "3.1.8",
38
+ "@kernlang/core": "3.1.8",
39
+ "@kernlang/native": "3.1.8",
40
+ "@kernlang/cli": "3.1.8",
41
+ "@kernlang/express": "3.1.8",
42
+ "@kernlang/terminal": "3.1.8",
43
+ "@kernlang/fastapi": "3.1.8",
44
+ "@kernlang/metrics": "3.1.8",
45
+ "@kernlang/vue": "3.1.8"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsc -b"