@powerhousedao/codegen 6.0.2-staging.8 → 6.1.0-dev.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/dist/{file-builders-KGdRKyyn.mjs → file-builders-BGuRLZmo.mjs} +261 -560
- package/dist/file-builders-BGuRLZmo.mjs.map +1 -0
- package/dist/{index-DWf4zaOD.d.mts → index-DGqqrenJ.d.mts} +56 -94
- package/dist/index-DGqqrenJ.d.mts.map +1 -0
- package/dist/index.d.mts +13 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +751 -227
- package/dist/index.mjs.map +1 -1
- package/dist/src/file-builders/index.d.mts +2 -2
- package/dist/src/file-builders/index.mjs +2 -2
- package/dist/src/name-builders/index.d.mts +1 -1
- package/dist/src/name-builders/index.mjs +1 -1
- package/dist/src/templates/index.d.mts +5 -5
- package/dist/src/templates/index.d.mts.map +1 -1
- package/dist/src/templates/index.mjs +1 -1
- package/dist/src/utils/index.d.mts +9 -3
- package/dist/src/utils/index.d.mts.map +1 -1
- package/dist/src/utils/index.mjs +2 -2
- package/package.json +9 -5
- package/dist/file-builders-KGdRKyyn.mjs.map +0 -1
- package/dist/index-DWf4zaOD.d.mts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as buildTsMorphProject, Bn as gitIgnoreTemplate, C as writeAllGeneratedProjectFiles, I as validateDocumentModelState, M as tsMorphGenerateApp, Z as loadDocumentModelInDir, at as getProcessorMetadata, d as tsMorphGenerateDocumentModel, f as generateDocumentModelZodSchemas, g as tsMorphGenerateDocumentEditor, h as scalarsValidation, ht as parseConfig, it as getSubgraphMetadata, j as writeProjectRootFiles, m as scalars, mt as parseArgs, n as tsMorphGenerateSubgraph, o as pruneManifestSection, ot as getAppMetadata, p as generateTypesAndZodSchemasFromGraphql, pt as configSpec, r as tsMorphGenerateProcessor, st as getEditorMetadata, tt as getOrCreateDirectory, ut as runPrettier } from "./file-builders-BGuRLZmo.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
+
import { ANALYTICS_ENGINE_CORE_PACKAGE, FEATURE_DEPENDENCIES, PEER_EXTERNAL_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, externalDevDependencies, getPackageManagerAtPowerhouseProjectDirPath, getPowerhouseProjectInstallCommand, packageJsonExports, packageScripts, runCmd, writeFileEnsuringDir } from "@powerhousedao/shared/clis";
|
|
4
|
+
import { cpSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "fs";
|
|
5
|
+
import path, { join } from "path";
|
|
6
|
+
import { readPackage } from "read-pkg";
|
|
7
|
+
import { writePackage } from "write-package";
|
|
3
8
|
import { documentModelReducer } from "@powerhousedao/shared/document-model";
|
|
9
|
+
import { baseLoadFromFile } from "document-model/node";
|
|
10
|
+
import { readFile } from "node:fs/promises";
|
|
4
11
|
import { camelCase, kebabCase, pascalCase } from "change-case";
|
|
5
|
-
import path, { join } from "path";
|
|
6
12
|
import { filter, fromKeys, isDefined, isIncludedIn, isTruthy, keys, map, mapValues, merge, omit, pipe, prop, unique } from "remeda";
|
|
7
13
|
import { Project, SyntaxKind, VariableDeclarationKind } from "ts-morph";
|
|
8
|
-
import { cpSync, mkdirSync, readdirSync, rmSync, statSync } from "fs";
|
|
9
|
-
import { VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, runCmd, writeFileEnsuringDir } from "@powerhousedao/shared/clis";
|
|
10
|
-
import { readFile } from "node:fs/promises";
|
|
11
14
|
import path$1, { join as join$1, resolve } from "node:path";
|
|
12
15
|
import fs$1, { existsSync, readdirSync as readdirSync$1 } from "node:fs";
|
|
13
|
-
import { baseLoadFromFile } from "document-model/node";
|
|
14
16
|
import { spawn } from "node:child_process";
|
|
15
17
|
import console$1 from "console";
|
|
16
18
|
import npmFetch from "npm-registry-fetch";
|
|
17
|
-
import { readPackage } from "read-pkg";
|
|
18
|
-
import { writePackage } from "write-package";
|
|
19
19
|
import chalk from "chalk";
|
|
20
20
|
import fs$2 from "fs/promises";
|
|
21
21
|
//#region src/codegen/utils.ts
|
|
22
|
+
function sortByKey(value) {
|
|
23
|
+
return Object.fromEntries(Object.entries(value).sort(([a], [b]) => a.localeCompare(b)));
|
|
24
|
+
}
|
|
22
25
|
async function loadDocumentModel(path) {
|
|
23
26
|
let documentModel;
|
|
24
27
|
try {
|
|
@@ -36,14 +39,73 @@ async function loadDocumentModel(path) {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
//#endregion
|
|
42
|
+
//#region src/codegen/features.ts
|
|
43
|
+
function hasAnalyticsProcessor(processorsDir) {
|
|
44
|
+
const entries = readdirSync(processorsDir, { withFileTypes: true });
|
|
45
|
+
for (const entry of entries) {
|
|
46
|
+
if (!entry.isDirectory()) continue;
|
|
47
|
+
const dir = join(processorsDir, entry.name);
|
|
48
|
+
for (const filename of ["processor.ts", "index.ts"]) try {
|
|
49
|
+
if (readFileSync(join(dir, filename), "utf-8").includes(ANALYTICS_ENGINE_CORE_PACKAGE)) return true;
|
|
50
|
+
} catch {}
|
|
51
|
+
}
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
function detectFeatures(projectDir) {
|
|
55
|
+
const features = [];
|
|
56
|
+
const processorsDir = join(projectDir, "processors");
|
|
57
|
+
if (statSync(processorsDir, { throwIfNoEntry: false })?.isDirectory() && hasAnalyticsProcessor(processorsDir)) features.push("analyticsProcessor");
|
|
58
|
+
return features;
|
|
59
|
+
}
|
|
60
|
+
async function syncFeatureDependencies(features, projectDir) {
|
|
61
|
+
if (features.length === 0) return;
|
|
62
|
+
const packageJson = await readPackage({
|
|
63
|
+
cwd: projectDir,
|
|
64
|
+
normalize: false
|
|
65
|
+
});
|
|
66
|
+
const pinVersion = packageJson.peerDependencies?.["document-model"] ?? packageJson.devDependencies?.["document-model"];
|
|
67
|
+
if (!pinVersion) throw new Error("Cannot sync feature dependencies: project is missing `document-model` in peer/devDependencies. Run `ph migrate` first.");
|
|
68
|
+
const peerDependencies = { ...packageJson.peerDependencies ?? {} };
|
|
69
|
+
const devDependencies = { ...packageJson.devDependencies ?? {} };
|
|
70
|
+
const added = [];
|
|
71
|
+
for (const feature of features) {
|
|
72
|
+
const spec = FEATURE_DEPENDENCIES[feature];
|
|
73
|
+
for (const pkg of spec.peerVersioned) {
|
|
74
|
+
if (peerDependencies[pkg] === void 0) {
|
|
75
|
+
peerDependencies[pkg] = pinVersion;
|
|
76
|
+
added.push(pkg);
|
|
77
|
+
}
|
|
78
|
+
if (devDependencies[pkg] === void 0) devDependencies[pkg] = pinVersion;
|
|
79
|
+
}
|
|
80
|
+
const peerExternal = spec.peerExternal;
|
|
81
|
+
for (const [pkg, versionSpec] of Object.entries(peerExternal)) {
|
|
82
|
+
if (peerDependencies[pkg] === void 0) {
|
|
83
|
+
peerDependencies[pkg] = versionSpec.peer;
|
|
84
|
+
added.push(pkg);
|
|
85
|
+
}
|
|
86
|
+
if (devDependencies[pkg] === void 0) devDependencies[pkg] = versionSpec.dev;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (added.length === 0) return;
|
|
90
|
+
await writePackage(projectDir, {
|
|
91
|
+
...packageJson,
|
|
92
|
+
peerDependencies: sortByKey(peerDependencies),
|
|
93
|
+
devDependencies: sortByKey(devDependencies)
|
|
94
|
+
});
|
|
95
|
+
console.log(`Added peer/dev dependencies: ${added.join(", ")}`);
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
39
98
|
//#region src/codegen/generate.ts
|
|
40
99
|
async function generateDocumentModel(documentModelState, project) {
|
|
41
100
|
await tsMorphGenerateDocumentModel(documentModelState, project);
|
|
42
101
|
}
|
|
43
102
|
async function generateAllDocumentModels(project) {
|
|
44
103
|
const { directory: documentModelsDir } = getOrCreateDirectory(project, "document-models");
|
|
45
|
-
const
|
|
104
|
+
const documentModelsDirPath = documentModelsDir.getPath();
|
|
105
|
+
const projectDir = documentModelsDir.getParentOrThrow().getPath();
|
|
106
|
+
const documentModelStateFiles = pipe(readdirSync$1(documentModelsDirPath, { withFileTypes: true }), map(loadDocumentModelInDir), filter(isDefined));
|
|
46
107
|
for (const documentModelState of documentModelStateFiles) await generateDocumentModel(documentModelState, project);
|
|
108
|
+
await pruneManifestSection(projectDir, "documentModels", documentModelStateFiles.map((s) => s.id));
|
|
47
109
|
}
|
|
48
110
|
async function generateFromFile(filePath, project) {
|
|
49
111
|
await generateDocumentModel(await loadDocumentModel(filePath), project);
|
|
@@ -63,6 +125,7 @@ async function generateEditor(args, project) {
|
|
|
63
125
|
}
|
|
64
126
|
async function generateAllEditors(project) {
|
|
65
127
|
const { directory: editorsDir } = getOrCreateDirectory(project, "editors");
|
|
128
|
+
const projectDir = editorsDir.getParentOrThrow().getPath();
|
|
66
129
|
const editorsToAdd = pipe(editorsDir.getDirectories(), map((dir) => dir.getBaseName()), map((dirName) => getEditorMetadata(project, dirName)), filter(isTruthy), filter(({ documentTypes }) => !isIncludedIn("powerhouse/document-drive", documentTypes)));
|
|
67
130
|
for (const editorToAdd of editorsToAdd) {
|
|
68
131
|
const { name: editorName, id: editorId, dirName: editorDirName, documentTypes } = editorToAdd;
|
|
@@ -73,6 +136,7 @@ async function generateAllEditors(project) {
|
|
|
73
136
|
documentTypes
|
|
74
137
|
}, project);
|
|
75
138
|
}
|
|
139
|
+
await pruneManifestSection(projectDir, "editors", editorsToAdd.map((e) => e.id));
|
|
76
140
|
}
|
|
77
141
|
async function generateApp(args, project) {
|
|
78
142
|
const { appName, appId, allowedDocumentTypes, isDragAndDropEnabled, appDirName } = args;
|
|
@@ -87,6 +151,7 @@ async function generateApp(args, project) {
|
|
|
87
151
|
}
|
|
88
152
|
async function generateAllApps(project) {
|
|
89
153
|
const { directory: editorsDir } = getOrCreateDirectory(project, "editors");
|
|
154
|
+
const projectDir = editorsDir.getParentOrThrow().getPath();
|
|
90
155
|
const appsToAdd = pipe(editorsDir.getDirectories(), map((dir) => dir.getBaseName()), map((dirName) => getAppMetadata(project, dirName)), filter(isTruthy));
|
|
91
156
|
for (const appToAdd of appsToAdd) {
|
|
92
157
|
const { name: appName, id: appId, dirName: appDirName, allowedDocumentTypes, isDragAndDropEnabled } = appToAdd;
|
|
@@ -98,6 +163,7 @@ async function generateAllApps(project) {
|
|
|
98
163
|
isDragAndDropEnabled
|
|
99
164
|
}, project);
|
|
100
165
|
}
|
|
166
|
+
await pruneManifestSection(projectDir, "apps", appsToAdd.map((a) => a.id));
|
|
101
167
|
}
|
|
102
168
|
async function generateSubgraph(subgraphName, project) {
|
|
103
169
|
await tsMorphGenerateSubgraph({
|
|
@@ -107,8 +173,10 @@ async function generateSubgraph(subgraphName, project) {
|
|
|
107
173
|
}
|
|
108
174
|
async function generateAllSubgraphs(project) {
|
|
109
175
|
const { directory: subgraphsDir } = getOrCreateDirectory(project, "subgraphs");
|
|
176
|
+
const projectDir = subgraphsDir.getParentOrThrow().getPath();
|
|
110
177
|
const subgraphNames = pipe(subgraphsDir.getDirectories(), map((dir) => dir.getBaseName()), map((dirName) => getSubgraphMetadata(project, dirName)), map(prop("subgraphName")), filter(isDefined), unique());
|
|
111
178
|
for (const subgraphName of subgraphNames) await generateSubgraph(subgraphName, project);
|
|
179
|
+
await pruneManifestSection(projectDir, "subgraphs", subgraphNames.map((name) => kebabCase(name)));
|
|
112
180
|
}
|
|
113
181
|
async function generateProcessor(args, project) {
|
|
114
182
|
return await tsMorphGenerateProcessor({
|
|
@@ -118,8 +186,10 @@ async function generateProcessor(args, project) {
|
|
|
118
186
|
}
|
|
119
187
|
async function generateAllProcessors(project) {
|
|
120
188
|
const { directory: processorsDir } = getOrCreateDirectory(project, "processors");
|
|
189
|
+
const projectDir = processorsDir.getParentOrThrow().getPath();
|
|
121
190
|
const processorsToGenerate = pipe(processorsDir.getDirectories(), map((dir) => dir.getBaseName()), map((dirName) => getProcessorMetadata(project, dirName)));
|
|
122
191
|
for (const processorArgs of processorsToGenerate) await generateProcessor(processorArgs, project);
|
|
192
|
+
await pruneManifestSection(projectDir, "processors", processorsToGenerate.map((p) => kebabCase(p.processorName)));
|
|
123
193
|
}
|
|
124
194
|
async function generateAll(project) {
|
|
125
195
|
await generateAllDocumentModels(project);
|
|
@@ -129,6 +199,11 @@ async function generateAll(project) {
|
|
|
129
199
|
await generateAllProcessors(project);
|
|
130
200
|
}
|
|
131
201
|
//#endregion
|
|
202
|
+
//#region src/codegen/get-version.ts
|
|
203
|
+
function getCodegenVersion() {
|
|
204
|
+
return "6.1.0-dev.0";
|
|
205
|
+
}
|
|
206
|
+
//#endregion
|
|
132
207
|
//#region src/codegen/kysely.ts
|
|
133
208
|
function getKyselyPgLiteBin() {
|
|
134
209
|
const paths = createRequire(import.meta.url).resolve.paths("kysely-pglite");
|
|
@@ -177,7 +252,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
177
252
|
"dir": "/home/runner/work/powerhouse/powerhouse/apps/academy",
|
|
178
253
|
"manifest": {
|
|
179
254
|
"name": "@powerhousedao/academy",
|
|
180
|
-
"version": "6.0
|
|
255
|
+
"version": "6.1.0-dev.0",
|
|
181
256
|
"homepage": "https://powerhouse.academy",
|
|
182
257
|
"packageManager": "pnpm@10.9.0",
|
|
183
258
|
"repository": {
|
|
@@ -198,6 +273,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
198
273
|
"typecheck": "tsc",
|
|
199
274
|
"generate:cli-docs": "tsx ./scripts/generate-combined-cli-docs.ts",
|
|
200
275
|
"generate:llm-docs": "tsx ./scripts/generate-llm-docs.ts",
|
|
276
|
+
"check:doc-snippets": "tsx ./scripts/check-doc-snippets.ts",
|
|
201
277
|
"heroku-postbuild": "npm run build",
|
|
202
278
|
"slides:preview": "marp -s ./slides",
|
|
203
279
|
"slides:build": "marp ./slides"
|
|
@@ -243,7 +319,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
243
319
|
"manifest": {
|
|
244
320
|
"name": "@powerhousedao/connect",
|
|
245
321
|
"productName": "Powerhouse-Connect",
|
|
246
|
-
"version": "6.0
|
|
322
|
+
"version": "6.1.0-dev.0",
|
|
247
323
|
"description": "Powerhouse Connect",
|
|
248
324
|
"main": "dist/index.html",
|
|
249
325
|
"type": "module",
|
|
@@ -260,10 +336,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
260
336
|
],
|
|
261
337
|
"exports": {
|
|
262
338
|
".": {
|
|
339
|
+
"source": "./start-connect.tsx",
|
|
263
340
|
"types": "./dist/start-connect.d.ts",
|
|
264
341
|
"import": "./dist/start-connect.js"
|
|
265
342
|
},
|
|
266
343
|
"./main.js": {
|
|
344
|
+
"source": "./main.tsx",
|
|
267
345
|
"types": "./dist/main.d.ts",
|
|
268
346
|
"import": "./dist/main.js"
|
|
269
347
|
},
|
|
@@ -315,8 +393,6 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
315
393
|
"@renown/sdk": "workspace:*",
|
|
316
394
|
"@sentry/react": "^10.17.0",
|
|
317
395
|
"document-model": "workspace:*",
|
|
318
|
-
"graphql": "catalog:",
|
|
319
|
-
"graphql-request": "catalog:",
|
|
320
396
|
"i18next": "^25.5.3",
|
|
321
397
|
"kysely": "catalog:",
|
|
322
398
|
"kysely-pglite-dialect": "catalog:",
|
|
@@ -355,18 +431,21 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
355
431
|
"manifest": {
|
|
356
432
|
"name": "@powerhousedao/switchboard",
|
|
357
433
|
"type": "module",
|
|
358
|
-
"version": "6.0
|
|
434
|
+
"version": "6.1.0-dev.0",
|
|
359
435
|
"main": "dist/index.mjs",
|
|
360
436
|
"exports": {
|
|
361
437
|
".": {
|
|
438
|
+
"source": "./src/index.mts",
|
|
362
439
|
"types": "./dist/index.d.mts",
|
|
363
440
|
"import": "./dist/index.mjs"
|
|
364
441
|
},
|
|
365
442
|
"./server": {
|
|
443
|
+
"source": "./src/server.mts",
|
|
366
444
|
"types": "./dist/server.d.mts",
|
|
367
445
|
"import": "./dist/server.mjs"
|
|
368
446
|
},
|
|
369
447
|
"./utils": {
|
|
448
|
+
"source": "./src/utils.mts",
|
|
370
449
|
"types": "./dist/utils.d.mts",
|
|
371
450
|
"import": "./dist/utils.mjs"
|
|
372
451
|
}
|
|
@@ -420,6 +499,8 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
420
499
|
"@powerhousedao/vetra": "workspace:*",
|
|
421
500
|
"@powerhousedao/reactor-api": "workspace:*",
|
|
422
501
|
"@powerhousedao/reactor-attachments": "workspace:*",
|
|
502
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
503
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
423
504
|
"@pyroscope/nodejs": "^0.4.5",
|
|
424
505
|
"@renown/sdk": "workspace:*",
|
|
425
506
|
"@sentry/node": "^9.6.1",
|
|
@@ -449,7 +530,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
449
530
|
"dir": "/home/runner/work/powerhouse/powerhouse/clis/ph-cli",
|
|
450
531
|
"manifest": {
|
|
451
532
|
"name": "@powerhousedao/ph-cli",
|
|
452
|
-
"version": "6.0
|
|
533
|
+
"version": "6.1.0-dev.0",
|
|
453
534
|
"description": "",
|
|
454
535
|
"license": "AGPL-3.0-only",
|
|
455
536
|
"type": "module",
|
|
@@ -474,7 +555,6 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
474
555
|
"keywords": [],
|
|
475
556
|
"author": "",
|
|
476
557
|
"dependencies": {
|
|
477
|
-
"@tsdown/css": "catalog:",
|
|
478
558
|
"@powerhousedao/builder-tools": "workspace:*",
|
|
479
559
|
"@powerhousedao/codegen": "workspace:*",
|
|
480
560
|
"@powerhousedao/common": "workspace:*",
|
|
@@ -482,7 +562,10 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
482
562
|
"@powerhousedao/reactor": "workspace:*",
|
|
483
563
|
"@powerhousedao/shared": "workspace:*",
|
|
484
564
|
"@powerhousedao/switchboard": "workspace:*",
|
|
565
|
+
"@powerhousedao/vetra": "workspace:*",
|
|
485
566
|
"@renown/sdk": "workspace:*",
|
|
567
|
+
"@sentry/node-core": "^10.52.0",
|
|
568
|
+
"@tsdown/css": "catalog:",
|
|
486
569
|
"chalk": "catalog:",
|
|
487
570
|
"change-case": "catalog:",
|
|
488
571
|
"cmd-ts": "catalog:",
|
|
@@ -493,18 +576,19 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
493
576
|
"package-manager-detector": "catalog:",
|
|
494
577
|
"pg": "catalog:",
|
|
495
578
|
"read-pkg": "catalog:",
|
|
579
|
+
"rolldown": "catalog:",
|
|
496
580
|
"semver": "catalog:",
|
|
497
|
-
"ts-morph": "catalog:",
|
|
498
581
|
"tsdown": "catalog:",
|
|
499
|
-
"vite": "catalog:"
|
|
500
|
-
"write-package": "catalog:",
|
|
501
|
-
"zod": "catalog:"
|
|
582
|
+
"vite": "catalog:"
|
|
502
583
|
},
|
|
503
584
|
"devDependencies": {
|
|
504
585
|
"@types/node": "catalog:",
|
|
505
586
|
"@types/npm-registry-fetch": "^8.0.9",
|
|
506
587
|
"@types/pg": "catalog:",
|
|
507
|
-
"copyfiles": "catalog:"
|
|
588
|
+
"copyfiles": "catalog:",
|
|
589
|
+
"ts-morph": "catalog:",
|
|
590
|
+
"write-package": "catalog:",
|
|
591
|
+
"zod": "catalog:"
|
|
508
592
|
}
|
|
509
593
|
}
|
|
510
594
|
},
|
|
@@ -512,7 +596,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
512
596
|
"dir": "/home/runner/work/powerhouse/powerhouse/clis/ph-cmd",
|
|
513
597
|
"manifest": {
|
|
514
598
|
"name": "ph-cmd",
|
|
515
|
-
"version": "6.0
|
|
599
|
+
"version": "6.1.0-dev.0",
|
|
516
600
|
"description": "",
|
|
517
601
|
"license": "AGPL-3.0-only",
|
|
518
602
|
"type": "module",
|
|
@@ -539,6 +623,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
539
623
|
"author": "",
|
|
540
624
|
"dependencies": {
|
|
541
625
|
"@powerhousedao/shared": "workspace:*",
|
|
626
|
+
"@sentry/node-core": "^10.52.0",
|
|
542
627
|
"chalk": "catalog:",
|
|
543
628
|
"cmd-ts": "catalog:",
|
|
544
629
|
"package-manager-detector": "catalog:",
|
|
@@ -557,7 +642,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
557
642
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/browser",
|
|
558
643
|
"manifest": {
|
|
559
644
|
"name": "@powerhousedao/analytics-engine-browser",
|
|
560
|
-
"version": "6.0
|
|
645
|
+
"version": "6.1.0-dev.0",
|
|
561
646
|
"license": "AGPL-3.0-only",
|
|
562
647
|
"repository": {
|
|
563
648
|
"type": "git",
|
|
@@ -568,10 +653,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
568
653
|
"sideEffects": false,
|
|
569
654
|
"exports": {
|
|
570
655
|
".": {
|
|
656
|
+
"source": "./index.ts",
|
|
571
657
|
"types": "./dist/index.d.ts",
|
|
572
658
|
"import": "./dist/index.js"
|
|
573
659
|
},
|
|
574
660
|
"./test-utils": {
|
|
661
|
+
"source": "./test-utils.ts",
|
|
575
662
|
"types": "./dist/test-utils.d.ts",
|
|
576
663
|
"import": "./dist/test-utils.js"
|
|
577
664
|
}
|
|
@@ -601,7 +688,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
601
688
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/core",
|
|
602
689
|
"manifest": {
|
|
603
690
|
"name": "@powerhousedao/analytics-engine-core",
|
|
604
|
-
"version": "6.0
|
|
691
|
+
"version": "6.1.0-dev.0",
|
|
605
692
|
"license": "AGPL-3.0-only",
|
|
606
693
|
"repository": {
|
|
607
694
|
"type": "git",
|
|
@@ -611,6 +698,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
611
698
|
"type": "module",
|
|
612
699
|
"sideEffects": false,
|
|
613
700
|
"exports": { ".": {
|
|
701
|
+
"source": "./index.ts",
|
|
614
702
|
"types": "./dist/index.d.ts",
|
|
615
703
|
"import": "./dist/index.js"
|
|
616
704
|
} },
|
|
@@ -634,7 +722,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
634
722
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/graphql",
|
|
635
723
|
"manifest": {
|
|
636
724
|
"name": "@powerhousedao/analytics-engine-graphql",
|
|
637
|
-
"version": "6.0
|
|
725
|
+
"version": "6.1.0-dev.0",
|
|
638
726
|
"license": "AGPL-3.0-only",
|
|
639
727
|
"repository": {
|
|
640
728
|
"type": "git",
|
|
@@ -644,6 +732,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
644
732
|
"type": "module",
|
|
645
733
|
"sideEffects": false,
|
|
646
734
|
"exports": { ".": {
|
|
735
|
+
"source": "./index.ts",
|
|
647
736
|
"types": "./dist/index.d.ts",
|
|
648
737
|
"import": "./dist/index.js"
|
|
649
738
|
} },
|
|
@@ -667,7 +756,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
667
756
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/knex",
|
|
668
757
|
"manifest": {
|
|
669
758
|
"name": "@powerhousedao/analytics-engine-knex",
|
|
670
|
-
"version": "6.0
|
|
759
|
+
"version": "6.1.0-dev.0",
|
|
671
760
|
"license": "AGPL-3.0-only",
|
|
672
761
|
"repository": {
|
|
673
762
|
"type": "git",
|
|
@@ -677,6 +766,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
677
766
|
"type": "module",
|
|
678
767
|
"sideEffects": false,
|
|
679
768
|
"exports": { ".": {
|
|
769
|
+
"source": "./index.ts",
|
|
680
770
|
"types": "./dist/index.d.ts",
|
|
681
771
|
"import": "./dist/index.js"
|
|
682
772
|
} },
|
|
@@ -686,14 +776,14 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
686
776
|
"test": "vitest --run ./**/*.test.ts"
|
|
687
777
|
},
|
|
688
778
|
"dependencies": {
|
|
689
|
-
"knex": "catalog:",
|
|
690
779
|
"luxon": "catalog:",
|
|
691
|
-
"pg": "catalog:",
|
|
692
780
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
693
781
|
"change-case": "catalog:"
|
|
694
782
|
},
|
|
695
783
|
"devDependencies": {
|
|
696
784
|
"@types/pg": "catalog:",
|
|
785
|
+
"knex": "catalog:",
|
|
786
|
+
"pg": "catalog:",
|
|
697
787
|
"vitest": "catalog:",
|
|
698
788
|
"@types/luxon": "catalog:",
|
|
699
789
|
"tsdown": "catalog:"
|
|
@@ -704,7 +794,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
704
794
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/pg",
|
|
705
795
|
"manifest": {
|
|
706
796
|
"name": "@powerhousedao/analytics-engine-pg",
|
|
707
|
-
"version": "6.0
|
|
797
|
+
"version": "6.1.0-dev.0",
|
|
708
798
|
"license": "AGPL-3.0-only",
|
|
709
799
|
"repository": {
|
|
710
800
|
"type": "git",
|
|
@@ -714,6 +804,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
714
804
|
"type": "module",
|
|
715
805
|
"sideEffects": false,
|
|
716
806
|
"exports": { ".": {
|
|
807
|
+
"source": "./index.ts",
|
|
717
808
|
"types": "./dist/index.d.ts",
|
|
718
809
|
"import": "./dist/index.js"
|
|
719
810
|
} },
|
|
@@ -724,12 +815,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
724
815
|
},
|
|
725
816
|
"dependencies": {
|
|
726
817
|
"knex": "catalog:",
|
|
727
|
-
"luxon": "catalog:",
|
|
728
818
|
"pg": "catalog:",
|
|
729
819
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
730
820
|
"@powerhousedao/analytics-engine-knex": "workspace:*"
|
|
731
821
|
},
|
|
732
822
|
"devDependencies": {
|
|
823
|
+
"luxon": "catalog:",
|
|
733
824
|
"tsdown": "catalog:",
|
|
734
825
|
"@types/luxon": "catalog:",
|
|
735
826
|
"@types/node": "catalog:",
|
|
@@ -742,7 +833,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
742
833
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/builder-tools",
|
|
743
834
|
"manifest": {
|
|
744
835
|
"name": "@powerhousedao/builder-tools",
|
|
745
|
-
"version": "6.0
|
|
836
|
+
"version": "6.1.0-dev.0",
|
|
746
837
|
"type": "module",
|
|
747
838
|
"license": "AGPL-3.0-only",
|
|
748
839
|
"publishConfig": { "access": "public" },
|
|
@@ -752,6 +843,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
752
843
|
},
|
|
753
844
|
"files": ["dist"],
|
|
754
845
|
"exports": { ".": {
|
|
846
|
+
"source": "./index.mts",
|
|
755
847
|
"types": "./dist/index.d.mts",
|
|
756
848
|
"import": "./dist/index.mjs"
|
|
757
849
|
} },
|
|
@@ -768,13 +860,13 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
768
860
|
"@vitejs/plugin-react": "catalog:",
|
|
769
861
|
"document-model": "workspace:*",
|
|
770
862
|
"vite": "catalog:",
|
|
771
|
-
"vite-plugin-html": "catalog:"
|
|
772
|
-
"zod": "catalog:"
|
|
863
|
+
"vite-plugin-html": "catalog:"
|
|
773
864
|
},
|
|
774
865
|
"devDependencies": {
|
|
775
866
|
"@sentry/vite-plugin": "^4.3.0",
|
|
776
867
|
"tsdown": "catalog:",
|
|
777
|
-
"tsx": "catalog:"
|
|
868
|
+
"tsx": "catalog:",
|
|
869
|
+
"zod": "catalog:"
|
|
778
870
|
},
|
|
779
871
|
"peerDependencies": { "@sentry/vite-plugin": "^4.3.0" },
|
|
780
872
|
"peerDependenciesMeta": { "@sentry/vite-plugin": { "optional": true } }
|
|
@@ -784,7 +876,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
784
876
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/codegen",
|
|
785
877
|
"manifest": {
|
|
786
878
|
"name": "@powerhousedao/codegen",
|
|
787
|
-
"version": "6.0
|
|
879
|
+
"version": "6.1.0-dev.0",
|
|
788
880
|
"license": "AGPL-3.0-only",
|
|
789
881
|
"private": false,
|
|
790
882
|
"type": "module",
|
|
@@ -823,6 +915,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
823
915
|
"build": "tsdown"
|
|
824
916
|
},
|
|
825
917
|
"dependencies": {
|
|
918
|
+
"@graphql-codegen/add": "catalog:",
|
|
826
919
|
"@graphql-codegen/cli": "catalog:",
|
|
827
920
|
"@graphql-codegen/typescript": "catalog:",
|
|
828
921
|
"@powerhousedao/document-engineering": "catalog:",
|
|
@@ -832,7 +925,6 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
832
925
|
"chalk": "catalog:",
|
|
833
926
|
"change-case": "catalog:",
|
|
834
927
|
"document-model": "workspace:*",
|
|
835
|
-
"graphql": "catalog:",
|
|
836
928
|
"graphql-codegen-typescript-validation-schema": "catalog:",
|
|
837
929
|
"load-json-file": "^7.0.1",
|
|
838
930
|
"npm-registry-fetch": "^19.1.1",
|
|
@@ -849,15 +941,17 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
849
941
|
"@pnpm/find-workspace-packages": "^6.0.9",
|
|
850
942
|
"@tmpl/core": "npm:@jsr/tmpl__core@^0.6.3",
|
|
851
943
|
"@types/npm-registry-fetch": "^8.0.9",
|
|
944
|
+
"graphql": "catalog:",
|
|
852
945
|
"tsdown": "catalog:"
|
|
853
|
-
}
|
|
946
|
+
},
|
|
947
|
+
"peerDependencies": { "graphql": "^16" }
|
|
854
948
|
}
|
|
855
949
|
},
|
|
856
950
|
{
|
|
857
951
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/common",
|
|
858
952
|
"manifest": {
|
|
859
953
|
"name": "@powerhousedao/common",
|
|
860
|
-
"version": "6.0
|
|
954
|
+
"version": "6.1.0-dev.0",
|
|
861
955
|
"license": "AGPL-3.0-only",
|
|
862
956
|
"type": "module",
|
|
863
957
|
"files": ["/dist"],
|
|
@@ -867,14 +961,17 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
867
961
|
},
|
|
868
962
|
"exports": {
|
|
869
963
|
".": {
|
|
964
|
+
"source": "./index.ts",
|
|
870
965
|
"types": "./dist/index.d.ts",
|
|
871
966
|
"import": "./dist/index.js"
|
|
872
967
|
},
|
|
873
968
|
"./utils": {
|
|
969
|
+
"source": "./utils/index.ts",
|
|
874
970
|
"types": "./dist/utils/index.d.ts",
|
|
875
971
|
"import": "./dist/utils/index.js"
|
|
876
972
|
},
|
|
877
973
|
"./analytics": {
|
|
974
|
+
"source": "./drive-analytics.ts",
|
|
878
975
|
"types": "./dist/drive-analytics.d.ts",
|
|
879
976
|
"import": "./dist/drive-analytics.js"
|
|
880
977
|
}
|
|
@@ -909,7 +1006,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
909
1006
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/config",
|
|
910
1007
|
"manifest": {
|
|
911
1008
|
"name": "@powerhousedao/config",
|
|
912
|
-
"version": "6.0
|
|
1009
|
+
"version": "6.1.0-dev.0",
|
|
913
1010
|
"description": "",
|
|
914
1011
|
"license": "AGPL-3.0-only",
|
|
915
1012
|
"private": false,
|
|
@@ -921,10 +1018,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
921
1018
|
},
|
|
922
1019
|
"exports": {
|
|
923
1020
|
".": {
|
|
1021
|
+
"source": "./src/index.ts",
|
|
924
1022
|
"types": "./dist/index.d.ts",
|
|
925
1023
|
"import": "./dist/index.js"
|
|
926
1024
|
},
|
|
927
1025
|
"./node": {
|
|
1026
|
+
"source": "./src/node.ts",
|
|
928
1027
|
"types": "./dist/node.d.ts",
|
|
929
1028
|
"import": "./dist/node.js"
|
|
930
1029
|
}
|
|
@@ -944,7 +1043,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
944
1043
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/design-system",
|
|
945
1044
|
"manifest": {
|
|
946
1045
|
"name": "@powerhousedao/design-system",
|
|
947
|
-
"version": "6.0
|
|
1046
|
+
"version": "6.1.0-dev.0",
|
|
948
1047
|
"description": "",
|
|
949
1048
|
"files": ["dist", "theme.css"],
|
|
950
1049
|
"type": "module",
|
|
@@ -964,6 +1063,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
964
1063
|
},
|
|
965
1064
|
"exports": {
|
|
966
1065
|
".": {
|
|
1066
|
+
"source": "./src/index.ts",
|
|
967
1067
|
"types": "./dist/index.d.ts",
|
|
968
1068
|
"import": "./dist/index.js"
|
|
969
1069
|
},
|
|
@@ -972,19 +1072,23 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
972
1072
|
"import": "./dist/*.js"
|
|
973
1073
|
},
|
|
974
1074
|
"./ui": {
|
|
1075
|
+
"source": "./src/ui/index.ts",
|
|
975
1076
|
"types": "./dist/ui/index.d.ts",
|
|
976
1077
|
"import": "./dist/ui/index.js"
|
|
977
1078
|
},
|
|
978
1079
|
"./ui/lib": {
|
|
1080
|
+
"source": "./src/ui/lib/index.ts",
|
|
979
1081
|
"types": "./dist/ui/lib/index.d.ts",
|
|
980
1082
|
"import": "./dist/ui/lib/index.js"
|
|
981
1083
|
},
|
|
982
1084
|
"./ui/*": "./dist/ui/*",
|
|
983
1085
|
"./connect": {
|
|
1086
|
+
"source": "./src/connect/index.ts",
|
|
984
1087
|
"types": "./dist/connect/index.d.ts",
|
|
985
1088
|
"import": "./dist/connect/index.js"
|
|
986
1089
|
},
|
|
987
1090
|
"./connect/toast": {
|
|
1091
|
+
"source": "./src/connect/components/toast/toast.tsx",
|
|
988
1092
|
"types": "./dist/connect/components/toast/toast.d.ts",
|
|
989
1093
|
"import": "./dist/connect/components/toast/toast.js"
|
|
990
1094
|
},
|
|
@@ -1028,6 +1132,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1028
1132
|
"@storybook/types": "^8.6.18",
|
|
1029
1133
|
"@tailwindcss/cli": "catalog:",
|
|
1030
1134
|
"@tailwindcss/vite": "catalog:",
|
|
1135
|
+
"@tanstack/react-query": "^5.49.2",
|
|
1031
1136
|
"@testing-library/dom": "^10.4.0",
|
|
1032
1137
|
"@testing-library/jest-dom": "^6.6.3",
|
|
1033
1138
|
"@testing-library/react": "^16.0.1",
|
|
@@ -1066,7 +1171,6 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1066
1171
|
"@radix-ui/react-tabs": "^1.1.1",
|
|
1067
1172
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
1068
1173
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
1069
|
-
"@tanstack/react-query": "^5.49.2",
|
|
1070
1174
|
"@tanstack/react-virtual": "^3.8.1",
|
|
1071
1175
|
"@uiw/react-json-view": "2.0.0-alpha.42",
|
|
1072
1176
|
"change-case": "catalog:",
|
|
@@ -1081,6 +1185,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1081
1185
|
"react-toastify": "^10.0.4",
|
|
1082
1186
|
"remeda": "catalog:",
|
|
1083
1187
|
"tailwind-merge": "catalog:",
|
|
1188
|
+
"type-fest": "catalog:",
|
|
1084
1189
|
"usehooks-ts": "^3.1.1"
|
|
1085
1190
|
}
|
|
1086
1191
|
}
|
|
@@ -1089,7 +1194,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1089
1194
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/document-model",
|
|
1090
1195
|
"manifest": {
|
|
1091
1196
|
"name": "document-model",
|
|
1092
|
-
"version": "6.0
|
|
1197
|
+
"version": "6.1.0-dev.0",
|
|
1093
1198
|
"license": "AGPL-3.0-only",
|
|
1094
1199
|
"private": false,
|
|
1095
1200
|
"files": ["dist"],
|
|
@@ -1100,18 +1205,22 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1100
1205
|
"type": "module",
|
|
1101
1206
|
"exports": {
|
|
1102
1207
|
".": {
|
|
1208
|
+
"source": "./index.ts",
|
|
1103
1209
|
"import": "./dist/index.js",
|
|
1104
1210
|
"types": "./dist/index.d.ts"
|
|
1105
1211
|
},
|
|
1106
1212
|
"./test": {
|
|
1213
|
+
"source": "./test/index.ts",
|
|
1107
1214
|
"import": "./dist/test/index.js",
|
|
1108
1215
|
"types": "./dist/test/index.d.ts"
|
|
1109
1216
|
},
|
|
1110
1217
|
"./node": {
|
|
1218
|
+
"source": "./node.mts",
|
|
1111
1219
|
"node": "./dist/node.mjs",
|
|
1112
1220
|
"types": "./dist/node.d.mts"
|
|
1113
1221
|
},
|
|
1114
1222
|
"./core": {
|
|
1223
|
+
"source": "./index.ts",
|
|
1115
1224
|
"import": "./dist/index.js",
|
|
1116
1225
|
"types": "./dist/index.d.ts"
|
|
1117
1226
|
}
|
|
@@ -1128,18 +1237,18 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1128
1237
|
"@types/jest": "^29.5.14",
|
|
1129
1238
|
"@types/mime": "^4.0.0",
|
|
1130
1239
|
"@types/node": "catalog:",
|
|
1240
|
+
"change-case": "catalog:",
|
|
1131
1241
|
"jest": "^30.0.5",
|
|
1242
|
+
"mutative": "^1.0.5",
|
|
1132
1243
|
"tsdown": "catalog:",
|
|
1133
1244
|
"tsx": "catalog:",
|
|
1134
|
-
"vitest": "catalog:"
|
|
1245
|
+
"vitest": "catalog:",
|
|
1246
|
+
"zod": "catalog:"
|
|
1135
1247
|
},
|
|
1136
1248
|
"dependencies": {
|
|
1137
1249
|
"@powerhousedao/shared": "workspace:*",
|
|
1138
|
-
"
|
|
1139
|
-
"mime": "^4.0.4"
|
|
1140
|
-
"mutative": "^1.0.5",
|
|
1141
|
-
"zod": "catalog:",
|
|
1142
|
-
"jszip": "^3.10.1"
|
|
1250
|
+
"jszip": "^3.10.1",
|
|
1251
|
+
"mime": "^4.0.4"
|
|
1143
1252
|
}
|
|
1144
1253
|
}
|
|
1145
1254
|
},
|
|
@@ -1147,7 +1256,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1147
1256
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/opentelemetry-instrumentation-reactor",
|
|
1148
1257
|
"manifest": {
|
|
1149
1258
|
"name": "@powerhousedao/opentelemetry-instrumentation-reactor",
|
|
1150
|
-
"version": "6.0
|
|
1259
|
+
"version": "6.1.0-dev.0",
|
|
1151
1260
|
"description": "OpenTelemetry instrumentation for @powerhousedao/reactor",
|
|
1152
1261
|
"type": "module",
|
|
1153
1262
|
"sideEffects": false,
|
|
@@ -1157,6 +1266,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1157
1266
|
"directory": "packages/opentelemetry-instrumentation-reactor"
|
|
1158
1267
|
},
|
|
1159
1268
|
"exports": { ".": {
|
|
1269
|
+
"source": "./src/index.ts",
|
|
1160
1270
|
"types": "./dist/index.d.ts",
|
|
1161
1271
|
"import": "./dist/index.js"
|
|
1162
1272
|
} },
|
|
@@ -1180,11 +1290,46 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1180
1290
|
"peerDependencies": { "@powerhousedao/reactor": "workspace:*" }
|
|
1181
1291
|
}
|
|
1182
1292
|
},
|
|
1293
|
+
{
|
|
1294
|
+
"dir": "/home/runner/work/powerhouse/powerhouse/packages/pglite-fs",
|
|
1295
|
+
"manifest": {
|
|
1296
|
+
"name": "@powerhousedao/pglite-fs",
|
|
1297
|
+
"version": "6.1.0-dev.0",
|
|
1298
|
+
"license": "AGPL-3.0-only",
|
|
1299
|
+
"type": "module",
|
|
1300
|
+
"repository": {
|
|
1301
|
+
"type": "git",
|
|
1302
|
+
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
1303
|
+
"directory": "packages/pglite-fs"
|
|
1304
|
+
},
|
|
1305
|
+
"publishConfig": { "access": "public" },
|
|
1306
|
+
"files": ["dist"],
|
|
1307
|
+
"exports": { ".": {
|
|
1308
|
+
"source": "./index.ts",
|
|
1309
|
+
"types": "./dist/index.d.ts",
|
|
1310
|
+
"import": "./dist/index.js"
|
|
1311
|
+
} },
|
|
1312
|
+
"sideEffects": false,
|
|
1313
|
+
"scripts": {
|
|
1314
|
+
"tsc": "tsc",
|
|
1315
|
+
"lint": "eslint",
|
|
1316
|
+
"build": "tsdown",
|
|
1317
|
+
"test": "vitest --run"
|
|
1318
|
+
},
|
|
1319
|
+
"peerDependencies": { "@electric-sql/pglite": "catalog:" },
|
|
1320
|
+
"devDependencies": {
|
|
1321
|
+
"@electric-sql/pglite": "catalog:",
|
|
1322
|
+
"tsdown": "catalog:",
|
|
1323
|
+
"tsx": "catalog:",
|
|
1324
|
+
"vitest": "catalog:"
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1183
1328
|
{
|
|
1184
1329
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/powerhouse-vetra-packages",
|
|
1185
1330
|
"manifest": {
|
|
1186
1331
|
"name": "@powerhousedao/powerhouse-vetra-packages",
|
|
1187
|
-
"version": "6.0
|
|
1332
|
+
"version": "6.1.0-dev.0",
|
|
1188
1333
|
"description": "",
|
|
1189
1334
|
"keywords": [],
|
|
1190
1335
|
"author": "",
|
|
@@ -1199,26 +1344,31 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1199
1344
|
"files": ["dist"],
|
|
1200
1345
|
"exports": {
|
|
1201
1346
|
".": {
|
|
1347
|
+
"source": "./index.ts",
|
|
1202
1348
|
"types": "./dist/index.d.ts",
|
|
1203
1349
|
"browser": "./dist/browser/index.js",
|
|
1204
1350
|
"node": "./dist/node/index.mjs"
|
|
1205
1351
|
},
|
|
1206
1352
|
"./document-models": {
|
|
1353
|
+
"source": "./document-models/index.ts",
|
|
1207
1354
|
"types": "./dist/document-models/index.d.ts",
|
|
1208
1355
|
"browser": "./dist/browser/document-models/index.js",
|
|
1209
1356
|
"node": "./dist/node/document-models/index.mjs"
|
|
1210
1357
|
},
|
|
1211
1358
|
"./document-models/*": {
|
|
1359
|
+
"source": "./document-models/*/index.ts",
|
|
1212
1360
|
"types": "./dist/document-models/*/index.d.ts",
|
|
1213
1361
|
"browser": "./dist/browser/document-models/*/index.js",
|
|
1214
1362
|
"node": "./dist/node/document-models/*/index.mjs"
|
|
1215
1363
|
},
|
|
1216
1364
|
"./editors": {
|
|
1365
|
+
"source": "./editors/index.ts",
|
|
1217
1366
|
"types": "./dist/editors/index.d.ts",
|
|
1218
1367
|
"browser": "./dist/browser/editors/index.js",
|
|
1219
1368
|
"node": "./dist/node/editors/index.mjs"
|
|
1220
1369
|
},
|
|
1221
1370
|
"./editors/*": {
|
|
1371
|
+
"source": "./editors/*/index.ts",
|
|
1222
1372
|
"types": "./dist/editors/*/index.d.ts",
|
|
1223
1373
|
"browser": "./dist/browser/editors/*/index.js",
|
|
1224
1374
|
"node": "./dist/node/editors/*/index.mjs"
|
|
@@ -1251,7 +1401,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1251
1401
|
"service-startup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh",
|
|
1252
1402
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
1253
1403
|
},
|
|
1254
|
-
"
|
|
1404
|
+
"peerDependencies": {
|
|
1405
|
+
"graphql": "^16",
|
|
1406
|
+
"react": "^19",
|
|
1407
|
+
"react-dom": "^19"
|
|
1408
|
+
},
|
|
1409
|
+
"devDependencies": {
|
|
1255
1410
|
"@codemirror/autocomplete": "6.18.6",
|
|
1256
1411
|
"@codemirror/commands": "6.8.1",
|
|
1257
1412
|
"@codemirror/lang-json": "6.0.1",
|
|
@@ -1265,11 +1420,15 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1265
1420
|
"@powerhousedao/design-system": "workspace:*",
|
|
1266
1421
|
"@powerhousedao/document-engineering": "catalog:",
|
|
1267
1422
|
"@powerhousedao/reactor-browser": "workspace:*",
|
|
1423
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
1268
1424
|
"@powerhousedao/shared": "workspace:*",
|
|
1269
1425
|
"@radix-ui/react-label": "^2.1.4",
|
|
1270
1426
|
"@radix-ui/react-slot": "^1.2.0",
|
|
1271
1427
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
1428
|
+
"@tailwindcss/cli": "catalog:",
|
|
1272
1429
|
"@tanstack/react-virtual": "^3.8.1",
|
|
1430
|
+
"@types/react": "catalog:",
|
|
1431
|
+
"@types/react-dom": "catalog:",
|
|
1273
1432
|
"change-case": "catalog:",
|
|
1274
1433
|
"class-variance-authority": "0.7.0",
|
|
1275
1434
|
"clsx": "^2.1.1",
|
|
@@ -1280,17 +1439,13 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1280
1439
|
"react-dom": "catalog:",
|
|
1281
1440
|
"react-hook-form": "^7.56.1",
|
|
1282
1441
|
"react-i18next": "catalog:",
|
|
1442
|
+
"rolldown": "catalog:",
|
|
1283
1443
|
"tailwind-merge": "catalog:",
|
|
1284
|
-
"thememirror": "^2.0.1",
|
|
1285
|
-
"zod": "catalog:"
|
|
1286
|
-
},
|
|
1287
|
-
"devDependencies": {
|
|
1288
|
-
"@tailwindcss/cli": "catalog:",
|
|
1289
|
-
"@types/react": "catalog:",
|
|
1290
|
-
"@types/react-dom": "catalog:",
|
|
1291
1444
|
"tailwindcss": "catalog:",
|
|
1445
|
+
"thememirror": "^2.0.1",
|
|
1292
1446
|
"tsdown": "catalog:",
|
|
1293
|
-
"tsx": "catalog:"
|
|
1447
|
+
"tsx": "catalog:",
|
|
1448
|
+
"zod": "catalog:"
|
|
1294
1449
|
}
|
|
1295
1450
|
}
|
|
1296
1451
|
},
|
|
@@ -1298,7 +1453,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1298
1453
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor",
|
|
1299
1454
|
"manifest": {
|
|
1300
1455
|
"name": "@powerhousedao/reactor",
|
|
1301
|
-
"version": "6.0
|
|
1456
|
+
"version": "6.1.0-dev.0",
|
|
1302
1457
|
"description": "",
|
|
1303
1458
|
"repository": {
|
|
1304
1459
|
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
@@ -1307,6 +1462,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1307
1462
|
"type": "module",
|
|
1308
1463
|
"sideEffects": false,
|
|
1309
1464
|
"exports": { ".": {
|
|
1465
|
+
"source": "./index.ts",
|
|
1310
1466
|
"types": "./dist/index.d.ts",
|
|
1311
1467
|
"import": "./dist/index.js"
|
|
1312
1468
|
} },
|
|
@@ -1340,6 +1496,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1340
1496
|
"document-model": "workspace:*"
|
|
1341
1497
|
},
|
|
1342
1498
|
"devDependencies": {
|
|
1499
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
1343
1500
|
"@vitest/coverage-v8": "catalog:",
|
|
1344
1501
|
"prettier": "catalog:",
|
|
1345
1502
|
"tinybench": "^2.9.0",
|
|
@@ -1354,7 +1511,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1354
1511
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-api",
|
|
1355
1512
|
"manifest": {
|
|
1356
1513
|
"name": "@powerhousedao/reactor-api",
|
|
1357
|
-
"version": "6.0
|
|
1514
|
+
"version": "6.1.0-dev.0",
|
|
1358
1515
|
"description": "",
|
|
1359
1516
|
"type": "module",
|
|
1360
1517
|
"repository": {
|
|
@@ -1363,14 +1520,17 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1363
1520
|
},
|
|
1364
1521
|
"exports": {
|
|
1365
1522
|
".": {
|
|
1523
|
+
"source": "./index.mts",
|
|
1366
1524
|
"types": "./dist/index.d.mts",
|
|
1367
1525
|
"import": "./dist/index.mjs"
|
|
1368
1526
|
},
|
|
1369
1527
|
"./vite": {
|
|
1528
|
+
"source": "./src/packages/vite-loader.mts",
|
|
1370
1529
|
"types": "./dist/vite-loader.d.mts",
|
|
1371
1530
|
"import": "./dist/src/packages/vite-loader.mjs"
|
|
1372
1531
|
},
|
|
1373
1532
|
"./https-hooks": {
|
|
1533
|
+
"source": "./src/packages/https-hooks.mts",
|
|
1374
1534
|
"types": "./dist/https-hooks.d.mts",
|
|
1375
1535
|
"import": "./dist/src/packages/https-hooks.mjs"
|
|
1376
1536
|
},
|
|
@@ -1388,7 +1548,8 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1388
1548
|
"codegen": "graphql-codegen --config codegen.ts && prettier --write src/graphql/reactor/gen/*.ts && eslint --fix src/graphql/reactor/gen/*.ts --no-warn-ignored",
|
|
1389
1549
|
"codegen:watch": "graphql-codegen --config codegen.ts --watch",
|
|
1390
1550
|
"dev": "tsx src/dev.ts",
|
|
1391
|
-
"capture-hub-dump": "tsx scripts/capture-hub-dump.ts"
|
|
1551
|
+
"capture-hub-dump": "tsx scripts/capture-hub-dump.ts",
|
|
1552
|
+
"convert-hub-dump": "tsx scripts/convert-hub-dump.ts"
|
|
1392
1553
|
},
|
|
1393
1554
|
"publishConfig": { "access": "public" },
|
|
1394
1555
|
"keywords": [],
|
|
@@ -1406,25 +1567,20 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1406
1567
|
"@powerhousedao/analytics-engine-pg": "workspace:*",
|
|
1407
1568
|
"@powerhousedao/config": "workspace:*",
|
|
1408
1569
|
"@powerhousedao/document-engineering": "catalog:",
|
|
1570
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
1409
1571
|
"@powerhousedao/reactor": "workspace:*",
|
|
1410
1572
|
"@powerhousedao/reactor-attachments": "workspace:*",
|
|
1573
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
1411
1574
|
"@powerhousedao/reactor-mcp": "workspace:*",
|
|
1412
1575
|
"@powerhousedao/shared": "workspace:*",
|
|
1413
1576
|
"@renown/sdk": "workspace:*",
|
|
1414
|
-
"@fastify/cors": "^11.0.1",
|
|
1415
|
-
"@mercuriusjs/gateway": "^5.2.0",
|
|
1416
|
-
"mercurius": "^16.8.0",
|
|
1417
|
-
"@fastify/formbody": "^8.0.1",
|
|
1418
|
-
"@fastify/middie": "^9.3.2",
|
|
1419
1577
|
"body-parser": "^1.20.3",
|
|
1420
|
-
"fastify": "^5.8.5",
|
|
1421
1578
|
"change-case": "catalog:",
|
|
1422
1579
|
"cors": "^2.8.5",
|
|
1423
1580
|
"devcert": "^1.2.2",
|
|
1424
1581
|
"document-model": "workspace:*",
|
|
1425
1582
|
"dotenv": "^16.4.5",
|
|
1426
1583
|
"express": "4.21.1",
|
|
1427
|
-
"graphql": "catalog:",
|
|
1428
1584
|
"graphql-sse": "catalog:",
|
|
1429
1585
|
"graphql-subscriptions": "^3.0.0",
|
|
1430
1586
|
"graphql-type-json": "^0.3.2",
|
|
@@ -1437,10 +1593,15 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1437
1593
|
"pg": "catalog:",
|
|
1438
1594
|
"read-pkg": "catalog:",
|
|
1439
1595
|
"ws": "^8.18.3",
|
|
1440
|
-
"zod": "catalog:"
|
|
1441
|
-
"graphql-tag": "catalog:"
|
|
1596
|
+
"zod": "catalog:"
|
|
1442
1597
|
},
|
|
1443
1598
|
"devDependencies": {
|
|
1599
|
+
"@fastify/cors": "^11.0.1",
|
|
1600
|
+
"@fastify/formbody": "^8.0.1",
|
|
1601
|
+
"@fastify/middie": "^9.3.2",
|
|
1602
|
+
"@mercuriusjs/gateway": "^5.2.0",
|
|
1603
|
+
"fastify": "^5.8.5",
|
|
1604
|
+
"mercurius": "^16.8.0",
|
|
1444
1605
|
"@graphql-codegen/cli": "catalog:",
|
|
1445
1606
|
"@graphql-codegen/typescript": "catalog:",
|
|
1446
1607
|
"@graphql-codegen/typescript-generic-sdk": "catalog:",
|
|
@@ -1452,19 +1613,39 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1452
1613
|
"@types/node": "catalog:",
|
|
1453
1614
|
"@types/pg": "catalog:",
|
|
1454
1615
|
"@types/ws": "^8.18.1",
|
|
1616
|
+
"graphql": "catalog:",
|
|
1617
|
+
"graphql-tag": "catalog:",
|
|
1455
1618
|
"tsdown": "catalog:",
|
|
1456
1619
|
"msw": "^2.7.3",
|
|
1457
1620
|
"vitest": "catalog:"
|
|
1458
1621
|
},
|
|
1459
|
-
"peerDependencies": {
|
|
1460
|
-
|
|
1622
|
+
"peerDependencies": {
|
|
1623
|
+
"@fastify/cors": "^11.0.1",
|
|
1624
|
+
"@fastify/formbody": "^8.0.1",
|
|
1625
|
+
"@fastify/middie": "^9.3.2",
|
|
1626
|
+
"@mercuriusjs/gateway": "^5.2.0",
|
|
1627
|
+
"fastify": "^5.8.5",
|
|
1628
|
+
"graphql": "^16",
|
|
1629
|
+
"graphql-tag": "^2",
|
|
1630
|
+
"mercurius": "^16.8.0",
|
|
1631
|
+
"vite": "^8.0.0"
|
|
1632
|
+
},
|
|
1633
|
+
"peerDependenciesMeta": {
|
|
1634
|
+
"@fastify/cors": { "optional": true },
|
|
1635
|
+
"@fastify/formbody": { "optional": true },
|
|
1636
|
+
"@fastify/middie": { "optional": true },
|
|
1637
|
+
"@mercuriusjs/gateway": { "optional": true },
|
|
1638
|
+
"fastify": { "optional": true },
|
|
1639
|
+
"mercurius": { "optional": true },
|
|
1640
|
+
"vite": { "optional": true }
|
|
1641
|
+
}
|
|
1461
1642
|
}
|
|
1462
1643
|
},
|
|
1463
1644
|
{
|
|
1464
1645
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-attachments",
|
|
1465
1646
|
"manifest": {
|
|
1466
1647
|
"name": "@powerhousedao/reactor-attachments",
|
|
1467
|
-
"version": "6.0
|
|
1648
|
+
"version": "6.1.0-dev.0",
|
|
1468
1649
|
"license": "AGPL-3.0-only",
|
|
1469
1650
|
"type": "module",
|
|
1470
1651
|
"repository": {
|
|
@@ -1474,6 +1655,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1474
1655
|
"publishConfig": { "access": "public" },
|
|
1475
1656
|
"files": ["dist"],
|
|
1476
1657
|
"exports": { ".": {
|
|
1658
|
+
"source": "./index.ts",
|
|
1477
1659
|
"types": "./dist/index.d.ts",
|
|
1478
1660
|
"import": "./dist/index.js"
|
|
1479
1661
|
} },
|
|
@@ -1500,7 +1682,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1500
1682
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-browser",
|
|
1501
1683
|
"manifest": {
|
|
1502
1684
|
"name": "@powerhousedao/reactor-browser",
|
|
1503
|
-
"version": "6.0
|
|
1685
|
+
"version": "6.1.0-dev.0",
|
|
1504
1686
|
"license": "AGPL-3.0-only",
|
|
1505
1687
|
"type": "module",
|
|
1506
1688
|
"repository": {
|
|
@@ -1511,22 +1693,27 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1511
1693
|
"files": ["dist"],
|
|
1512
1694
|
"exports": {
|
|
1513
1695
|
".": {
|
|
1696
|
+
"source": "./index.ts",
|
|
1514
1697
|
"types": "./dist/index.d.ts",
|
|
1515
1698
|
"import": "./dist/index.js"
|
|
1516
1699
|
},
|
|
1517
1700
|
"./analytics": {
|
|
1701
|
+
"source": "./src/analytics/index.ts",
|
|
1518
1702
|
"types": "./dist/src/analytics/index.d.ts",
|
|
1519
1703
|
"import": "./dist/src/analytics/index.js"
|
|
1520
1704
|
},
|
|
1521
1705
|
"./graphql": {
|
|
1706
|
+
"source": "./src/graphql/client.ts",
|
|
1522
1707
|
"types": "./dist/src/graphql/client.d.ts",
|
|
1523
1708
|
"import": "./dist/src/graphql/client.js"
|
|
1524
1709
|
},
|
|
1525
1710
|
"./relational": {
|
|
1711
|
+
"source": "./src/relational/index.ts",
|
|
1526
1712
|
"types": "./dist/src/relational/index.d.ts",
|
|
1527
1713
|
"import": "./dist/src/relational/index.js"
|
|
1528
1714
|
},
|
|
1529
1715
|
"./renown": {
|
|
1716
|
+
"source": "./src/renown/index.ts",
|
|
1530
1717
|
"types": "./dist/src/renown/index.d.ts",
|
|
1531
1718
|
"import": "./dist/src/renown/index.js"
|
|
1532
1719
|
}
|
|
@@ -1544,14 +1731,13 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1544
1731
|
"@powerhousedao/analytics-engine-browser": "workspace:*",
|
|
1545
1732
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
1546
1733
|
"@powerhousedao/reactor": "workspace:*",
|
|
1734
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
1547
1735
|
"@powerhousedao/shared": "workspace:*",
|
|
1548
1736
|
"@renown/sdk": "workspace:*",
|
|
1549
1737
|
"@tanstack/react-query": "^5.49.2",
|
|
1550
1738
|
"change-case": "catalog:",
|
|
1551
1739
|
"document-model": "workspace:*",
|
|
1552
|
-
"graphql": "catalog:",
|
|
1553
1740
|
"graphql-request": "catalog:",
|
|
1554
|
-
"graphql-tag": "catalog:",
|
|
1555
1741
|
"kysely": "catalog:",
|
|
1556
1742
|
"kysely-pglite-dialect": "catalog:",
|
|
1557
1743
|
"lodash.isequal": "^4.5.0",
|
|
@@ -1578,6 +1764,8 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1578
1764
|
"@vitest/browser": "catalog:",
|
|
1579
1765
|
"@vitest/browser-playwright": "catalog:",
|
|
1580
1766
|
"fast-deep-equal": "catalog:",
|
|
1767
|
+
"graphql": "catalog:",
|
|
1768
|
+
"graphql-tag": "catalog:",
|
|
1581
1769
|
"playwright": "catalog:",
|
|
1582
1770
|
"react": "catalog:",
|
|
1583
1771
|
"react-dom": "catalog:",
|
|
@@ -1587,16 +1775,60 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1587
1775
|
"vitest-browser-react": "^1.0.1"
|
|
1588
1776
|
},
|
|
1589
1777
|
"peerDependencies": {
|
|
1778
|
+
"graphql": "^16",
|
|
1779
|
+
"graphql-tag": "^2",
|
|
1590
1780
|
"react": ">=19.0.0",
|
|
1591
1781
|
"react-dom": ">=19.0.0"
|
|
1592
1782
|
}
|
|
1593
1783
|
}
|
|
1594
1784
|
},
|
|
1785
|
+
{
|
|
1786
|
+
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-drive",
|
|
1787
|
+
"manifest": {
|
|
1788
|
+
"name": "@powerhousedao/reactor-drive",
|
|
1789
|
+
"version": "6.1.0-dev.0",
|
|
1790
|
+
"license": "AGPL-3.0-only",
|
|
1791
|
+
"type": "module",
|
|
1792
|
+
"repository": {
|
|
1793
|
+
"type": "git",
|
|
1794
|
+
"url": "https://github.com/powerhouse-inc/powerhouse"
|
|
1795
|
+
},
|
|
1796
|
+
"publishConfig": { "access": "public" },
|
|
1797
|
+
"files": ["dist"],
|
|
1798
|
+
"exports": { ".": {
|
|
1799
|
+
"source": "./index.ts",
|
|
1800
|
+
"types": "./dist/index.d.ts",
|
|
1801
|
+
"import": "./dist/index.js"
|
|
1802
|
+
} },
|
|
1803
|
+
"sideEffects": false,
|
|
1804
|
+
"scripts": {
|
|
1805
|
+
"tsc": "tsc",
|
|
1806
|
+
"lint": "eslint",
|
|
1807
|
+
"build": "tsdown",
|
|
1808
|
+
"test": "vitest --run",
|
|
1809
|
+
"bench": "vitest bench --run"
|
|
1810
|
+
},
|
|
1811
|
+
"dependencies": {
|
|
1812
|
+
"@powerhousedao/reactor": "workspace:*",
|
|
1813
|
+
"@powerhousedao/shared": "workspace:*",
|
|
1814
|
+
"document-model": "workspace:*",
|
|
1815
|
+
"graphql": "catalog:",
|
|
1816
|
+
"graphql-tag": "catalog:",
|
|
1817
|
+
"kysely": "catalog:"
|
|
1818
|
+
},
|
|
1819
|
+
"devDependencies": {
|
|
1820
|
+
"@electric-sql/pglite": "catalog:",
|
|
1821
|
+
"kysely-pglite-dialect": "catalog:",
|
|
1822
|
+
"tsdown": "catalog:",
|
|
1823
|
+
"vitest": "catalog:"
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1595
1827
|
{
|
|
1596
1828
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-hypercore",
|
|
1597
1829
|
"manifest": {
|
|
1598
1830
|
"name": "@powerhousedao/reactor-hypercore",
|
|
1599
|
-
"version": "6.0
|
|
1831
|
+
"version": "6.1.0-dev.0",
|
|
1600
1832
|
"description": "Hypercore-backed IOperationStore for the Powerhouse Reactor",
|
|
1601
1833
|
"repository": {
|
|
1602
1834
|
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
@@ -1605,6 +1837,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1605
1837
|
"type": "module",
|
|
1606
1838
|
"sideEffects": false,
|
|
1607
1839
|
"exports": { ".": {
|
|
1840
|
+
"source": "./src/index.ts",
|
|
1608
1841
|
"types": "./dist/index.d.ts",
|
|
1609
1842
|
"import": "./dist/index.js"
|
|
1610
1843
|
} },
|
|
@@ -1638,7 +1871,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1638
1871
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-mcp",
|
|
1639
1872
|
"manifest": {
|
|
1640
1873
|
"name": "@powerhousedao/reactor-mcp",
|
|
1641
|
-
"version": "6.0
|
|
1874
|
+
"version": "6.1.0-dev.0",
|
|
1642
1875
|
"description": "MCP server for document model operations in the Powerhouse ecosystem. For document model creation tasks, consider using the document-model-creator agent which provides a more guided experience.",
|
|
1643
1876
|
"type": "module",
|
|
1644
1877
|
"repository": {
|
|
@@ -1646,6 +1879,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1646
1879
|
"url": "https://github.com/powerhouse-inc/powerhouse"
|
|
1647
1880
|
},
|
|
1648
1881
|
"exports": { ".": {
|
|
1882
|
+
"source": "./src/index.ts",
|
|
1649
1883
|
"types": "./dist/index.d.mts",
|
|
1650
1884
|
"import": "./dist/index.mjs"
|
|
1651
1885
|
} },
|
|
@@ -1668,10 +1902,10 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1668
1902
|
"license": "AGPL-3.0-only",
|
|
1669
1903
|
"dependencies": {
|
|
1670
1904
|
"@modelcontextprotocol/sdk": "catalog:",
|
|
1671
|
-
"@openfeature/core": "catalog:",
|
|
1672
1905
|
"@openfeature/env-var-provider": "catalog:",
|
|
1673
1906
|
"@openfeature/server-sdk": "catalog:",
|
|
1674
1907
|
"@powerhousedao/reactor": "workspace:*",
|
|
1908
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
1675
1909
|
"@powerhousedao/shared": "workspace:*",
|
|
1676
1910
|
"change-case": "catalog:",
|
|
1677
1911
|
"document-model": "workspace:*",
|
|
@@ -1679,6 +1913,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1679
1913
|
"zod": "catalog:"
|
|
1680
1914
|
},
|
|
1681
1915
|
"devDependencies": {
|
|
1916
|
+
"@openfeature/core": "catalog:",
|
|
1682
1917
|
"@types/node": "catalog:",
|
|
1683
1918
|
"tsdown": "catalog:",
|
|
1684
1919
|
"vitest": "catalog:"
|
|
@@ -1689,7 +1924,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1689
1924
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/registry",
|
|
1690
1925
|
"manifest": {
|
|
1691
1926
|
"name": "@powerhousedao/registry",
|
|
1692
|
-
"version": "6.0
|
|
1927
|
+
"version": "6.1.0-dev.0",
|
|
1693
1928
|
"description": "",
|
|
1694
1929
|
"type": "module",
|
|
1695
1930
|
"repository": {
|
|
@@ -1734,7 +1969,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1734
1969
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/renown",
|
|
1735
1970
|
"manifest": {
|
|
1736
1971
|
"name": "@renown/sdk",
|
|
1737
|
-
"version": "6.0
|
|
1972
|
+
"version": "6.1.0-dev.0",
|
|
1738
1973
|
"description": "",
|
|
1739
1974
|
"license": "AGPL-3.0-only",
|
|
1740
1975
|
"private": false,
|
|
@@ -1746,11 +1981,13 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1746
1981
|
"publishConfig": { "access": "public" },
|
|
1747
1982
|
"exports": {
|
|
1748
1983
|
".": {
|
|
1984
|
+
"source": "./src/index.ts",
|
|
1749
1985
|
"types": "./dist/index.d.ts",
|
|
1750
1986
|
"import": "./dist/index.js",
|
|
1751
1987
|
"default": "./dist/index.js"
|
|
1752
1988
|
},
|
|
1753
1989
|
"./node": {
|
|
1990
|
+
"source": "./src/node.ts",
|
|
1754
1991
|
"types": "./dist/node.d.ts",
|
|
1755
1992
|
"import": "./dist/node.js",
|
|
1756
1993
|
"default": "./dist/node.js"
|
|
@@ -1783,7 +2020,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1783
2020
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/shared",
|
|
1784
2021
|
"manifest": {
|
|
1785
2022
|
"name": "@powerhousedao/shared",
|
|
1786
|
-
"version": "6.0
|
|
2023
|
+
"version": "6.1.0-dev.0",
|
|
1787
2024
|
"type": "module",
|
|
1788
2025
|
"sideEffects": false,
|
|
1789
2026
|
"publishConfig": { "access": "public" },
|
|
@@ -1884,21 +2121,18 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1884
2121
|
}
|
|
1885
2122
|
},
|
|
1886
2123
|
"dependencies": {
|
|
1887
|
-
"@sentry/node-core": "^10.52.0",
|
|
1888
2124
|
"@sindresorhus/fnv1a": "catalog:",
|
|
1889
2125
|
"chalk": "catalog:",
|
|
1890
2126
|
"change-case": "catalog:",
|
|
1891
2127
|
"cmd-ts": "catalog:",
|
|
1892
2128
|
"enquirer": "catalog:",
|
|
1893
|
-
"
|
|
1894
|
-
"kysely": "catalog:",
|
|
2129
|
+
"fflate": "^0.8.2",
|
|
1895
2130
|
"luxon": "catalog:",
|
|
1896
2131
|
"mutative": "catalog:",
|
|
1897
2132
|
"npm-package-arg": "catalog:",
|
|
1898
2133
|
"package-directory": "^8.1.0",
|
|
1899
2134
|
"package-manager-detector": "catalog:",
|
|
1900
2135
|
"remeda": "catalog:",
|
|
1901
|
-
"rolldown": "catalog:",
|
|
1902
2136
|
"safe-stable-stringify": "^2.4.3",
|
|
1903
2137
|
"sha1-uint8array": "^0.10.7",
|
|
1904
2138
|
"write-package": "catalog:",
|
|
@@ -1906,13 +2140,24 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1906
2140
|
"zod": "catalog:"
|
|
1907
2141
|
},
|
|
1908
2142
|
"devDependencies": {
|
|
2143
|
+
"@sentry/node-core": "^10.52.0",
|
|
1909
2144
|
"@types/bun": "catalog:",
|
|
1910
2145
|
"@types/luxon": "catalog:",
|
|
1911
2146
|
"@types/npm-package-arg": "catalog:",
|
|
1912
2147
|
"@types/react": "catalog:",
|
|
2148
|
+
"kysely": "catalog:",
|
|
1913
2149
|
"react": "catalog:",
|
|
2150
|
+
"rolldown": "catalog:",
|
|
1914
2151
|
"tsdown": "catalog:",
|
|
1915
2152
|
"tsx": "catalog:"
|
|
2153
|
+
},
|
|
2154
|
+
"peerDependencies": {
|
|
2155
|
+
"@sentry/node-core": "^10.52.0",
|
|
2156
|
+
"rolldown": "catalog:"
|
|
2157
|
+
},
|
|
2158
|
+
"peerDependenciesMeta": {
|
|
2159
|
+
"@sentry/node-core": { "optional": true },
|
|
2160
|
+
"rolldown": { "optional": true }
|
|
1916
2161
|
}
|
|
1917
2162
|
}
|
|
1918
2163
|
},
|
|
@@ -1920,7 +2165,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1920
2165
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/vetra",
|
|
1921
2166
|
"manifest": {
|
|
1922
2167
|
"name": "@powerhousedao/vetra",
|
|
1923
|
-
"version": "6.0
|
|
2168
|
+
"version": "6.1.0-dev.0",
|
|
1924
2169
|
"license": "AGPL-3.0-only",
|
|
1925
2170
|
"type": "module",
|
|
1926
2171
|
"sideEffects": false,
|
|
@@ -1932,10 +2177,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1932
2177
|
"files": ["dist"],
|
|
1933
2178
|
"exports": {
|
|
1934
2179
|
".": {
|
|
2180
|
+
"source": "./index.ts",
|
|
1935
2181
|
"types": "./dist/index.d.ts",
|
|
1936
2182
|
"import": "./dist/index.js"
|
|
1937
2183
|
},
|
|
1938
2184
|
"./document-models": {
|
|
2185
|
+
"source": "./document-models/index.ts",
|
|
1939
2186
|
"types": "./dist/document-models/index.d.ts",
|
|
1940
2187
|
"import": "./dist/document-models/index.js"
|
|
1941
2188
|
},
|
|
@@ -1948,13 +2195,19 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1948
2195
|
"import": "./dist/editors/*/index.js"
|
|
1949
2196
|
},
|
|
1950
2197
|
"./editors": {
|
|
2198
|
+
"source": "./editors/index.ts",
|
|
1951
2199
|
"types": "./dist/editors/index.d.ts",
|
|
1952
2200
|
"import": "./dist/editors/index.js"
|
|
1953
2201
|
},
|
|
1954
2202
|
"./processors": {
|
|
2203
|
+
"source": "./processors/index.ts",
|
|
1955
2204
|
"types": "./dist/processors/index.d.ts",
|
|
1956
2205
|
"import": "./dist/processors/index.js"
|
|
1957
2206
|
},
|
|
2207
|
+
"./codegen": {
|
|
2208
|
+
"types": "./dist/codegen/index.d.ts",
|
|
2209
|
+
"import": "./dist/codegen/index.js"
|
|
2210
|
+
},
|
|
1958
2211
|
"./manifest": "./dist/powerhouse.manifest.json",
|
|
1959
2212
|
"./style.css": "./dist/style.css",
|
|
1960
2213
|
"./package.json": "./package.json"
|
|
@@ -1985,9 +2238,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
1985
2238
|
"@powerhousedao/shared": "workspace:*",
|
|
1986
2239
|
"change-case": "catalog:",
|
|
1987
2240
|
"document-model": "workspace:*",
|
|
1988
|
-
"kysely": "catalog:",
|
|
1989
2241
|
"react": "catalog:",
|
|
1990
|
-
"ts-morph": "catalog:",
|
|
1991
2242
|
"zod": "catalog:"
|
|
1992
2243
|
},
|
|
1993
2244
|
"devDependencies": {
|
|
@@ -2000,16 +2251,15 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2000
2251
|
"@types/react": "catalog:",
|
|
2001
2252
|
"@types/react-dom": "catalog:",
|
|
2002
2253
|
"@vitejs/plugin-react": "catalog:",
|
|
2254
|
+
"kysely": "catalog:",
|
|
2003
2255
|
"react-dom": "catalog:",
|
|
2004
2256
|
"tailwindcss": "catalog:",
|
|
2257
|
+
"ts-morph": "catalog:",
|
|
2005
2258
|
"tsdown": "catalog:",
|
|
2006
2259
|
"vite": "catalog:",
|
|
2260
|
+
"vite-tsconfig-paths": "catalog:",
|
|
2007
2261
|
"vitest": "catalog:"
|
|
2008
2262
|
},
|
|
2009
|
-
"optionalDependencies": {
|
|
2010
|
-
"@powerhousedao/connect": "workspace:*",
|
|
2011
|
-
"@powerhousedao/ph-cli": "workspace:*"
|
|
2012
|
-
},
|
|
2013
2263
|
"description": ""
|
|
2014
2264
|
}
|
|
2015
2265
|
},
|
|
@@ -2032,6 +2282,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2032
2282
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.57.2",
|
|
2033
2283
|
"@opentelemetry/sdk-metrics": "^1.29.0",
|
|
2034
2284
|
"@powerhousedao/opentelemetry-instrumentation-reactor": "workspace:*",
|
|
2285
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
2035
2286
|
"@powerhousedao/reactor": "workspace:*",
|
|
2036
2287
|
"@pyroscope/nodejs": "^0.4.7",
|
|
2037
2288
|
"document-model": "workspace:*",
|
|
@@ -2122,15 +2373,21 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2122
2373
|
"files": ["/dist"],
|
|
2123
2374
|
"exports": {
|
|
2124
2375
|
".": {
|
|
2376
|
+
"source": "./src/index.ts",
|
|
2125
2377
|
"types": "./dist/index.d.mts",
|
|
2126
2378
|
"import": "./dist/index.mjs"
|
|
2127
2379
|
},
|
|
2128
2380
|
"./helpers": {
|
|
2381
|
+
"source": "./src/helpers/index.ts",
|
|
2129
2382
|
"types": "./dist/helpers/index.d.mts",
|
|
2130
2383
|
"import": "./dist/helpers/index.mjs"
|
|
2131
2384
|
},
|
|
2132
|
-
"./helpers/*":
|
|
2385
|
+
"./helpers/*": {
|
|
2386
|
+
"source": "./src/helpers/*.ts",
|
|
2387
|
+
"import": "./dist/helpers/*.mjs"
|
|
2388
|
+
},
|
|
2133
2389
|
"./types": {
|
|
2390
|
+
"source": "./src/types/index.ts",
|
|
2134
2391
|
"types": "./dist/types/index.d.mts",
|
|
2135
2392
|
"import": "./dist/types/index.mjs"
|
|
2136
2393
|
}
|
|
@@ -2158,14 +2415,17 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2158
2415
|
"files": ["/dist"],
|
|
2159
2416
|
"exports": {
|
|
2160
2417
|
".": {
|
|
2418
|
+
"source": "./index.ts",
|
|
2161
2419
|
"types": "./dist/index.d.ts",
|
|
2162
2420
|
"import": "./dist/index.js"
|
|
2163
2421
|
},
|
|
2164
2422
|
"./document-models": {
|
|
2423
|
+
"source": "./document-models/index.ts",
|
|
2165
2424
|
"types": "./dist/document-models/index.d.ts",
|
|
2166
2425
|
"import": "./dist/document-models/index.js"
|
|
2167
2426
|
},
|
|
2168
2427
|
"./editors": {
|
|
2428
|
+
"source": "./editors/index.ts",
|
|
2169
2429
|
"types": "./dist/editors/index.d.ts",
|
|
2170
2430
|
"import": "./dist/editors/index.js"
|
|
2171
2431
|
},
|
|
@@ -2280,48 +2540,55 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2280
2540
|
"tsc:watch": "tsc --watch",
|
|
2281
2541
|
"vetra": "ph-cli vetra"
|
|
2282
2542
|
},
|
|
2283
|
-
"
|
|
2543
|
+
"devDependencies": {
|
|
2544
|
+
"@electric-sql/pglite": "catalog:",
|
|
2545
|
+
"@electric-sql/pglite-tools": "catalog:",
|
|
2546
|
+
"@eslint/js": "^9.38.0",
|
|
2284
2547
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
2285
2548
|
"@powerhousedao/connect": "workspace:*",
|
|
2286
2549
|
"@powerhousedao/design-system": "workspace:*",
|
|
2287
2550
|
"@powerhousedao/document-engineering": "catalog:",
|
|
2551
|
+
"@powerhousedao/ph-cli": "workspace:*",
|
|
2552
|
+
"@powerhousedao/reactor": "workspace:*",
|
|
2288
2553
|
"@powerhousedao/reactor-api": "workspace:*",
|
|
2289
2554
|
"@powerhousedao/reactor-browser": "workspace:*",
|
|
2290
2555
|
"@powerhousedao/shared": "workspace:*",
|
|
2291
|
-
"document-model": "workspace:*",
|
|
2292
|
-
"graphql": "catalog:",
|
|
2293
|
-
"graphql-tag": "catalog:",
|
|
2294
|
-
"react": "catalog:",
|
|
2295
|
-
"react-dom": "catalog:",
|
|
2296
|
-
"zod": "catalog:"
|
|
2297
|
-
},
|
|
2298
|
-
"devDependencies": {
|
|
2299
|
-
"@electric-sql/pglite": "catalog:",
|
|
2300
|
-
"@electric-sql/pglite-tools": "catalog:",
|
|
2301
|
-
"@eslint/js": "^9.38.0",
|
|
2302
|
-
"@powerhousedao/ph-cli": "workspace:*",
|
|
2303
|
-
"@powerhousedao/reactor": "workspace:*",
|
|
2304
2556
|
"@tailwindcss/cli": "catalog:",
|
|
2557
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
2305
2558
|
"@testing-library/jest-dom": "^6.9.1",
|
|
2306
2559
|
"@types/node": "catalog:",
|
|
2307
2560
|
"@types/react": "catalog:",
|
|
2308
2561
|
"@types/react-dom": "catalog:",
|
|
2309
2562
|
"@vitejs/plugin-react": "catalog:",
|
|
2563
|
+
"@vitest/coverage-v8": "4.1.1",
|
|
2564
|
+
"document-model": "workspace:*",
|
|
2310
2565
|
"eslint": "^9.38.0",
|
|
2311
2566
|
"eslint-config-prettier": "^10.1.8",
|
|
2312
2567
|
"eslint-plugin-prettier": "^5.5.4",
|
|
2313
2568
|
"eslint-plugin-react": "^7.37.5",
|
|
2314
2569
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
2315
2570
|
"globals": "^16.4.0",
|
|
2571
|
+
"graphql": "catalog:",
|
|
2572
|
+
"graphql-tag": "catalog:",
|
|
2573
|
+
"react": "catalog:",
|
|
2574
|
+
"react-dom": "catalog:",
|
|
2316
2575
|
"tailwindcss": "catalog:",
|
|
2317
2576
|
"tsdown": "catalog:",
|
|
2318
2577
|
"typescript": "^5.9.3",
|
|
2319
2578
|
"typescript-eslint": "^8.46.2",
|
|
2320
2579
|
"vite": "catalog:",
|
|
2321
2580
|
"vite-tsconfig-paths": "catalog:",
|
|
2322
|
-
"vitest": "catalog:"
|
|
2581
|
+
"vitest": "catalog:",
|
|
2582
|
+
"zod": "catalog:"
|
|
2323
2583
|
},
|
|
2324
|
-
"description": ""
|
|
2584
|
+
"description": "",
|
|
2585
|
+
"peerDependencies": {
|
|
2586
|
+
"@powerhousedao/reactor-browser": "workspace:*",
|
|
2587
|
+
"document-model": "workspace:*",
|
|
2588
|
+
"react": "catalog:",
|
|
2589
|
+
"react-dom": "catalog:",
|
|
2590
|
+
"zod": "catalog:"
|
|
2591
|
+
}
|
|
2325
2592
|
}
|
|
2326
2593
|
},
|
|
2327
2594
|
{
|
|
@@ -2334,10 +2601,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2334
2601
|
"files": ["/dist"],
|
|
2335
2602
|
"exports": {
|
|
2336
2603
|
".": {
|
|
2604
|
+
"source": "./index.ts",
|
|
2337
2605
|
"types": "./dist/index.d.ts",
|
|
2338
2606
|
"import": "./dist/index.js"
|
|
2339
2607
|
},
|
|
2340
2608
|
"./document-models": {
|
|
2609
|
+
"source": "./document-models/index.ts",
|
|
2341
2610
|
"types": "./dist/document-models/index.d.ts",
|
|
2342
2611
|
"import": "./dist/document-models/index.js"
|
|
2343
2612
|
},
|
|
@@ -2346,6 +2615,7 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2346
2615
|
"import": "./dist/document-models/*/index.js"
|
|
2347
2616
|
},
|
|
2348
2617
|
"./editors": {
|
|
2618
|
+
"source": "./editors/index.ts",
|
|
2349
2619
|
"types": "./dist/editors/index.d.ts",
|
|
2350
2620
|
"import": "./dist/editors/index.js"
|
|
2351
2621
|
},
|
|
@@ -2354,10 +2624,12 @@ async function getFullyQualifiedWorkspacePackageVersion(versionOrTag) {
|
|
|
2354
2624
|
"import": "./dist/editors/*/index.js"
|
|
2355
2625
|
},
|
|
2356
2626
|
"./processors": {
|
|
2627
|
+
"source": "./processors/index.ts",
|
|
2357
2628
|
"types": "./dist/processors/index.d.ts",
|
|
2358
2629
|
"import": "./dist/processors/index.js"
|
|
2359
2630
|
},
|
|
2360
2631
|
"./subgraphs": {
|
|
2632
|
+
"source": "./subgraphs/index.ts",
|
|
2361
2633
|
"types": "./dist/subgraphs/index.d.ts",
|
|
2362
2634
|
"import": "./dist/subgraphs/index.js"
|
|
2363
2635
|
},
|
|
@@ -2433,6 +2705,20 @@ function fixLegacyImportPaths(project, packageName) {
|
|
|
2433
2705
|
}
|
|
2434
2706
|
}
|
|
2435
2707
|
}
|
|
2708
|
+
function isProtectedVersionSpec(value) {
|
|
2709
|
+
return typeof value === "string" && (value.startsWith("workspace:") || value.startsWith("catalog:"));
|
|
2710
|
+
}
|
|
2711
|
+
function preserveProtected(newValues, existingSources) {
|
|
2712
|
+
const result = { ...newValues };
|
|
2713
|
+
for (const key of Object.keys(newValues)) for (const source of existingSources) {
|
|
2714
|
+
const existing = source?.[key];
|
|
2715
|
+
if (isProtectedVersionSpec(existing)) {
|
|
2716
|
+
result[key] = existing;
|
|
2717
|
+
break;
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
return result;
|
|
2721
|
+
}
|
|
2436
2722
|
async function migrate(version, projectDir = process.cwd()) {
|
|
2437
2723
|
const fullyQualifiedVersion = await getFullyQualifiedWorkspacePackageVersion(version);
|
|
2438
2724
|
const packageJson = await readPackage({
|
|
@@ -2446,7 +2732,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2446
2732
|
"dir": "/home/runner/work/powerhouse/powerhouse/apps/academy",
|
|
2447
2733
|
"manifest": {
|
|
2448
2734
|
"name": "@powerhousedao/academy",
|
|
2449
|
-
"version": "6.0
|
|
2735
|
+
"version": "6.1.0-dev.0",
|
|
2450
2736
|
"homepage": "https://powerhouse.academy",
|
|
2451
2737
|
"packageManager": "pnpm@10.9.0",
|
|
2452
2738
|
"repository": {
|
|
@@ -2467,6 +2753,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2467
2753
|
"typecheck": "tsc",
|
|
2468
2754
|
"generate:cli-docs": "tsx ./scripts/generate-combined-cli-docs.ts",
|
|
2469
2755
|
"generate:llm-docs": "tsx ./scripts/generate-llm-docs.ts",
|
|
2756
|
+
"check:doc-snippets": "tsx ./scripts/check-doc-snippets.ts",
|
|
2470
2757
|
"heroku-postbuild": "npm run build",
|
|
2471
2758
|
"slides:preview": "marp -s ./slides",
|
|
2472
2759
|
"slides:build": "marp ./slides"
|
|
@@ -2512,7 +2799,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2512
2799
|
"manifest": {
|
|
2513
2800
|
"name": "@powerhousedao/connect",
|
|
2514
2801
|
"productName": "Powerhouse-Connect",
|
|
2515
|
-
"version": "6.0
|
|
2802
|
+
"version": "6.1.0-dev.0",
|
|
2516
2803
|
"description": "Powerhouse Connect",
|
|
2517
2804
|
"main": "dist/index.html",
|
|
2518
2805
|
"type": "module",
|
|
@@ -2529,10 +2816,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2529
2816
|
],
|
|
2530
2817
|
"exports": {
|
|
2531
2818
|
".": {
|
|
2819
|
+
"source": "./start-connect.tsx",
|
|
2532
2820
|
"types": "./dist/start-connect.d.ts",
|
|
2533
2821
|
"import": "./dist/start-connect.js"
|
|
2534
2822
|
},
|
|
2535
2823
|
"./main.js": {
|
|
2824
|
+
"source": "./main.tsx",
|
|
2536
2825
|
"types": "./dist/main.d.ts",
|
|
2537
2826
|
"import": "./dist/main.js"
|
|
2538
2827
|
},
|
|
@@ -2584,8 +2873,6 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2584
2873
|
"@renown/sdk": "workspace:*",
|
|
2585
2874
|
"@sentry/react": "^10.17.0",
|
|
2586
2875
|
"document-model": "workspace:*",
|
|
2587
|
-
"graphql": "catalog:",
|
|
2588
|
-
"graphql-request": "catalog:",
|
|
2589
2876
|
"i18next": "^25.5.3",
|
|
2590
2877
|
"kysely": "catalog:",
|
|
2591
2878
|
"kysely-pglite-dialect": "catalog:",
|
|
@@ -2624,18 +2911,21 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2624
2911
|
"manifest": {
|
|
2625
2912
|
"name": "@powerhousedao/switchboard",
|
|
2626
2913
|
"type": "module",
|
|
2627
|
-
"version": "6.0
|
|
2914
|
+
"version": "6.1.0-dev.0",
|
|
2628
2915
|
"main": "dist/index.mjs",
|
|
2629
2916
|
"exports": {
|
|
2630
2917
|
".": {
|
|
2918
|
+
"source": "./src/index.mts",
|
|
2631
2919
|
"types": "./dist/index.d.mts",
|
|
2632
2920
|
"import": "./dist/index.mjs"
|
|
2633
2921
|
},
|
|
2634
2922
|
"./server": {
|
|
2923
|
+
"source": "./src/server.mts",
|
|
2635
2924
|
"types": "./dist/server.d.mts",
|
|
2636
2925
|
"import": "./dist/server.mjs"
|
|
2637
2926
|
},
|
|
2638
2927
|
"./utils": {
|
|
2928
|
+
"source": "./src/utils.mts",
|
|
2639
2929
|
"types": "./dist/utils.d.mts",
|
|
2640
2930
|
"import": "./dist/utils.mjs"
|
|
2641
2931
|
}
|
|
@@ -2689,6 +2979,8 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2689
2979
|
"@powerhousedao/vetra": "workspace:*",
|
|
2690
2980
|
"@powerhousedao/reactor-api": "workspace:*",
|
|
2691
2981
|
"@powerhousedao/reactor-attachments": "workspace:*",
|
|
2982
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
2983
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
2692
2984
|
"@pyroscope/nodejs": "^0.4.5",
|
|
2693
2985
|
"@renown/sdk": "workspace:*",
|
|
2694
2986
|
"@sentry/node": "^9.6.1",
|
|
@@ -2718,7 +3010,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2718
3010
|
"dir": "/home/runner/work/powerhouse/powerhouse/clis/ph-cli",
|
|
2719
3011
|
"manifest": {
|
|
2720
3012
|
"name": "@powerhousedao/ph-cli",
|
|
2721
|
-
"version": "6.0
|
|
3013
|
+
"version": "6.1.0-dev.0",
|
|
2722
3014
|
"description": "",
|
|
2723
3015
|
"license": "AGPL-3.0-only",
|
|
2724
3016
|
"type": "module",
|
|
@@ -2743,7 +3035,6 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2743
3035
|
"keywords": [],
|
|
2744
3036
|
"author": "",
|
|
2745
3037
|
"dependencies": {
|
|
2746
|
-
"@tsdown/css": "catalog:",
|
|
2747
3038
|
"@powerhousedao/builder-tools": "workspace:*",
|
|
2748
3039
|
"@powerhousedao/codegen": "workspace:*",
|
|
2749
3040
|
"@powerhousedao/common": "workspace:*",
|
|
@@ -2751,7 +3042,10 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2751
3042
|
"@powerhousedao/reactor": "workspace:*",
|
|
2752
3043
|
"@powerhousedao/shared": "workspace:*",
|
|
2753
3044
|
"@powerhousedao/switchboard": "workspace:*",
|
|
3045
|
+
"@powerhousedao/vetra": "workspace:*",
|
|
2754
3046
|
"@renown/sdk": "workspace:*",
|
|
3047
|
+
"@sentry/node-core": "^10.52.0",
|
|
3048
|
+
"@tsdown/css": "catalog:",
|
|
2755
3049
|
"chalk": "catalog:",
|
|
2756
3050
|
"change-case": "catalog:",
|
|
2757
3051
|
"cmd-ts": "catalog:",
|
|
@@ -2762,18 +3056,19 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2762
3056
|
"package-manager-detector": "catalog:",
|
|
2763
3057
|
"pg": "catalog:",
|
|
2764
3058
|
"read-pkg": "catalog:",
|
|
3059
|
+
"rolldown": "catalog:",
|
|
2765
3060
|
"semver": "catalog:",
|
|
2766
|
-
"ts-morph": "catalog:",
|
|
2767
3061
|
"tsdown": "catalog:",
|
|
2768
|
-
"vite": "catalog:"
|
|
2769
|
-
"write-package": "catalog:",
|
|
2770
|
-
"zod": "catalog:"
|
|
3062
|
+
"vite": "catalog:"
|
|
2771
3063
|
},
|
|
2772
3064
|
"devDependencies": {
|
|
2773
3065
|
"@types/node": "catalog:",
|
|
2774
3066
|
"@types/npm-registry-fetch": "^8.0.9",
|
|
2775
3067
|
"@types/pg": "catalog:",
|
|
2776
|
-
"copyfiles": "catalog:"
|
|
3068
|
+
"copyfiles": "catalog:",
|
|
3069
|
+
"ts-morph": "catalog:",
|
|
3070
|
+
"write-package": "catalog:",
|
|
3071
|
+
"zod": "catalog:"
|
|
2777
3072
|
}
|
|
2778
3073
|
}
|
|
2779
3074
|
},
|
|
@@ -2781,7 +3076,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2781
3076
|
"dir": "/home/runner/work/powerhouse/powerhouse/clis/ph-cmd",
|
|
2782
3077
|
"manifest": {
|
|
2783
3078
|
"name": "ph-cmd",
|
|
2784
|
-
"version": "6.0
|
|
3079
|
+
"version": "6.1.0-dev.0",
|
|
2785
3080
|
"description": "",
|
|
2786
3081
|
"license": "AGPL-3.0-only",
|
|
2787
3082
|
"type": "module",
|
|
@@ -2808,6 +3103,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2808
3103
|
"author": "",
|
|
2809
3104
|
"dependencies": {
|
|
2810
3105
|
"@powerhousedao/shared": "workspace:*",
|
|
3106
|
+
"@sentry/node-core": "^10.52.0",
|
|
2811
3107
|
"chalk": "catalog:",
|
|
2812
3108
|
"cmd-ts": "catalog:",
|
|
2813
3109
|
"package-manager-detector": "catalog:",
|
|
@@ -2826,7 +3122,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2826
3122
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/browser",
|
|
2827
3123
|
"manifest": {
|
|
2828
3124
|
"name": "@powerhousedao/analytics-engine-browser",
|
|
2829
|
-
"version": "6.0
|
|
3125
|
+
"version": "6.1.0-dev.0",
|
|
2830
3126
|
"license": "AGPL-3.0-only",
|
|
2831
3127
|
"repository": {
|
|
2832
3128
|
"type": "git",
|
|
@@ -2837,10 +3133,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2837
3133
|
"sideEffects": false,
|
|
2838
3134
|
"exports": {
|
|
2839
3135
|
".": {
|
|
3136
|
+
"source": "./index.ts",
|
|
2840
3137
|
"types": "./dist/index.d.ts",
|
|
2841
3138
|
"import": "./dist/index.js"
|
|
2842
3139
|
},
|
|
2843
3140
|
"./test-utils": {
|
|
3141
|
+
"source": "./test-utils.ts",
|
|
2844
3142
|
"types": "./dist/test-utils.d.ts",
|
|
2845
3143
|
"import": "./dist/test-utils.js"
|
|
2846
3144
|
}
|
|
@@ -2870,7 +3168,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2870
3168
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/core",
|
|
2871
3169
|
"manifest": {
|
|
2872
3170
|
"name": "@powerhousedao/analytics-engine-core",
|
|
2873
|
-
"version": "6.0
|
|
3171
|
+
"version": "6.1.0-dev.0",
|
|
2874
3172
|
"license": "AGPL-3.0-only",
|
|
2875
3173
|
"repository": {
|
|
2876
3174
|
"type": "git",
|
|
@@ -2880,6 +3178,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2880
3178
|
"type": "module",
|
|
2881
3179
|
"sideEffects": false,
|
|
2882
3180
|
"exports": { ".": {
|
|
3181
|
+
"source": "./index.ts",
|
|
2883
3182
|
"types": "./dist/index.d.ts",
|
|
2884
3183
|
"import": "./dist/index.js"
|
|
2885
3184
|
} },
|
|
@@ -2903,7 +3202,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2903
3202
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/graphql",
|
|
2904
3203
|
"manifest": {
|
|
2905
3204
|
"name": "@powerhousedao/analytics-engine-graphql",
|
|
2906
|
-
"version": "6.0
|
|
3205
|
+
"version": "6.1.0-dev.0",
|
|
2907
3206
|
"license": "AGPL-3.0-only",
|
|
2908
3207
|
"repository": {
|
|
2909
3208
|
"type": "git",
|
|
@@ -2913,6 +3212,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2913
3212
|
"type": "module",
|
|
2914
3213
|
"sideEffects": false,
|
|
2915
3214
|
"exports": { ".": {
|
|
3215
|
+
"source": "./index.ts",
|
|
2916
3216
|
"types": "./dist/index.d.ts",
|
|
2917
3217
|
"import": "./dist/index.js"
|
|
2918
3218
|
} },
|
|
@@ -2936,7 +3236,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2936
3236
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/knex",
|
|
2937
3237
|
"manifest": {
|
|
2938
3238
|
"name": "@powerhousedao/analytics-engine-knex",
|
|
2939
|
-
"version": "6.0
|
|
3239
|
+
"version": "6.1.0-dev.0",
|
|
2940
3240
|
"license": "AGPL-3.0-only",
|
|
2941
3241
|
"repository": {
|
|
2942
3242
|
"type": "git",
|
|
@@ -2946,6 +3246,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2946
3246
|
"type": "module",
|
|
2947
3247
|
"sideEffects": false,
|
|
2948
3248
|
"exports": { ".": {
|
|
3249
|
+
"source": "./index.ts",
|
|
2949
3250
|
"types": "./dist/index.d.ts",
|
|
2950
3251
|
"import": "./dist/index.js"
|
|
2951
3252
|
} },
|
|
@@ -2955,14 +3256,14 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2955
3256
|
"test": "vitest --run ./**/*.test.ts"
|
|
2956
3257
|
},
|
|
2957
3258
|
"dependencies": {
|
|
2958
|
-
"knex": "catalog:",
|
|
2959
3259
|
"luxon": "catalog:",
|
|
2960
|
-
"pg": "catalog:",
|
|
2961
3260
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
2962
3261
|
"change-case": "catalog:"
|
|
2963
3262
|
},
|
|
2964
3263
|
"devDependencies": {
|
|
2965
3264
|
"@types/pg": "catalog:",
|
|
3265
|
+
"knex": "catalog:",
|
|
3266
|
+
"pg": "catalog:",
|
|
2966
3267
|
"vitest": "catalog:",
|
|
2967
3268
|
"@types/luxon": "catalog:",
|
|
2968
3269
|
"tsdown": "catalog:"
|
|
@@ -2973,7 +3274,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2973
3274
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/analytics-engine/pg",
|
|
2974
3275
|
"manifest": {
|
|
2975
3276
|
"name": "@powerhousedao/analytics-engine-pg",
|
|
2976
|
-
"version": "6.0
|
|
3277
|
+
"version": "6.1.0-dev.0",
|
|
2977
3278
|
"license": "AGPL-3.0-only",
|
|
2978
3279
|
"repository": {
|
|
2979
3280
|
"type": "git",
|
|
@@ -2983,6 +3284,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2983
3284
|
"type": "module",
|
|
2984
3285
|
"sideEffects": false,
|
|
2985
3286
|
"exports": { ".": {
|
|
3287
|
+
"source": "./index.ts",
|
|
2986
3288
|
"types": "./dist/index.d.ts",
|
|
2987
3289
|
"import": "./dist/index.js"
|
|
2988
3290
|
} },
|
|
@@ -2993,12 +3295,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
2993
3295
|
},
|
|
2994
3296
|
"dependencies": {
|
|
2995
3297
|
"knex": "catalog:",
|
|
2996
|
-
"luxon": "catalog:",
|
|
2997
3298
|
"pg": "catalog:",
|
|
2998
3299
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
2999
3300
|
"@powerhousedao/analytics-engine-knex": "workspace:*"
|
|
3000
3301
|
},
|
|
3001
3302
|
"devDependencies": {
|
|
3303
|
+
"luxon": "catalog:",
|
|
3002
3304
|
"tsdown": "catalog:",
|
|
3003
3305
|
"@types/luxon": "catalog:",
|
|
3004
3306
|
"@types/node": "catalog:",
|
|
@@ -3011,7 +3313,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3011
3313
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/builder-tools",
|
|
3012
3314
|
"manifest": {
|
|
3013
3315
|
"name": "@powerhousedao/builder-tools",
|
|
3014
|
-
"version": "6.0
|
|
3316
|
+
"version": "6.1.0-dev.0",
|
|
3015
3317
|
"type": "module",
|
|
3016
3318
|
"license": "AGPL-3.0-only",
|
|
3017
3319
|
"publishConfig": { "access": "public" },
|
|
@@ -3021,6 +3323,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3021
3323
|
},
|
|
3022
3324
|
"files": ["dist"],
|
|
3023
3325
|
"exports": { ".": {
|
|
3326
|
+
"source": "./index.mts",
|
|
3024
3327
|
"types": "./dist/index.d.mts",
|
|
3025
3328
|
"import": "./dist/index.mjs"
|
|
3026
3329
|
} },
|
|
@@ -3037,13 +3340,13 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3037
3340
|
"@vitejs/plugin-react": "catalog:",
|
|
3038
3341
|
"document-model": "workspace:*",
|
|
3039
3342
|
"vite": "catalog:",
|
|
3040
|
-
"vite-plugin-html": "catalog:"
|
|
3041
|
-
"zod": "catalog:"
|
|
3343
|
+
"vite-plugin-html": "catalog:"
|
|
3042
3344
|
},
|
|
3043
3345
|
"devDependencies": {
|
|
3044
3346
|
"@sentry/vite-plugin": "^4.3.0",
|
|
3045
3347
|
"tsdown": "catalog:",
|
|
3046
|
-
"tsx": "catalog:"
|
|
3348
|
+
"tsx": "catalog:",
|
|
3349
|
+
"zod": "catalog:"
|
|
3047
3350
|
},
|
|
3048
3351
|
"peerDependencies": { "@sentry/vite-plugin": "^4.3.0" },
|
|
3049
3352
|
"peerDependenciesMeta": { "@sentry/vite-plugin": { "optional": true } }
|
|
@@ -3053,7 +3356,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3053
3356
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/codegen",
|
|
3054
3357
|
"manifest": {
|
|
3055
3358
|
"name": "@powerhousedao/codegen",
|
|
3056
|
-
"version": "6.0
|
|
3359
|
+
"version": "6.1.0-dev.0",
|
|
3057
3360
|
"license": "AGPL-3.0-only",
|
|
3058
3361
|
"private": false,
|
|
3059
3362
|
"type": "module",
|
|
@@ -3092,6 +3395,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3092
3395
|
"build": "tsdown"
|
|
3093
3396
|
},
|
|
3094
3397
|
"dependencies": {
|
|
3398
|
+
"@graphql-codegen/add": "catalog:",
|
|
3095
3399
|
"@graphql-codegen/cli": "catalog:",
|
|
3096
3400
|
"@graphql-codegen/typescript": "catalog:",
|
|
3097
3401
|
"@powerhousedao/document-engineering": "catalog:",
|
|
@@ -3101,7 +3405,6 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3101
3405
|
"chalk": "catalog:",
|
|
3102
3406
|
"change-case": "catalog:",
|
|
3103
3407
|
"document-model": "workspace:*",
|
|
3104
|
-
"graphql": "catalog:",
|
|
3105
3408
|
"graphql-codegen-typescript-validation-schema": "catalog:",
|
|
3106
3409
|
"load-json-file": "^7.0.1",
|
|
3107
3410
|
"npm-registry-fetch": "^19.1.1",
|
|
@@ -3118,15 +3421,17 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3118
3421
|
"@pnpm/find-workspace-packages": "^6.0.9",
|
|
3119
3422
|
"@tmpl/core": "npm:@jsr/tmpl__core@^0.6.3",
|
|
3120
3423
|
"@types/npm-registry-fetch": "^8.0.9",
|
|
3424
|
+
"graphql": "catalog:",
|
|
3121
3425
|
"tsdown": "catalog:"
|
|
3122
|
-
}
|
|
3426
|
+
},
|
|
3427
|
+
"peerDependencies": { "graphql": "^16" }
|
|
3123
3428
|
}
|
|
3124
3429
|
},
|
|
3125
3430
|
{
|
|
3126
3431
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/common",
|
|
3127
3432
|
"manifest": {
|
|
3128
3433
|
"name": "@powerhousedao/common",
|
|
3129
|
-
"version": "6.0
|
|
3434
|
+
"version": "6.1.0-dev.0",
|
|
3130
3435
|
"license": "AGPL-3.0-only",
|
|
3131
3436
|
"type": "module",
|
|
3132
3437
|
"files": ["/dist"],
|
|
@@ -3136,14 +3441,17 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3136
3441
|
},
|
|
3137
3442
|
"exports": {
|
|
3138
3443
|
".": {
|
|
3444
|
+
"source": "./index.ts",
|
|
3139
3445
|
"types": "./dist/index.d.ts",
|
|
3140
3446
|
"import": "./dist/index.js"
|
|
3141
3447
|
},
|
|
3142
3448
|
"./utils": {
|
|
3449
|
+
"source": "./utils/index.ts",
|
|
3143
3450
|
"types": "./dist/utils/index.d.ts",
|
|
3144
3451
|
"import": "./dist/utils/index.js"
|
|
3145
3452
|
},
|
|
3146
3453
|
"./analytics": {
|
|
3454
|
+
"source": "./drive-analytics.ts",
|
|
3147
3455
|
"types": "./dist/drive-analytics.d.ts",
|
|
3148
3456
|
"import": "./dist/drive-analytics.js"
|
|
3149
3457
|
}
|
|
@@ -3178,7 +3486,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3178
3486
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/config",
|
|
3179
3487
|
"manifest": {
|
|
3180
3488
|
"name": "@powerhousedao/config",
|
|
3181
|
-
"version": "6.0
|
|
3489
|
+
"version": "6.1.0-dev.0",
|
|
3182
3490
|
"description": "",
|
|
3183
3491
|
"license": "AGPL-3.0-only",
|
|
3184
3492
|
"private": false,
|
|
@@ -3190,10 +3498,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3190
3498
|
},
|
|
3191
3499
|
"exports": {
|
|
3192
3500
|
".": {
|
|
3501
|
+
"source": "./src/index.ts",
|
|
3193
3502
|
"types": "./dist/index.d.ts",
|
|
3194
3503
|
"import": "./dist/index.js"
|
|
3195
3504
|
},
|
|
3196
3505
|
"./node": {
|
|
3506
|
+
"source": "./src/node.ts",
|
|
3197
3507
|
"types": "./dist/node.d.ts",
|
|
3198
3508
|
"import": "./dist/node.js"
|
|
3199
3509
|
}
|
|
@@ -3213,7 +3523,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3213
3523
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/design-system",
|
|
3214
3524
|
"manifest": {
|
|
3215
3525
|
"name": "@powerhousedao/design-system",
|
|
3216
|
-
"version": "6.0
|
|
3526
|
+
"version": "6.1.0-dev.0",
|
|
3217
3527
|
"description": "",
|
|
3218
3528
|
"files": ["dist", "theme.css"],
|
|
3219
3529
|
"type": "module",
|
|
@@ -3233,6 +3543,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3233
3543
|
},
|
|
3234
3544
|
"exports": {
|
|
3235
3545
|
".": {
|
|
3546
|
+
"source": "./src/index.ts",
|
|
3236
3547
|
"types": "./dist/index.d.ts",
|
|
3237
3548
|
"import": "./dist/index.js"
|
|
3238
3549
|
},
|
|
@@ -3241,19 +3552,23 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3241
3552
|
"import": "./dist/*.js"
|
|
3242
3553
|
},
|
|
3243
3554
|
"./ui": {
|
|
3555
|
+
"source": "./src/ui/index.ts",
|
|
3244
3556
|
"types": "./dist/ui/index.d.ts",
|
|
3245
3557
|
"import": "./dist/ui/index.js"
|
|
3246
3558
|
},
|
|
3247
3559
|
"./ui/lib": {
|
|
3560
|
+
"source": "./src/ui/lib/index.ts",
|
|
3248
3561
|
"types": "./dist/ui/lib/index.d.ts",
|
|
3249
3562
|
"import": "./dist/ui/lib/index.js"
|
|
3250
3563
|
},
|
|
3251
3564
|
"./ui/*": "./dist/ui/*",
|
|
3252
3565
|
"./connect": {
|
|
3566
|
+
"source": "./src/connect/index.ts",
|
|
3253
3567
|
"types": "./dist/connect/index.d.ts",
|
|
3254
3568
|
"import": "./dist/connect/index.js"
|
|
3255
3569
|
},
|
|
3256
3570
|
"./connect/toast": {
|
|
3571
|
+
"source": "./src/connect/components/toast/toast.tsx",
|
|
3257
3572
|
"types": "./dist/connect/components/toast/toast.d.ts",
|
|
3258
3573
|
"import": "./dist/connect/components/toast/toast.js"
|
|
3259
3574
|
},
|
|
@@ -3297,6 +3612,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3297
3612
|
"@storybook/types": "^8.6.18",
|
|
3298
3613
|
"@tailwindcss/cli": "catalog:",
|
|
3299
3614
|
"@tailwindcss/vite": "catalog:",
|
|
3615
|
+
"@tanstack/react-query": "^5.49.2",
|
|
3300
3616
|
"@testing-library/dom": "^10.4.0",
|
|
3301
3617
|
"@testing-library/jest-dom": "^6.6.3",
|
|
3302
3618
|
"@testing-library/react": "^16.0.1",
|
|
@@ -3335,7 +3651,6 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3335
3651
|
"@radix-ui/react-tabs": "^1.1.1",
|
|
3336
3652
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
3337
3653
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
|
3338
|
-
"@tanstack/react-query": "^5.49.2",
|
|
3339
3654
|
"@tanstack/react-virtual": "^3.8.1",
|
|
3340
3655
|
"@uiw/react-json-view": "2.0.0-alpha.42",
|
|
3341
3656
|
"change-case": "catalog:",
|
|
@@ -3350,6 +3665,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3350
3665
|
"react-toastify": "^10.0.4",
|
|
3351
3666
|
"remeda": "catalog:",
|
|
3352
3667
|
"tailwind-merge": "catalog:",
|
|
3668
|
+
"type-fest": "catalog:",
|
|
3353
3669
|
"usehooks-ts": "^3.1.1"
|
|
3354
3670
|
}
|
|
3355
3671
|
}
|
|
@@ -3358,7 +3674,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3358
3674
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/document-model",
|
|
3359
3675
|
"manifest": {
|
|
3360
3676
|
"name": "document-model",
|
|
3361
|
-
"version": "6.0
|
|
3677
|
+
"version": "6.1.0-dev.0",
|
|
3362
3678
|
"license": "AGPL-3.0-only",
|
|
3363
3679
|
"private": false,
|
|
3364
3680
|
"files": ["dist"],
|
|
@@ -3369,18 +3685,22 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3369
3685
|
"type": "module",
|
|
3370
3686
|
"exports": {
|
|
3371
3687
|
".": {
|
|
3688
|
+
"source": "./index.ts",
|
|
3372
3689
|
"import": "./dist/index.js",
|
|
3373
3690
|
"types": "./dist/index.d.ts"
|
|
3374
3691
|
},
|
|
3375
3692
|
"./test": {
|
|
3693
|
+
"source": "./test/index.ts",
|
|
3376
3694
|
"import": "./dist/test/index.js",
|
|
3377
3695
|
"types": "./dist/test/index.d.ts"
|
|
3378
3696
|
},
|
|
3379
3697
|
"./node": {
|
|
3698
|
+
"source": "./node.mts",
|
|
3380
3699
|
"node": "./dist/node.mjs",
|
|
3381
3700
|
"types": "./dist/node.d.mts"
|
|
3382
3701
|
},
|
|
3383
3702
|
"./core": {
|
|
3703
|
+
"source": "./index.ts",
|
|
3384
3704
|
"import": "./dist/index.js",
|
|
3385
3705
|
"types": "./dist/index.d.ts"
|
|
3386
3706
|
}
|
|
@@ -3397,18 +3717,18 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3397
3717
|
"@types/jest": "^29.5.14",
|
|
3398
3718
|
"@types/mime": "^4.0.0",
|
|
3399
3719
|
"@types/node": "catalog:",
|
|
3720
|
+
"change-case": "catalog:",
|
|
3400
3721
|
"jest": "^30.0.5",
|
|
3722
|
+
"mutative": "^1.0.5",
|
|
3401
3723
|
"tsdown": "catalog:",
|
|
3402
3724
|
"tsx": "catalog:",
|
|
3403
|
-
"vitest": "catalog:"
|
|
3725
|
+
"vitest": "catalog:",
|
|
3726
|
+
"zod": "catalog:"
|
|
3404
3727
|
},
|
|
3405
3728
|
"dependencies": {
|
|
3406
3729
|
"@powerhousedao/shared": "workspace:*",
|
|
3407
|
-
"
|
|
3408
|
-
"mime": "^4.0.4"
|
|
3409
|
-
"mutative": "^1.0.5",
|
|
3410
|
-
"zod": "catalog:",
|
|
3411
|
-
"jszip": "^3.10.1"
|
|
3730
|
+
"jszip": "^3.10.1",
|
|
3731
|
+
"mime": "^4.0.4"
|
|
3412
3732
|
}
|
|
3413
3733
|
}
|
|
3414
3734
|
},
|
|
@@ -3416,7 +3736,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3416
3736
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/opentelemetry-instrumentation-reactor",
|
|
3417
3737
|
"manifest": {
|
|
3418
3738
|
"name": "@powerhousedao/opentelemetry-instrumentation-reactor",
|
|
3419
|
-
"version": "6.0
|
|
3739
|
+
"version": "6.1.0-dev.0",
|
|
3420
3740
|
"description": "OpenTelemetry instrumentation for @powerhousedao/reactor",
|
|
3421
3741
|
"type": "module",
|
|
3422
3742
|
"sideEffects": false,
|
|
@@ -3426,6 +3746,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3426
3746
|
"directory": "packages/opentelemetry-instrumentation-reactor"
|
|
3427
3747
|
},
|
|
3428
3748
|
"exports": { ".": {
|
|
3749
|
+
"source": "./src/index.ts",
|
|
3429
3750
|
"types": "./dist/index.d.ts",
|
|
3430
3751
|
"import": "./dist/index.js"
|
|
3431
3752
|
} },
|
|
@@ -3449,11 +3770,46 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3449
3770
|
"peerDependencies": { "@powerhousedao/reactor": "workspace:*" }
|
|
3450
3771
|
}
|
|
3451
3772
|
},
|
|
3773
|
+
{
|
|
3774
|
+
"dir": "/home/runner/work/powerhouse/powerhouse/packages/pglite-fs",
|
|
3775
|
+
"manifest": {
|
|
3776
|
+
"name": "@powerhousedao/pglite-fs",
|
|
3777
|
+
"version": "6.1.0-dev.0",
|
|
3778
|
+
"license": "AGPL-3.0-only",
|
|
3779
|
+
"type": "module",
|
|
3780
|
+
"repository": {
|
|
3781
|
+
"type": "git",
|
|
3782
|
+
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
3783
|
+
"directory": "packages/pglite-fs"
|
|
3784
|
+
},
|
|
3785
|
+
"publishConfig": { "access": "public" },
|
|
3786
|
+
"files": ["dist"],
|
|
3787
|
+
"exports": { ".": {
|
|
3788
|
+
"source": "./index.ts",
|
|
3789
|
+
"types": "./dist/index.d.ts",
|
|
3790
|
+
"import": "./dist/index.js"
|
|
3791
|
+
} },
|
|
3792
|
+
"sideEffects": false,
|
|
3793
|
+
"scripts": {
|
|
3794
|
+
"tsc": "tsc",
|
|
3795
|
+
"lint": "eslint",
|
|
3796
|
+
"build": "tsdown",
|
|
3797
|
+
"test": "vitest --run"
|
|
3798
|
+
},
|
|
3799
|
+
"peerDependencies": { "@electric-sql/pglite": "catalog:" },
|
|
3800
|
+
"devDependencies": {
|
|
3801
|
+
"@electric-sql/pglite": "catalog:",
|
|
3802
|
+
"tsdown": "catalog:",
|
|
3803
|
+
"tsx": "catalog:",
|
|
3804
|
+
"vitest": "catalog:"
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3452
3808
|
{
|
|
3453
3809
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/powerhouse-vetra-packages",
|
|
3454
3810
|
"manifest": {
|
|
3455
3811
|
"name": "@powerhousedao/powerhouse-vetra-packages",
|
|
3456
|
-
"version": "6.0
|
|
3812
|
+
"version": "6.1.0-dev.0",
|
|
3457
3813
|
"description": "",
|
|
3458
3814
|
"keywords": [],
|
|
3459
3815
|
"author": "",
|
|
@@ -3468,26 +3824,31 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3468
3824
|
"files": ["dist"],
|
|
3469
3825
|
"exports": {
|
|
3470
3826
|
".": {
|
|
3827
|
+
"source": "./index.ts",
|
|
3471
3828
|
"types": "./dist/index.d.ts",
|
|
3472
3829
|
"browser": "./dist/browser/index.js",
|
|
3473
3830
|
"node": "./dist/node/index.mjs"
|
|
3474
3831
|
},
|
|
3475
3832
|
"./document-models": {
|
|
3833
|
+
"source": "./document-models/index.ts",
|
|
3476
3834
|
"types": "./dist/document-models/index.d.ts",
|
|
3477
3835
|
"browser": "./dist/browser/document-models/index.js",
|
|
3478
3836
|
"node": "./dist/node/document-models/index.mjs"
|
|
3479
3837
|
},
|
|
3480
3838
|
"./document-models/*": {
|
|
3839
|
+
"source": "./document-models/*/index.ts",
|
|
3481
3840
|
"types": "./dist/document-models/*/index.d.ts",
|
|
3482
3841
|
"browser": "./dist/browser/document-models/*/index.js",
|
|
3483
3842
|
"node": "./dist/node/document-models/*/index.mjs"
|
|
3484
3843
|
},
|
|
3485
3844
|
"./editors": {
|
|
3845
|
+
"source": "./editors/index.ts",
|
|
3486
3846
|
"types": "./dist/editors/index.d.ts",
|
|
3487
3847
|
"browser": "./dist/browser/editors/index.js",
|
|
3488
3848
|
"node": "./dist/node/editors/index.mjs"
|
|
3489
3849
|
},
|
|
3490
3850
|
"./editors/*": {
|
|
3851
|
+
"source": "./editors/*/index.ts",
|
|
3491
3852
|
"types": "./dist/editors/*/index.d.ts",
|
|
3492
3853
|
"browser": "./dist/browser/editors/*/index.js",
|
|
3493
3854
|
"node": "./dist/node/editors/*/index.mjs"
|
|
@@ -3520,7 +3881,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3520
3881
|
"service-startup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh",
|
|
3521
3882
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
3522
3883
|
},
|
|
3523
|
-
"
|
|
3884
|
+
"peerDependencies": {
|
|
3885
|
+
"graphql": "^16",
|
|
3886
|
+
"react": "^19",
|
|
3887
|
+
"react-dom": "^19"
|
|
3888
|
+
},
|
|
3889
|
+
"devDependencies": {
|
|
3524
3890
|
"@codemirror/autocomplete": "6.18.6",
|
|
3525
3891
|
"@codemirror/commands": "6.8.1",
|
|
3526
3892
|
"@codemirror/lang-json": "6.0.1",
|
|
@@ -3534,11 +3900,15 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3534
3900
|
"@powerhousedao/design-system": "workspace:*",
|
|
3535
3901
|
"@powerhousedao/document-engineering": "catalog:",
|
|
3536
3902
|
"@powerhousedao/reactor-browser": "workspace:*",
|
|
3903
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
3537
3904
|
"@powerhousedao/shared": "workspace:*",
|
|
3538
3905
|
"@radix-ui/react-label": "^2.1.4",
|
|
3539
3906
|
"@radix-ui/react-slot": "^1.2.0",
|
|
3540
3907
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
3908
|
+
"@tailwindcss/cli": "catalog:",
|
|
3541
3909
|
"@tanstack/react-virtual": "^3.8.1",
|
|
3910
|
+
"@types/react": "catalog:",
|
|
3911
|
+
"@types/react-dom": "catalog:",
|
|
3542
3912
|
"change-case": "catalog:",
|
|
3543
3913
|
"class-variance-authority": "0.7.0",
|
|
3544
3914
|
"clsx": "^2.1.1",
|
|
@@ -3549,17 +3919,13 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3549
3919
|
"react-dom": "catalog:",
|
|
3550
3920
|
"react-hook-form": "^7.56.1",
|
|
3551
3921
|
"react-i18next": "catalog:",
|
|
3922
|
+
"rolldown": "catalog:",
|
|
3552
3923
|
"tailwind-merge": "catalog:",
|
|
3553
|
-
"thememirror": "^2.0.1",
|
|
3554
|
-
"zod": "catalog:"
|
|
3555
|
-
},
|
|
3556
|
-
"devDependencies": {
|
|
3557
|
-
"@tailwindcss/cli": "catalog:",
|
|
3558
|
-
"@types/react": "catalog:",
|
|
3559
|
-
"@types/react-dom": "catalog:",
|
|
3560
3924
|
"tailwindcss": "catalog:",
|
|
3925
|
+
"thememirror": "^2.0.1",
|
|
3561
3926
|
"tsdown": "catalog:",
|
|
3562
|
-
"tsx": "catalog:"
|
|
3927
|
+
"tsx": "catalog:",
|
|
3928
|
+
"zod": "catalog:"
|
|
3563
3929
|
}
|
|
3564
3930
|
}
|
|
3565
3931
|
},
|
|
@@ -3567,7 +3933,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3567
3933
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor",
|
|
3568
3934
|
"manifest": {
|
|
3569
3935
|
"name": "@powerhousedao/reactor",
|
|
3570
|
-
"version": "6.0
|
|
3936
|
+
"version": "6.1.0-dev.0",
|
|
3571
3937
|
"description": "",
|
|
3572
3938
|
"repository": {
|
|
3573
3939
|
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
@@ -3576,6 +3942,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3576
3942
|
"type": "module",
|
|
3577
3943
|
"sideEffects": false,
|
|
3578
3944
|
"exports": { ".": {
|
|
3945
|
+
"source": "./index.ts",
|
|
3579
3946
|
"types": "./dist/index.d.ts",
|
|
3580
3947
|
"import": "./dist/index.js"
|
|
3581
3948
|
} },
|
|
@@ -3609,6 +3976,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3609
3976
|
"document-model": "workspace:*"
|
|
3610
3977
|
},
|
|
3611
3978
|
"devDependencies": {
|
|
3979
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
3612
3980
|
"@vitest/coverage-v8": "catalog:",
|
|
3613
3981
|
"prettier": "catalog:",
|
|
3614
3982
|
"tinybench": "^2.9.0",
|
|
@@ -3623,7 +3991,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3623
3991
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-api",
|
|
3624
3992
|
"manifest": {
|
|
3625
3993
|
"name": "@powerhousedao/reactor-api",
|
|
3626
|
-
"version": "6.0
|
|
3994
|
+
"version": "6.1.0-dev.0",
|
|
3627
3995
|
"description": "",
|
|
3628
3996
|
"type": "module",
|
|
3629
3997
|
"repository": {
|
|
@@ -3632,14 +4000,17 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3632
4000
|
},
|
|
3633
4001
|
"exports": {
|
|
3634
4002
|
".": {
|
|
4003
|
+
"source": "./index.mts",
|
|
3635
4004
|
"types": "./dist/index.d.mts",
|
|
3636
4005
|
"import": "./dist/index.mjs"
|
|
3637
4006
|
},
|
|
3638
4007
|
"./vite": {
|
|
4008
|
+
"source": "./src/packages/vite-loader.mts",
|
|
3639
4009
|
"types": "./dist/vite-loader.d.mts",
|
|
3640
4010
|
"import": "./dist/src/packages/vite-loader.mjs"
|
|
3641
4011
|
},
|
|
3642
4012
|
"./https-hooks": {
|
|
4013
|
+
"source": "./src/packages/https-hooks.mts",
|
|
3643
4014
|
"types": "./dist/https-hooks.d.mts",
|
|
3644
4015
|
"import": "./dist/src/packages/https-hooks.mjs"
|
|
3645
4016
|
},
|
|
@@ -3657,7 +4028,8 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3657
4028
|
"codegen": "graphql-codegen --config codegen.ts && prettier --write src/graphql/reactor/gen/*.ts && eslint --fix src/graphql/reactor/gen/*.ts --no-warn-ignored",
|
|
3658
4029
|
"codegen:watch": "graphql-codegen --config codegen.ts --watch",
|
|
3659
4030
|
"dev": "tsx src/dev.ts",
|
|
3660
|
-
"capture-hub-dump": "tsx scripts/capture-hub-dump.ts"
|
|
4031
|
+
"capture-hub-dump": "tsx scripts/capture-hub-dump.ts",
|
|
4032
|
+
"convert-hub-dump": "tsx scripts/convert-hub-dump.ts"
|
|
3661
4033
|
},
|
|
3662
4034
|
"publishConfig": { "access": "public" },
|
|
3663
4035
|
"keywords": [],
|
|
@@ -3675,25 +4047,20 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3675
4047
|
"@powerhousedao/analytics-engine-pg": "workspace:*",
|
|
3676
4048
|
"@powerhousedao/config": "workspace:*",
|
|
3677
4049
|
"@powerhousedao/document-engineering": "catalog:",
|
|
4050
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
3678
4051
|
"@powerhousedao/reactor": "workspace:*",
|
|
3679
4052
|
"@powerhousedao/reactor-attachments": "workspace:*",
|
|
4053
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
3680
4054
|
"@powerhousedao/reactor-mcp": "workspace:*",
|
|
3681
4055
|
"@powerhousedao/shared": "workspace:*",
|
|
3682
4056
|
"@renown/sdk": "workspace:*",
|
|
3683
|
-
"@fastify/cors": "^11.0.1",
|
|
3684
|
-
"@mercuriusjs/gateway": "^5.2.0",
|
|
3685
|
-
"mercurius": "^16.8.0",
|
|
3686
|
-
"@fastify/formbody": "^8.0.1",
|
|
3687
|
-
"@fastify/middie": "^9.3.2",
|
|
3688
4057
|
"body-parser": "^1.20.3",
|
|
3689
|
-
"fastify": "^5.8.5",
|
|
3690
4058
|
"change-case": "catalog:",
|
|
3691
4059
|
"cors": "^2.8.5",
|
|
3692
4060
|
"devcert": "^1.2.2",
|
|
3693
4061
|
"document-model": "workspace:*",
|
|
3694
4062
|
"dotenv": "^16.4.5",
|
|
3695
4063
|
"express": "4.21.1",
|
|
3696
|
-
"graphql": "catalog:",
|
|
3697
4064
|
"graphql-sse": "catalog:",
|
|
3698
4065
|
"graphql-subscriptions": "^3.0.0",
|
|
3699
4066
|
"graphql-type-json": "^0.3.2",
|
|
@@ -3706,10 +4073,15 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3706
4073
|
"pg": "catalog:",
|
|
3707
4074
|
"read-pkg": "catalog:",
|
|
3708
4075
|
"ws": "^8.18.3",
|
|
3709
|
-
"zod": "catalog:"
|
|
3710
|
-
"graphql-tag": "catalog:"
|
|
4076
|
+
"zod": "catalog:"
|
|
3711
4077
|
},
|
|
3712
4078
|
"devDependencies": {
|
|
4079
|
+
"@fastify/cors": "^11.0.1",
|
|
4080
|
+
"@fastify/formbody": "^8.0.1",
|
|
4081
|
+
"@fastify/middie": "^9.3.2",
|
|
4082
|
+
"@mercuriusjs/gateway": "^5.2.0",
|
|
4083
|
+
"fastify": "^5.8.5",
|
|
4084
|
+
"mercurius": "^16.8.0",
|
|
3713
4085
|
"@graphql-codegen/cli": "catalog:",
|
|
3714
4086
|
"@graphql-codegen/typescript": "catalog:",
|
|
3715
4087
|
"@graphql-codegen/typescript-generic-sdk": "catalog:",
|
|
@@ -3721,19 +4093,39 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3721
4093
|
"@types/node": "catalog:",
|
|
3722
4094
|
"@types/pg": "catalog:",
|
|
3723
4095
|
"@types/ws": "^8.18.1",
|
|
4096
|
+
"graphql": "catalog:",
|
|
4097
|
+
"graphql-tag": "catalog:",
|
|
3724
4098
|
"tsdown": "catalog:",
|
|
3725
4099
|
"msw": "^2.7.3",
|
|
3726
4100
|
"vitest": "catalog:"
|
|
3727
4101
|
},
|
|
3728
|
-
"peerDependencies": {
|
|
3729
|
-
|
|
4102
|
+
"peerDependencies": {
|
|
4103
|
+
"@fastify/cors": "^11.0.1",
|
|
4104
|
+
"@fastify/formbody": "^8.0.1",
|
|
4105
|
+
"@fastify/middie": "^9.3.2",
|
|
4106
|
+
"@mercuriusjs/gateway": "^5.2.0",
|
|
4107
|
+
"fastify": "^5.8.5",
|
|
4108
|
+
"graphql": "^16",
|
|
4109
|
+
"graphql-tag": "^2",
|
|
4110
|
+
"mercurius": "^16.8.0",
|
|
4111
|
+
"vite": "^8.0.0"
|
|
4112
|
+
},
|
|
4113
|
+
"peerDependenciesMeta": {
|
|
4114
|
+
"@fastify/cors": { "optional": true },
|
|
4115
|
+
"@fastify/formbody": { "optional": true },
|
|
4116
|
+
"@fastify/middie": { "optional": true },
|
|
4117
|
+
"@mercuriusjs/gateway": { "optional": true },
|
|
4118
|
+
"fastify": { "optional": true },
|
|
4119
|
+
"mercurius": { "optional": true },
|
|
4120
|
+
"vite": { "optional": true }
|
|
4121
|
+
}
|
|
3730
4122
|
}
|
|
3731
4123
|
},
|
|
3732
4124
|
{
|
|
3733
4125
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-attachments",
|
|
3734
4126
|
"manifest": {
|
|
3735
4127
|
"name": "@powerhousedao/reactor-attachments",
|
|
3736
|
-
"version": "6.0
|
|
4128
|
+
"version": "6.1.0-dev.0",
|
|
3737
4129
|
"license": "AGPL-3.0-only",
|
|
3738
4130
|
"type": "module",
|
|
3739
4131
|
"repository": {
|
|
@@ -3743,6 +4135,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3743
4135
|
"publishConfig": { "access": "public" },
|
|
3744
4136
|
"files": ["dist"],
|
|
3745
4137
|
"exports": { ".": {
|
|
4138
|
+
"source": "./index.ts",
|
|
3746
4139
|
"types": "./dist/index.d.ts",
|
|
3747
4140
|
"import": "./dist/index.js"
|
|
3748
4141
|
} },
|
|
@@ -3769,7 +4162,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3769
4162
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-browser",
|
|
3770
4163
|
"manifest": {
|
|
3771
4164
|
"name": "@powerhousedao/reactor-browser",
|
|
3772
|
-
"version": "6.0
|
|
4165
|
+
"version": "6.1.0-dev.0",
|
|
3773
4166
|
"license": "AGPL-3.0-only",
|
|
3774
4167
|
"type": "module",
|
|
3775
4168
|
"repository": {
|
|
@@ -3780,22 +4173,27 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3780
4173
|
"files": ["dist"],
|
|
3781
4174
|
"exports": {
|
|
3782
4175
|
".": {
|
|
4176
|
+
"source": "./index.ts",
|
|
3783
4177
|
"types": "./dist/index.d.ts",
|
|
3784
4178
|
"import": "./dist/index.js"
|
|
3785
4179
|
},
|
|
3786
4180
|
"./analytics": {
|
|
4181
|
+
"source": "./src/analytics/index.ts",
|
|
3787
4182
|
"types": "./dist/src/analytics/index.d.ts",
|
|
3788
4183
|
"import": "./dist/src/analytics/index.js"
|
|
3789
4184
|
},
|
|
3790
4185
|
"./graphql": {
|
|
4186
|
+
"source": "./src/graphql/client.ts",
|
|
3791
4187
|
"types": "./dist/src/graphql/client.d.ts",
|
|
3792
4188
|
"import": "./dist/src/graphql/client.js"
|
|
3793
4189
|
},
|
|
3794
4190
|
"./relational": {
|
|
4191
|
+
"source": "./src/relational/index.ts",
|
|
3795
4192
|
"types": "./dist/src/relational/index.d.ts",
|
|
3796
4193
|
"import": "./dist/src/relational/index.js"
|
|
3797
4194
|
},
|
|
3798
4195
|
"./renown": {
|
|
4196
|
+
"source": "./src/renown/index.ts",
|
|
3799
4197
|
"types": "./dist/src/renown/index.d.ts",
|
|
3800
4198
|
"import": "./dist/src/renown/index.js"
|
|
3801
4199
|
}
|
|
@@ -3813,14 +4211,13 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3813
4211
|
"@powerhousedao/analytics-engine-browser": "workspace:*",
|
|
3814
4212
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
3815
4213
|
"@powerhousedao/reactor": "workspace:*",
|
|
4214
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
3816
4215
|
"@powerhousedao/shared": "workspace:*",
|
|
3817
4216
|
"@renown/sdk": "workspace:*",
|
|
3818
4217
|
"@tanstack/react-query": "^5.49.2",
|
|
3819
4218
|
"change-case": "catalog:",
|
|
3820
4219
|
"document-model": "workspace:*",
|
|
3821
|
-
"graphql": "catalog:",
|
|
3822
4220
|
"graphql-request": "catalog:",
|
|
3823
|
-
"graphql-tag": "catalog:",
|
|
3824
4221
|
"kysely": "catalog:",
|
|
3825
4222
|
"kysely-pglite-dialect": "catalog:",
|
|
3826
4223
|
"lodash.isequal": "^4.5.0",
|
|
@@ -3847,6 +4244,8 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3847
4244
|
"@vitest/browser": "catalog:",
|
|
3848
4245
|
"@vitest/browser-playwright": "catalog:",
|
|
3849
4246
|
"fast-deep-equal": "catalog:",
|
|
4247
|
+
"graphql": "catalog:",
|
|
4248
|
+
"graphql-tag": "catalog:",
|
|
3850
4249
|
"playwright": "catalog:",
|
|
3851
4250
|
"react": "catalog:",
|
|
3852
4251
|
"react-dom": "catalog:",
|
|
@@ -3856,16 +4255,60 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3856
4255
|
"vitest-browser-react": "^1.0.1"
|
|
3857
4256
|
},
|
|
3858
4257
|
"peerDependencies": {
|
|
4258
|
+
"graphql": "^16",
|
|
4259
|
+
"graphql-tag": "^2",
|
|
3859
4260
|
"react": ">=19.0.0",
|
|
3860
4261
|
"react-dom": ">=19.0.0"
|
|
3861
4262
|
}
|
|
3862
4263
|
}
|
|
3863
4264
|
},
|
|
4265
|
+
{
|
|
4266
|
+
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-drive",
|
|
4267
|
+
"manifest": {
|
|
4268
|
+
"name": "@powerhousedao/reactor-drive",
|
|
4269
|
+
"version": "6.1.0-dev.0",
|
|
4270
|
+
"license": "AGPL-3.0-only",
|
|
4271
|
+
"type": "module",
|
|
4272
|
+
"repository": {
|
|
4273
|
+
"type": "git",
|
|
4274
|
+
"url": "https://github.com/powerhouse-inc/powerhouse"
|
|
4275
|
+
},
|
|
4276
|
+
"publishConfig": { "access": "public" },
|
|
4277
|
+
"files": ["dist"],
|
|
4278
|
+
"exports": { ".": {
|
|
4279
|
+
"source": "./index.ts",
|
|
4280
|
+
"types": "./dist/index.d.ts",
|
|
4281
|
+
"import": "./dist/index.js"
|
|
4282
|
+
} },
|
|
4283
|
+
"sideEffects": false,
|
|
4284
|
+
"scripts": {
|
|
4285
|
+
"tsc": "tsc",
|
|
4286
|
+
"lint": "eslint",
|
|
4287
|
+
"build": "tsdown",
|
|
4288
|
+
"test": "vitest --run",
|
|
4289
|
+
"bench": "vitest bench --run"
|
|
4290
|
+
},
|
|
4291
|
+
"dependencies": {
|
|
4292
|
+
"@powerhousedao/reactor": "workspace:*",
|
|
4293
|
+
"@powerhousedao/shared": "workspace:*",
|
|
4294
|
+
"document-model": "workspace:*",
|
|
4295
|
+
"graphql": "catalog:",
|
|
4296
|
+
"graphql-tag": "catalog:",
|
|
4297
|
+
"kysely": "catalog:"
|
|
4298
|
+
},
|
|
4299
|
+
"devDependencies": {
|
|
4300
|
+
"@electric-sql/pglite": "catalog:",
|
|
4301
|
+
"kysely-pglite-dialect": "catalog:",
|
|
4302
|
+
"tsdown": "catalog:",
|
|
4303
|
+
"vitest": "catalog:"
|
|
4304
|
+
}
|
|
4305
|
+
}
|
|
4306
|
+
},
|
|
3864
4307
|
{
|
|
3865
4308
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-hypercore",
|
|
3866
4309
|
"manifest": {
|
|
3867
4310
|
"name": "@powerhousedao/reactor-hypercore",
|
|
3868
|
-
"version": "6.0
|
|
4311
|
+
"version": "6.1.0-dev.0",
|
|
3869
4312
|
"description": "Hypercore-backed IOperationStore for the Powerhouse Reactor",
|
|
3870
4313
|
"repository": {
|
|
3871
4314
|
"url": "https://github.com/powerhouse-inc/powerhouse",
|
|
@@ -3874,6 +4317,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3874
4317
|
"type": "module",
|
|
3875
4318
|
"sideEffects": false,
|
|
3876
4319
|
"exports": { ".": {
|
|
4320
|
+
"source": "./src/index.ts",
|
|
3877
4321
|
"types": "./dist/index.d.ts",
|
|
3878
4322
|
"import": "./dist/index.js"
|
|
3879
4323
|
} },
|
|
@@ -3907,7 +4351,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3907
4351
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/reactor-mcp",
|
|
3908
4352
|
"manifest": {
|
|
3909
4353
|
"name": "@powerhousedao/reactor-mcp",
|
|
3910
|
-
"version": "6.0
|
|
4354
|
+
"version": "6.1.0-dev.0",
|
|
3911
4355
|
"description": "MCP server for document model operations in the Powerhouse ecosystem. For document model creation tasks, consider using the document-model-creator agent which provides a more guided experience.",
|
|
3912
4356
|
"type": "module",
|
|
3913
4357
|
"repository": {
|
|
@@ -3915,6 +4359,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3915
4359
|
"url": "https://github.com/powerhouse-inc/powerhouse"
|
|
3916
4360
|
},
|
|
3917
4361
|
"exports": { ".": {
|
|
4362
|
+
"source": "./src/index.ts",
|
|
3918
4363
|
"types": "./dist/index.d.mts",
|
|
3919
4364
|
"import": "./dist/index.mjs"
|
|
3920
4365
|
} },
|
|
@@ -3937,10 +4382,10 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3937
4382
|
"license": "AGPL-3.0-only",
|
|
3938
4383
|
"dependencies": {
|
|
3939
4384
|
"@modelcontextprotocol/sdk": "catalog:",
|
|
3940
|
-
"@openfeature/core": "catalog:",
|
|
3941
4385
|
"@openfeature/env-var-provider": "catalog:",
|
|
3942
4386
|
"@openfeature/server-sdk": "catalog:",
|
|
3943
4387
|
"@powerhousedao/reactor": "workspace:*",
|
|
4388
|
+
"@powerhousedao/reactor-drive": "workspace:*",
|
|
3944
4389
|
"@powerhousedao/shared": "workspace:*",
|
|
3945
4390
|
"change-case": "catalog:",
|
|
3946
4391
|
"document-model": "workspace:*",
|
|
@@ -3948,6 +4393,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3948
4393
|
"zod": "catalog:"
|
|
3949
4394
|
},
|
|
3950
4395
|
"devDependencies": {
|
|
4396
|
+
"@openfeature/core": "catalog:",
|
|
3951
4397
|
"@types/node": "catalog:",
|
|
3952
4398
|
"tsdown": "catalog:",
|
|
3953
4399
|
"vitest": "catalog:"
|
|
@@ -3958,7 +4404,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
3958
4404
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/registry",
|
|
3959
4405
|
"manifest": {
|
|
3960
4406
|
"name": "@powerhousedao/registry",
|
|
3961
|
-
"version": "6.0
|
|
4407
|
+
"version": "6.1.0-dev.0",
|
|
3962
4408
|
"description": "",
|
|
3963
4409
|
"type": "module",
|
|
3964
4410
|
"repository": {
|
|
@@ -4003,7 +4449,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4003
4449
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/renown",
|
|
4004
4450
|
"manifest": {
|
|
4005
4451
|
"name": "@renown/sdk",
|
|
4006
|
-
"version": "6.0
|
|
4452
|
+
"version": "6.1.0-dev.0",
|
|
4007
4453
|
"description": "",
|
|
4008
4454
|
"license": "AGPL-3.0-only",
|
|
4009
4455
|
"private": false,
|
|
@@ -4015,11 +4461,13 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4015
4461
|
"publishConfig": { "access": "public" },
|
|
4016
4462
|
"exports": {
|
|
4017
4463
|
".": {
|
|
4464
|
+
"source": "./src/index.ts",
|
|
4018
4465
|
"types": "./dist/index.d.ts",
|
|
4019
4466
|
"import": "./dist/index.js",
|
|
4020
4467
|
"default": "./dist/index.js"
|
|
4021
4468
|
},
|
|
4022
4469
|
"./node": {
|
|
4470
|
+
"source": "./src/node.ts",
|
|
4023
4471
|
"types": "./dist/node.d.ts",
|
|
4024
4472
|
"import": "./dist/node.js",
|
|
4025
4473
|
"default": "./dist/node.js"
|
|
@@ -4052,7 +4500,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4052
4500
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/shared",
|
|
4053
4501
|
"manifest": {
|
|
4054
4502
|
"name": "@powerhousedao/shared",
|
|
4055
|
-
"version": "6.0
|
|
4503
|
+
"version": "6.1.0-dev.0",
|
|
4056
4504
|
"type": "module",
|
|
4057
4505
|
"sideEffects": false,
|
|
4058
4506
|
"publishConfig": { "access": "public" },
|
|
@@ -4153,21 +4601,18 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4153
4601
|
}
|
|
4154
4602
|
},
|
|
4155
4603
|
"dependencies": {
|
|
4156
|
-
"@sentry/node-core": "^10.52.0",
|
|
4157
4604
|
"@sindresorhus/fnv1a": "catalog:",
|
|
4158
4605
|
"chalk": "catalog:",
|
|
4159
4606
|
"change-case": "catalog:",
|
|
4160
4607
|
"cmd-ts": "catalog:",
|
|
4161
4608
|
"enquirer": "catalog:",
|
|
4162
|
-
"
|
|
4163
|
-
"kysely": "catalog:",
|
|
4609
|
+
"fflate": "^0.8.2",
|
|
4164
4610
|
"luxon": "catalog:",
|
|
4165
4611
|
"mutative": "catalog:",
|
|
4166
4612
|
"npm-package-arg": "catalog:",
|
|
4167
4613
|
"package-directory": "^8.1.0",
|
|
4168
4614
|
"package-manager-detector": "catalog:",
|
|
4169
4615
|
"remeda": "catalog:",
|
|
4170
|
-
"rolldown": "catalog:",
|
|
4171
4616
|
"safe-stable-stringify": "^2.4.3",
|
|
4172
4617
|
"sha1-uint8array": "^0.10.7",
|
|
4173
4618
|
"write-package": "catalog:",
|
|
@@ -4175,13 +4620,24 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4175
4620
|
"zod": "catalog:"
|
|
4176
4621
|
},
|
|
4177
4622
|
"devDependencies": {
|
|
4623
|
+
"@sentry/node-core": "^10.52.0",
|
|
4178
4624
|
"@types/bun": "catalog:",
|
|
4179
4625
|
"@types/luxon": "catalog:",
|
|
4180
4626
|
"@types/npm-package-arg": "catalog:",
|
|
4181
4627
|
"@types/react": "catalog:",
|
|
4628
|
+
"kysely": "catalog:",
|
|
4182
4629
|
"react": "catalog:",
|
|
4630
|
+
"rolldown": "catalog:",
|
|
4183
4631
|
"tsdown": "catalog:",
|
|
4184
4632
|
"tsx": "catalog:"
|
|
4633
|
+
},
|
|
4634
|
+
"peerDependencies": {
|
|
4635
|
+
"@sentry/node-core": "^10.52.0",
|
|
4636
|
+
"rolldown": "catalog:"
|
|
4637
|
+
},
|
|
4638
|
+
"peerDependenciesMeta": {
|
|
4639
|
+
"@sentry/node-core": { "optional": true },
|
|
4640
|
+
"rolldown": { "optional": true }
|
|
4185
4641
|
}
|
|
4186
4642
|
}
|
|
4187
4643
|
},
|
|
@@ -4189,7 +4645,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4189
4645
|
"dir": "/home/runner/work/powerhouse/powerhouse/packages/vetra",
|
|
4190
4646
|
"manifest": {
|
|
4191
4647
|
"name": "@powerhousedao/vetra",
|
|
4192
|
-
"version": "6.0
|
|
4648
|
+
"version": "6.1.0-dev.0",
|
|
4193
4649
|
"license": "AGPL-3.0-only",
|
|
4194
4650
|
"type": "module",
|
|
4195
4651
|
"sideEffects": false,
|
|
@@ -4201,10 +4657,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4201
4657
|
"files": ["dist"],
|
|
4202
4658
|
"exports": {
|
|
4203
4659
|
".": {
|
|
4660
|
+
"source": "./index.ts",
|
|
4204
4661
|
"types": "./dist/index.d.ts",
|
|
4205
4662
|
"import": "./dist/index.js"
|
|
4206
4663
|
},
|
|
4207
4664
|
"./document-models": {
|
|
4665
|
+
"source": "./document-models/index.ts",
|
|
4208
4666
|
"types": "./dist/document-models/index.d.ts",
|
|
4209
4667
|
"import": "./dist/document-models/index.js"
|
|
4210
4668
|
},
|
|
@@ -4217,13 +4675,19 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4217
4675
|
"import": "./dist/editors/*/index.js"
|
|
4218
4676
|
},
|
|
4219
4677
|
"./editors": {
|
|
4678
|
+
"source": "./editors/index.ts",
|
|
4220
4679
|
"types": "./dist/editors/index.d.ts",
|
|
4221
4680
|
"import": "./dist/editors/index.js"
|
|
4222
4681
|
},
|
|
4223
4682
|
"./processors": {
|
|
4683
|
+
"source": "./processors/index.ts",
|
|
4224
4684
|
"types": "./dist/processors/index.d.ts",
|
|
4225
4685
|
"import": "./dist/processors/index.js"
|
|
4226
4686
|
},
|
|
4687
|
+
"./codegen": {
|
|
4688
|
+
"types": "./dist/codegen/index.d.ts",
|
|
4689
|
+
"import": "./dist/codegen/index.js"
|
|
4690
|
+
},
|
|
4227
4691
|
"./manifest": "./dist/powerhouse.manifest.json",
|
|
4228
4692
|
"./style.css": "./dist/style.css",
|
|
4229
4693
|
"./package.json": "./package.json"
|
|
@@ -4254,9 +4718,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4254
4718
|
"@powerhousedao/shared": "workspace:*",
|
|
4255
4719
|
"change-case": "catalog:",
|
|
4256
4720
|
"document-model": "workspace:*",
|
|
4257
|
-
"kysely": "catalog:",
|
|
4258
4721
|
"react": "catalog:",
|
|
4259
|
-
"ts-morph": "catalog:",
|
|
4260
4722
|
"zod": "catalog:"
|
|
4261
4723
|
},
|
|
4262
4724
|
"devDependencies": {
|
|
@@ -4269,16 +4731,15 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4269
4731
|
"@types/react": "catalog:",
|
|
4270
4732
|
"@types/react-dom": "catalog:",
|
|
4271
4733
|
"@vitejs/plugin-react": "catalog:",
|
|
4734
|
+
"kysely": "catalog:",
|
|
4272
4735
|
"react-dom": "catalog:",
|
|
4273
4736
|
"tailwindcss": "catalog:",
|
|
4737
|
+
"ts-morph": "catalog:",
|
|
4274
4738
|
"tsdown": "catalog:",
|
|
4275
4739
|
"vite": "catalog:",
|
|
4740
|
+
"vite-tsconfig-paths": "catalog:",
|
|
4276
4741
|
"vitest": "catalog:"
|
|
4277
4742
|
},
|
|
4278
|
-
"optionalDependencies": {
|
|
4279
|
-
"@powerhousedao/connect": "workspace:*",
|
|
4280
|
-
"@powerhousedao/ph-cli": "workspace:*"
|
|
4281
|
-
},
|
|
4282
4743
|
"description": ""
|
|
4283
4744
|
}
|
|
4284
4745
|
},
|
|
@@ -4301,6 +4762,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4301
4762
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.57.2",
|
|
4302
4763
|
"@opentelemetry/sdk-metrics": "^1.29.0",
|
|
4303
4764
|
"@powerhousedao/opentelemetry-instrumentation-reactor": "workspace:*",
|
|
4765
|
+
"@powerhousedao/pglite-fs": "workspace:*",
|
|
4304
4766
|
"@powerhousedao/reactor": "workspace:*",
|
|
4305
4767
|
"@pyroscope/nodejs": "^0.4.7",
|
|
4306
4768
|
"document-model": "workspace:*",
|
|
@@ -4391,15 +4853,21 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4391
4853
|
"files": ["/dist"],
|
|
4392
4854
|
"exports": {
|
|
4393
4855
|
".": {
|
|
4856
|
+
"source": "./src/index.ts",
|
|
4394
4857
|
"types": "./dist/index.d.mts",
|
|
4395
4858
|
"import": "./dist/index.mjs"
|
|
4396
4859
|
},
|
|
4397
4860
|
"./helpers": {
|
|
4861
|
+
"source": "./src/helpers/index.ts",
|
|
4398
4862
|
"types": "./dist/helpers/index.d.mts",
|
|
4399
4863
|
"import": "./dist/helpers/index.mjs"
|
|
4400
4864
|
},
|
|
4401
|
-
"./helpers/*":
|
|
4865
|
+
"./helpers/*": {
|
|
4866
|
+
"source": "./src/helpers/*.ts",
|
|
4867
|
+
"import": "./dist/helpers/*.mjs"
|
|
4868
|
+
},
|
|
4402
4869
|
"./types": {
|
|
4870
|
+
"source": "./src/types/index.ts",
|
|
4403
4871
|
"types": "./dist/types/index.d.mts",
|
|
4404
4872
|
"import": "./dist/types/index.mjs"
|
|
4405
4873
|
}
|
|
@@ -4427,14 +4895,17 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4427
4895
|
"files": ["/dist"],
|
|
4428
4896
|
"exports": {
|
|
4429
4897
|
".": {
|
|
4898
|
+
"source": "./index.ts",
|
|
4430
4899
|
"types": "./dist/index.d.ts",
|
|
4431
4900
|
"import": "./dist/index.js"
|
|
4432
4901
|
},
|
|
4433
4902
|
"./document-models": {
|
|
4903
|
+
"source": "./document-models/index.ts",
|
|
4434
4904
|
"types": "./dist/document-models/index.d.ts",
|
|
4435
4905
|
"import": "./dist/document-models/index.js"
|
|
4436
4906
|
},
|
|
4437
4907
|
"./editors": {
|
|
4908
|
+
"source": "./editors/index.ts",
|
|
4438
4909
|
"types": "./dist/editors/index.d.ts",
|
|
4439
4910
|
"import": "./dist/editors/index.js"
|
|
4440
4911
|
},
|
|
@@ -4549,48 +5020,55 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4549
5020
|
"tsc:watch": "tsc --watch",
|
|
4550
5021
|
"vetra": "ph-cli vetra"
|
|
4551
5022
|
},
|
|
4552
|
-
"
|
|
5023
|
+
"devDependencies": {
|
|
5024
|
+
"@electric-sql/pglite": "catalog:",
|
|
5025
|
+
"@electric-sql/pglite-tools": "catalog:",
|
|
5026
|
+
"@eslint/js": "^9.38.0",
|
|
4553
5027
|
"@powerhousedao/analytics-engine-core": "workspace:*",
|
|
4554
5028
|
"@powerhousedao/connect": "workspace:*",
|
|
4555
5029
|
"@powerhousedao/design-system": "workspace:*",
|
|
4556
5030
|
"@powerhousedao/document-engineering": "catalog:",
|
|
5031
|
+
"@powerhousedao/ph-cli": "workspace:*",
|
|
5032
|
+
"@powerhousedao/reactor": "workspace:*",
|
|
4557
5033
|
"@powerhousedao/reactor-api": "workspace:*",
|
|
4558
5034
|
"@powerhousedao/reactor-browser": "workspace:*",
|
|
4559
5035
|
"@powerhousedao/shared": "workspace:*",
|
|
4560
|
-
"document-model": "workspace:*",
|
|
4561
|
-
"graphql": "catalog:",
|
|
4562
|
-
"graphql-tag": "catalog:",
|
|
4563
|
-
"react": "catalog:",
|
|
4564
|
-
"react-dom": "catalog:",
|
|
4565
|
-
"zod": "catalog:"
|
|
4566
|
-
},
|
|
4567
|
-
"devDependencies": {
|
|
4568
|
-
"@electric-sql/pglite": "catalog:",
|
|
4569
|
-
"@electric-sql/pglite-tools": "catalog:",
|
|
4570
|
-
"@eslint/js": "^9.38.0",
|
|
4571
|
-
"@powerhousedao/ph-cli": "workspace:*",
|
|
4572
|
-
"@powerhousedao/reactor": "workspace:*",
|
|
4573
5036
|
"@tailwindcss/cli": "catalog:",
|
|
5037
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
4574
5038
|
"@testing-library/jest-dom": "^6.9.1",
|
|
4575
5039
|
"@types/node": "catalog:",
|
|
4576
5040
|
"@types/react": "catalog:",
|
|
4577
5041
|
"@types/react-dom": "catalog:",
|
|
4578
5042
|
"@vitejs/plugin-react": "catalog:",
|
|
5043
|
+
"@vitest/coverage-v8": "4.1.1",
|
|
5044
|
+
"document-model": "workspace:*",
|
|
4579
5045
|
"eslint": "^9.38.0",
|
|
4580
5046
|
"eslint-config-prettier": "^10.1.8",
|
|
4581
5047
|
"eslint-plugin-prettier": "^5.5.4",
|
|
4582
5048
|
"eslint-plugin-react": "^7.37.5",
|
|
4583
5049
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
4584
5050
|
"globals": "^16.4.0",
|
|
5051
|
+
"graphql": "catalog:",
|
|
5052
|
+
"graphql-tag": "catalog:",
|
|
5053
|
+
"react": "catalog:",
|
|
5054
|
+
"react-dom": "catalog:",
|
|
4585
5055
|
"tailwindcss": "catalog:",
|
|
4586
5056
|
"tsdown": "catalog:",
|
|
4587
5057
|
"typescript": "^5.9.3",
|
|
4588
5058
|
"typescript-eslint": "^8.46.2",
|
|
4589
5059
|
"vite": "catalog:",
|
|
4590
5060
|
"vite-tsconfig-paths": "catalog:",
|
|
4591
|
-
"vitest": "catalog:"
|
|
5061
|
+
"vitest": "catalog:",
|
|
5062
|
+
"zod": "catalog:"
|
|
4592
5063
|
},
|
|
4593
|
-
"description": ""
|
|
5064
|
+
"description": "",
|
|
5065
|
+
"peerDependencies": {
|
|
5066
|
+
"@powerhousedao/reactor-browser": "workspace:*",
|
|
5067
|
+
"document-model": "workspace:*",
|
|
5068
|
+
"react": "catalog:",
|
|
5069
|
+
"react-dom": "catalog:",
|
|
5070
|
+
"zod": "catalog:"
|
|
5071
|
+
}
|
|
4594
5072
|
}
|
|
4595
5073
|
},
|
|
4596
5074
|
{
|
|
@@ -4603,10 +5081,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4603
5081
|
"files": ["/dist"],
|
|
4604
5082
|
"exports": {
|
|
4605
5083
|
".": {
|
|
5084
|
+
"source": "./index.ts",
|
|
4606
5085
|
"types": "./dist/index.d.ts",
|
|
4607
5086
|
"import": "./dist/index.js"
|
|
4608
5087
|
},
|
|
4609
5088
|
"./document-models": {
|
|
5089
|
+
"source": "./document-models/index.ts",
|
|
4610
5090
|
"types": "./dist/document-models/index.d.ts",
|
|
4611
5091
|
"import": "./dist/document-models/index.js"
|
|
4612
5092
|
},
|
|
@@ -4615,6 +5095,7 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4615
5095
|
"import": "./dist/document-models/*/index.js"
|
|
4616
5096
|
},
|
|
4617
5097
|
"./editors": {
|
|
5098
|
+
"source": "./editors/index.ts",
|
|
4618
5099
|
"types": "./dist/editors/index.d.ts",
|
|
4619
5100
|
"import": "./dist/editors/index.js"
|
|
4620
5101
|
},
|
|
@@ -4623,10 +5104,12 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4623
5104
|
"import": "./dist/editors/*/index.js"
|
|
4624
5105
|
},
|
|
4625
5106
|
"./processors": {
|
|
5107
|
+
"source": "./processors/index.ts",
|
|
4626
5108
|
"types": "./dist/processors/index.d.ts",
|
|
4627
5109
|
"import": "./dist/processors/index.js"
|
|
4628
5110
|
},
|
|
4629
5111
|
"./subgraphs": {
|
|
5112
|
+
"source": "./subgraphs/index.ts",
|
|
4630
5113
|
"types": "./dist/subgraphs/index.d.ts",
|
|
4631
5114
|
"import": "./dist/subgraphs/index.js"
|
|
4632
5115
|
},
|
|
@@ -4682,27 +5165,59 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4682
5165
|
}
|
|
4683
5166
|
}
|
|
4684
5167
|
], prop("manifest", "name")), isTruthy);
|
|
4685
|
-
const
|
|
4686
|
-
const
|
|
4687
|
-
const
|
|
4688
|
-
...
|
|
4689
|
-
...
|
|
4690
|
-
}),
|
|
4691
|
-
const
|
|
4692
|
-
|
|
4693
|
-
...
|
|
4694
|
-
|
|
5168
|
+
const features = detectFeatures(projectDir);
|
|
5169
|
+
const featurePeerVersioned = features.flatMap((f) => FEATURE_DEPENDENCIES[f].peerVersioned);
|
|
5170
|
+
const featurePeerExternal = features.reduce((acc, f) => ({
|
|
5171
|
+
...acc,
|
|
5172
|
+
...FEATURE_DEPENDENCIES[f].peerExternal
|
|
5173
|
+
}), {});
|
|
5174
|
+
const managedPeerVersioned = [...VERSIONED_PEER_DEPENDENCIES, ...featurePeerVersioned];
|
|
5175
|
+
const managedPeerNames = [
|
|
5176
|
+
...managedPeerVersioned,
|
|
5177
|
+
...keys(PEER_EXTERNAL_DEPENDENCIES),
|
|
5178
|
+
...keys(featurePeerExternal)
|
|
5179
|
+
];
|
|
5180
|
+
const managedDevVersioned = [...VERSIONED_DEV_DEPENDENCIES, ...managedPeerVersioned];
|
|
5181
|
+
const managedDevNames = [
|
|
5182
|
+
...managedDevVersioned,
|
|
5183
|
+
...keys(externalDevDependencies),
|
|
5184
|
+
...keys(featurePeerExternal)
|
|
5185
|
+
];
|
|
5186
|
+
const peerExternals = {
|
|
5187
|
+
...mapValues(PEER_EXTERNAL_DEPENDENCIES, (v) => v.peer),
|
|
5188
|
+
...mapValues(featurePeerExternal, (v) => v.peer)
|
|
5189
|
+
};
|
|
5190
|
+
const peerDevPins = {
|
|
5191
|
+
...mapValues(PEER_EXTERNAL_DEPENDENCIES, (v) => v.dev),
|
|
5192
|
+
...mapValues(featurePeerExternal, (v) => v.dev)
|
|
5193
|
+
};
|
|
5194
|
+
const existingDepSources = [
|
|
5195
|
+
packageJson.dependencies,
|
|
5196
|
+
packageJson.devDependencies,
|
|
5197
|
+
packageJson.peerDependencies
|
|
5198
|
+
];
|
|
5199
|
+
const peerDependencies = pipe(packageJson.peerDependencies ?? {}, omit(managedDevNames), merge(preserveProtected({
|
|
5200
|
+
...fromKeys(managedPeerVersioned, () => fullyQualifiedVersion),
|
|
5201
|
+
...peerExternals
|
|
5202
|
+
}, existingDepSources)), mapValues((value, key) => isProtectedVersionSpec(value) ? value : workspacePackageNames.includes(key) ? fullyQualifiedVersion : value), sortByKey);
|
|
5203
|
+
const devDependencies = pipe(merge(packageJson.dependencies ?? {}, packageJson.devDependencies ?? {}), omit(managedPeerNames), merge(preserveProtected({
|
|
5204
|
+
...fromKeys(managedDevVersioned, () => fullyQualifiedVersion),
|
|
5205
|
+
...externalDevDependencies,
|
|
5206
|
+
...peerDevPins
|
|
5207
|
+
}, existingDepSources)), mapValues((value, key) => isProtectedVersionSpec(value) ? value : workspacePackageNames.includes(key) ? fullyQualifiedVersion : value), sortByKey);
|
|
4695
5208
|
console$1.log("Updating package.json...");
|
|
4696
|
-
|
|
5209
|
+
const updatedPackageJson = {
|
|
4697
5210
|
...packageJson,
|
|
4698
5211
|
type: packageJson.type ?? "module",
|
|
4699
5212
|
sideEffects: packageJson.sideEffects ?? false,
|
|
4700
5213
|
files: packageJson.files ?? ["/dist"],
|
|
4701
5214
|
exports,
|
|
4702
5215
|
scripts,
|
|
4703
|
-
|
|
5216
|
+
peerDependencies,
|
|
4704
5217
|
devDependencies
|
|
4705
|
-
}
|
|
5218
|
+
};
|
|
5219
|
+
delete updatedPackageJson.dependencies;
|
|
5220
|
+
await writePackage(projectDir, updatedPackageJson);
|
|
4706
5221
|
console$1.log("Overwriting project root files...");
|
|
4707
5222
|
await writeAllGeneratedProjectFiles(projectDir);
|
|
4708
5223
|
console$1.log("Moving unversioned document models...");
|
|
@@ -4710,10 +5225,19 @@ async function migrate(version, projectDir = process.cwd()) {
|
|
|
4710
5225
|
const project = buildTsMorphProject(projectDir);
|
|
4711
5226
|
console$1.log("Fixing legacy import paths...");
|
|
4712
5227
|
fixLegacyImportPaths(project, packageJson.name);
|
|
5228
|
+
console$1.log("Installing dependencies...");
|
|
5229
|
+
await installProjectDependencies(projectDir);
|
|
4713
5230
|
console$1.log("Re-generating code...");
|
|
4714
5231
|
await generateAll(project);
|
|
4715
5232
|
await project.save();
|
|
4716
5233
|
}
|
|
5234
|
+
async function installProjectDependencies(projectDir) {
|
|
5235
|
+
const agent = await getPackageManagerAtPowerhouseProjectDirPath(projectDir);
|
|
5236
|
+
if (!agent) throw new Error("Failed to detect your package manager. Run install manually.");
|
|
5237
|
+
const installCommand = await getPowerhouseProjectInstallCommand(agent);
|
|
5238
|
+
console$1.log(`Installing dependencies with \`${agent}\``);
|
|
5239
|
+
runCmd(installCommand, { cwd: projectDir });
|
|
5240
|
+
}
|
|
4717
5241
|
function moveLegacyDocumentModels(projectDir) {
|
|
4718
5242
|
const fileNamesToDelete = [
|
|
4719
5243
|
"actions.ts",
|
|
@@ -5119,6 +5643,6 @@ var TSMorphCodeGenerator = class {
|
|
|
5119
5643
|
}
|
|
5120
5644
|
};
|
|
5121
5645
|
//#endregion
|
|
5122
|
-
export { DeclarationManager, DirectoryManager, ImportManager, ReducerGenerator, TSMorphCodeGenerator, cloneRepository, configSpec, createProject, fixLegacyImportPaths, generateAll, generateAllApps, generateAllDocumentModels, generateAllEditors, generateAllProcessors, generateAllSubgraphs, generateApp, generateDBSchema, generateDocumentModel, generateDocumentModelZodSchemas, generateEditor, generateFromFile, generateProcessor, generateSubgraph, generateTypesAndZodSchemasFromGraphql, getFullyQualifiedWorkspacePackageVersion, installDependencies, loadDocumentModel, migrate, parseArgs, parseConfig, scalars, scalarsValidation, validateDocumentModelState };
|
|
5646
|
+
export { DeclarationManager, DirectoryManager, ImportManager, ReducerGenerator, TSMorphCodeGenerator, cloneRepository, configSpec, createProject, detectFeatures, fixLegacyImportPaths, generateAll, generateAllApps, generateAllDocumentModels, generateAllEditors, generateAllProcessors, generateAllSubgraphs, generateApp, generateDBSchema, generateDocumentModel, generateDocumentModelZodSchemas, generateEditor, generateFromFile, generateProcessor, generateSubgraph, generateTypesAndZodSchemasFromGraphql, getCodegenVersion, getFullyQualifiedWorkspacePackageVersion, installDependencies, loadDocumentModel, migrate, parseArgs, parseConfig, scalars, scalarsValidation, sortByKey, syncFeatureDependencies, validateDocumentModelState };
|
|
5123
5647
|
|
|
5124
5648
|
//# sourceMappingURL=index.mjs.map
|