@akanjs/language 3.3.0-rc.3 → 3.3.0-rc.31

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.
@@ -1,4 +1,4 @@
1
- import type { AkanGraphEdgeKind, AkanGraphLocation, AkanGraphNode, AkanGraphNodeKind } from "akanjs/common/akanGraph.ts";
1
+ import type { AkanGraphEdgeKind, AkanGraphLocation, AkanGraphNode, AkanGraphNodeKind } from "akanjs/common";
2
2
  import type { AkanGraphSource } from "./akanGraph";
3
3
  import { type GuardResolver } from "./guardResolver";
4
4
  import type { AkanSpan, Extent, FileFacts, ServiceClassFact } from "./moduleFacts";
package/akanGraph.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AkanGraph } from "akanjs/common/akanGraph.ts";
1
+ import type { AkanGraph } from "akanjs/common";
2
2
  import type * as TS from "typescript";
3
3
  import type { Ts } from "./ast";
4
4
  import type { AkanFactReader, FileFacts } from "./moduleFacts";
@@ -1,4 +1,4 @@
1
- import type { AkanGraph, AkanGraphChange } from "akanjs/common/akanGraph.ts";
1
+ import type { AkanGraph, AkanGraphChange } from "akanjs/common";
2
2
  export interface AkanGraphChanges extends AkanGraph {
3
3
  summary: {
4
4
  [change in AkanGraphChange]: number;
package/akanIndex.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AkanGraph } from "akanjs/common/akanGraph.ts";
1
+ import type { AkanGraph } from "akanjs/common";
2
2
  import { type Ts } from "./ast";
3
3
  import { type AkanSpan } from "./moduleFacts";
4
4
  import { type AkanFamily, type AkanTarget } from "./nameTable";
@@ -1,4 +1,4 @@
1
- import type { FrameworkChannel } from "akanjs/common/frameworkMap.ts";
1
+ import type { FrameworkChannel } from "akanjs/common";
2
2
  import type * as TS from "typescript";
3
3
  import type { Ts } from "./ast";
4
4
  export interface FrameworkChannelSpec {
@@ -1,4 +1,4 @@
1
- import type { FrameworkMap } from "akanjs/common/frameworkMap.ts";
1
+ import type { FrameworkMap } from "akanjs/common";
2
2
  import type { Ts } from "./ast";
3
3
  import { type FrameworkChannelSpec } from "./frameworkChannelReader";
4
4
  export interface FrameworkSourcePackage {
@@ -1,4 +1,4 @@
1
- import type { FrameworkMap } from "akanjs/common/frameworkMap.ts";
1
+ import type { FrameworkMap } from "akanjs/common";
2
2
  export declare class FrameworkMapDoc {
3
3
  #private;
4
4
  static readonly regenerate = "bun run akan sync-architecture";
package/index.cjs CHANGED
@@ -1912,7 +1912,7 @@ rootLayout
1912
1912
  var capitalize = (text) => text.charAt(0).toUpperCase() + text.slice(1);
1913
1913
  var lowerFirst = (text) => text.charAt(0).toLowerCase() + text.slice(1);
1914
1914
  var memberSourcePattern = /\.(signal|service|store)\.ts$/;
1915
- var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|useServer)\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1915
+ var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|usePage|useServer)\.ts|\/lib\/__client\/[^/]+\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1916
1916
  var scalarPattern = /\/lib\/__scalar\/([^/]+)\/[^/]+\.constant\.ts$/;
1917
1917
  var moduleDirPattern = /\/lib\/([^/]+)\//;
1918
1918
  var typeKinds = new Set(["model", "scalar", "enum"]);
package/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- export type { AkanChangedFile, AkanChangeMap, AkanGraph, AkanGraphChange, AkanGraphEdge, AkanGraphEdgeKind, AkanGraphField, AkanGraphLocation, AkanGraphNode, AkanGraphNodeKind, } from "akanjs/common/akanGraph.ts";
2
- export type { FrameworkChannel, FrameworkClass, FrameworkFacet, FrameworkImport, FrameworkMap, FrameworkMessage, FrameworkPackage, FrameworkSite, } from "akanjs/common/frameworkMap.ts";
1
+ export type { AkanChangedFile, AkanChangeMap, AkanGraph, AkanGraphChange, AkanGraphEdge, AkanGraphEdgeKind, AkanGraphField, AkanGraphLocation, AkanGraphNode, AkanGraphNodeKind, FrameworkChannel, FrameworkClass, FrameworkFacet, FrameworkImport, FrameworkMap, FrameworkMessage, FrameworkPackage, FrameworkSite, } from "akanjs/common";
3
2
  export { type AkanGraphChanges, AkanGraphDiff } from "./akanGraphDiff";
4
3
  export { type AkanHover, AkanIndex, type AkanIndexOptions, type AkanRenameEdit, type AkanSourceKey } from "./akanIndex";
5
4
  export { type AkanAst, createAst, type Ts } from "./ast";
package/index.js CHANGED
@@ -1860,7 +1860,7 @@ rootLayout
1860
1860
  var capitalize = (text) => text.charAt(0).toUpperCase() + text.slice(1);
1861
1861
  var lowerFirst = (text) => text.charAt(0).toLowerCase() + text.slice(1);
1862
1862
  var memberSourcePattern = /\.(signal|service|store)\.ts$/;
1863
- var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|useServer)\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1863
+ var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|usePage|useServer)\.ts|\/lib\/__client\/[^/]+\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1864
1864
  var scalarPattern = /\/lib\/__scalar\/([^/]+)\/[^/]+\.constant\.ts$/;
1865
1865
  var moduleDirPattern = /\/lib\/([^/]+)\//;
1866
1866
  var typeKinds = new Set(["model", "scalar", "enum"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/language",
3
- "version": "3.3.0-rc.3",
3
+ "version": "3.3.0-rc.31",
4
4
  "description": "Editor-independent Akan.js language core: resolves derived names (slices, queries, CRUD, form setters) back to the source key that produced them.",
5
5
  "sourceType": "module",
6
6
  "type": "module",
package/server.js CHANGED
@@ -1756,7 +1756,7 @@ rootLayout
1756
1756
  var capitalize = (text) => text.charAt(0).toUpperCase() + text.slice(1);
1757
1757
  var lowerFirst = (text) => text.charAt(0).toLowerCase() + text.slice(1);
1758
1758
  var memberSourcePattern = /\.(signal|service|store)\.ts$/;
1759
- var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|useServer)\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1759
+ var skippedPattern = /(?:\.(?:constant|document|dictionary|test|spec)\.tsx?|\/lib\/(?:cnst|db|dict|sig|srv|st|useClient|usePage|useServer)\.ts|\/lib\/__client\/[^/]+\.ts|\/index\.tsx?|^(?:apps|libs)\/[^/]+\/(?:client|server)\.ts)$/;
1760
1760
  var scalarPattern = /\/lib\/__scalar\/([^/]+)\/[^/]+\.constant\.ts$/;
1761
1761
  var moduleDirPattern = /\/lib\/([^/]+)\//;
1762
1762
  var typeKinds = new Set(["model", "scalar", "enum"]);