@auto-engineer/narrative 0.11.16 → 0.11.17
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +11 -0
- package/dist/scripts/convert-flow-exec.js +1 -1
- package/dist/scripts/convert-flow-exec.js.map +1 -1
- package/dist/src/commands/export-schema-helper.js +1 -1
- package/dist/src/commands/export-schema-helper.js.map +1 -1
- package/dist/src/commands/export-schema-runner.js +1 -1
- package/dist/src/commands/export-schema-runner.js.map +1 -1
- package/dist/src/commands/filestore.node.d.ts +1 -1
- package/dist/src/commands/filestore.node.d.ts.map +1 -1
- package/dist/src/commands/filestore.node.js +1 -1
- package/dist/src/commands/filestore.node.js.map +1 -1
- package/dist/src/getNarratives.cache.specs.js +1 -1
- package/dist/src/getNarratives.cache.specs.js.map +1 -1
- package/dist/src/getNarratives.d.ts +1 -1
- package/dist/src/getNarratives.d.ts.map +1 -1
- package/dist/src/getNarratives.specs.js +1 -1
- package/dist/src/getNarratives.specs.js.map +1 -1
- package/dist/src/id/hasAllIds.specs.js +1 -1
- package/dist/src/id/hasAllIds.specs.js.map +1 -1
- package/dist/src/loader/graph.d.ts +1 -1
- package/dist/src/loader/graph.d.ts.map +1 -1
- package/dist/src/loader/resolver.d.ts +1 -1
- package/dist/src/loader/resolver.d.ts.map +1 -1
- package/dist/src/loader/ts-utils.d.ts +1 -1
- package/dist/src/loader/ts-utils.d.ts.map +1 -1
- package/dist/src/loader/types.d.ts +1 -1
- package/dist/src/loader/types.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/scripts/convert-flow-exec.ts +1 -1
- package/src/commands/export-schema-helper.ts +1 -1
- package/src/commands/export-schema-runner.ts +1 -1
- package/src/commands/filestore.node.ts +2 -2
- package/src/getNarratives.cache.specs.ts +1 -1
- package/src/getNarratives.specs.ts +1 -1
- package/src/getNarratives.ts +1 -1
- package/src/id/hasAllIds.specs.ts +1 -1
- package/src/loader/graph.ts +1 -1
- package/src/loader/resolver.ts +1 -1
- package/src/loader/ts-utils.ts +1 -1
- package/src/loader/types.ts +1 -1
package/package.json
CHANGED
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"typescript": "^5.9.2",
|
|
20
20
|
"zod": "^3.22.4",
|
|
21
21
|
"zod-to-json-schema": "^3.22.3",
|
|
22
|
-
"@auto-engineer/file-store": "0.11.
|
|
23
|
-
"@auto-engineer/id": "0.11.
|
|
24
|
-
"@auto-engineer/message-bus": "0.11.
|
|
22
|
+
"@auto-engineer/file-store": "0.11.17",
|
|
23
|
+
"@auto-engineer/id": "0.11.17",
|
|
24
|
+
"@auto-engineer/message-bus": "0.11.17"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^20.0.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
30
30
|
"fake-indexeddb": "^6.0.0",
|
|
31
31
|
"tsx": "^4.20.3",
|
|
32
|
-
"@auto-engineer/cli": "0.11.
|
|
32
|
+
"@auto-engineer/cli": "0.11.17"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"version": "0.11.
|
|
37
|
+
"version": "0.11.17",
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsx scripts/build.ts",
|
|
40
40
|
"test": "vitest run --reporter=dot",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import createDebug from 'debug';
|
|
2
2
|
import { getFs } from './filestore.node';
|
|
3
|
-
import { IExtendedFileStore, NodeFileStore } from '@auto-engineer/file-store';
|
|
3
|
+
import { IExtendedFileStore, NodeFileStore } from '@auto-engineer/file-store/node';
|
|
4
4
|
|
|
5
5
|
const debug = createDebug('auto:narrative:export-schema-helper');
|
|
6
6
|
if ('color' in debug && typeof debug === 'object') {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { resolve } from 'path';
|
|
4
4
|
import { writeFileSync, mkdirSync } from 'fs';
|
|
5
5
|
import createDebug from 'debug';
|
|
6
|
-
import { NodeFileStore } from '@auto-engineer/file-store';
|
|
6
|
+
import { NodeFileStore } from '@auto-engineer/file-store/node';
|
|
7
7
|
|
|
8
8
|
const debug = createDebug('auto:narrative:export-schema-runner');
|
|
9
9
|
if ('color' in debug && typeof debug === 'object') {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { IExtendedFileStore } from '@auto-engineer/file-store';
|
|
1
|
+
import type { IExtendedFileStore } from '@auto-engineer/file-store/node';
|
|
2
2
|
|
|
3
3
|
let fsPromise: Promise<IExtendedFileStore> | null = null;
|
|
4
4
|
export async function getFs(): Promise<IExtendedFileStore> {
|
|
5
5
|
if (!fsPromise) {
|
|
6
6
|
fsPromise = (async () => {
|
|
7
|
-
const { NodeFileStore } = await import('@auto-engineer/file-store');
|
|
7
|
+
const { NodeFileStore } = await import('@auto-engineer/file-store/node');
|
|
8
8
|
return new NodeFileStore() as IExtendedFileStore;
|
|
9
9
|
})();
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, expect, it, beforeEach } from 'vitest';
|
|
2
2
|
import { getNarratives, clearGetNarrativesCache } from './getNarratives';
|
|
3
|
-
import { InMemoryFileStore, type IFileStore } from '@auto-engineer/file-store';
|
|
3
|
+
import { InMemoryFileStore, type IFileStore } from '@auto-engineer/file-store/node';
|
|
4
4
|
import * as flowApi from './narrative';
|
|
5
5
|
import * as fluent from './fluent-builder';
|
|
6
6
|
import * as dataBuilders from './data-narrative-builders';
|
|
@@ -3,7 +3,7 @@ import { modelSchema } from './schema';
|
|
|
3
3
|
import { DataSource, Example, Narrative, Model, modelToNarrative, QuerySlice } from './index';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
5
5
|
import path from 'path';
|
|
6
|
-
import { InMemoryFileStore, NodeFileStore } from '@auto-engineer/file-store';
|
|
6
|
+
import { InMemoryFileStore, NodeFileStore } from '@auto-engineer/file-store/node';
|
|
7
7
|
import { getNarratives } from './getNarratives';
|
|
8
8
|
|
|
9
9
|
const __filename = fileURLToPath(import.meta.url);
|
package/src/getNarratives.ts
CHANGED
|
@@ -2,7 +2,7 @@ import createDebug from 'debug';
|
|
|
2
2
|
import { registry } from './narrative-registry';
|
|
3
3
|
import type { Narrative, Model } from './index';
|
|
4
4
|
import { narrativesToModel } from './transformers/narrative-to-model';
|
|
5
|
-
import type { IFileStore } from '@auto-engineer/file-store';
|
|
5
|
+
import type { IFileStore } from '@auto-engineer/file-store/node';
|
|
6
6
|
import { executeAST } from './loader';
|
|
7
7
|
import { sha256 } from 'js-sha256';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, expect, it, beforeEach } from 'vitest';
|
|
2
2
|
import { hasAllIds, addAutoIds } from './index';
|
|
3
3
|
import { getNarratives } from '../getNarratives';
|
|
4
|
-
import { InMemoryFileStore, type IFileStore } from '@auto-engineer/file-store';
|
|
4
|
+
import { InMemoryFileStore, type IFileStore } from '@auto-engineer/file-store/node';
|
|
5
5
|
import * as flowApi from '../narrative';
|
|
6
6
|
import * as fluent from '../fluent-builder';
|
|
7
7
|
import * as dataBuilders from '../data-narrative-builders';
|
package/src/loader/graph.ts
CHANGED
package/src/loader/resolver.ts
CHANGED
package/src/loader/ts-utils.ts
CHANGED
package/src/loader/types.ts
CHANGED