@auto-engineer/narrative 0.11.19 → 0.12.0

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
@@ -6,6 +6,10 @@
6
6
  ".": {
7
7
  "types": "./dist/src/index.d.ts",
8
8
  "import": "./dist/src/index.js"
9
+ },
10
+ "./node": {
11
+ "types": "./dist/src/node.d.ts",
12
+ "import": "./dist/src/node.js"
9
13
  }
10
14
  },
11
15
  "dependencies": {
@@ -19,9 +23,9 @@
19
23
  "typescript": "^5.9.2",
20
24
  "zod": "^3.22.4",
21
25
  "zod-to-json-schema": "^3.22.3",
22
- "@auto-engineer/file-store": "0.11.19",
23
- "@auto-engineer/id": "0.11.19",
24
- "@auto-engineer/message-bus": "0.11.19"
26
+ "@auto-engineer/file-store": "0.12.0",
27
+ "@auto-engineer/id": "0.12.0",
28
+ "@auto-engineer/message-bus": "0.12.0"
25
29
  },
26
30
  "devDependencies": {
27
31
  "@types/node": "^20.0.0",
@@ -29,12 +33,12 @@
29
33
  "eslint-plugin-sort-keys-fix": "^1.1.2",
30
34
  "fake-indexeddb": "^6.0.0",
31
35
  "tsx": "^4.20.3",
32
- "@auto-engineer/cli": "0.11.19"
36
+ "@auto-engineer/cli": "0.12.0"
33
37
  },
34
38
  "publishConfig": {
35
39
  "access": "public"
36
40
  },
37
- "version": "0.11.19",
41
+ "version": "0.12.0",
38
42
  "scripts": {
39
43
  "build": "tsx scripts/build.ts",
40
44
  "test": "vitest run --reporter=dot",
package/src/index.ts CHANGED
@@ -116,16 +116,5 @@ export type MessageField = z.infer<typeof MessageFieldSchema>;
116
116
  export type Rule = z.infer<typeof RuleSchema>;
117
117
  export type Spec = z.infer<typeof SpecSchema>;
118
118
 
119
- export {
120
- commandHandler as exportSchemaCommandHandler,
121
- type ExportSchemaCommand,
122
- type ExportSchemaEvents,
123
- type SchemaExportedEvent,
124
- type SchemaExportFailedEvent,
125
- } from './commands/export-schema';
126
-
127
- import { commandHandler as exportSchemaHandler } from './commands/export-schema';
128
- export const COMMANDS = [exportSchemaHandler];
129
-
130
119
  // ID assignment utilities
131
120
  export { addAutoIds, hasAllIds } from './id';
package/src/node.ts ADDED
@@ -0,0 +1,12 @@
1
+ export * from './index.js';
2
+
3
+ export {
4
+ commandHandler as exportSchemaCommandHandler,
5
+ type ExportSchemaCommand,
6
+ type ExportSchemaEvents,
7
+ type SchemaExportedEvent,
8
+ type SchemaExportFailedEvent,
9
+ } from './commands/export-schema.js';
10
+
11
+ import { commandHandler as exportSchemaHandler } from './commands/export-schema.js';
12
+ export const COMMANDS = [exportSchemaHandler];