ph-cmd 6.0.0-dev.61 → 6.0.0-dev.65
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/build/cli.js +9 -2
- package/build/cli.old.js +2 -2
- package/build/generate-commands-docs.js +10 -3
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -567414,6 +567414,7 @@ var VERSIONED_DEV_DEPENDENCIES = [
|
|
|
567414
567414
|
"@powerhousedao/reactor-local",
|
|
567415
567415
|
"@powerhousedao/switchboard",
|
|
567416
567416
|
"@powerhousedao/connect",
|
|
567417
|
+
"@powerhousedao/analytics-engine-core",
|
|
567417
567418
|
"document-drive"
|
|
567418
567419
|
];
|
|
567419
567420
|
|
|
@@ -567852,6 +567853,13 @@ var generateArgs = {
|
|
|
567852
567853
|
defaultValue: () => false,
|
|
567853
567854
|
defaultValueIsSerializable: true
|
|
567854
567855
|
}),
|
|
567856
|
+
migrateLegacy: import_cmd_ts4.flag({
|
|
567857
|
+
type: import_cmd_ts4.boolean,
|
|
567858
|
+
long: "migrate-legacy",
|
|
567859
|
+
description: "Migrate existing legacy document model code to versioned structure. Implies --use-versioning.",
|
|
567860
|
+
defaultValue: () => false,
|
|
567861
|
+
defaultValueIsSerializable: true
|
|
567862
|
+
}),
|
|
567855
567863
|
...debugArgs
|
|
567856
567864
|
};
|
|
567857
567865
|
|
|
@@ -573520,7 +573528,6 @@ var devDependenciesTemplate = (versionedDevDependencies) => json`
|
|
|
573520
573528
|
`)},
|
|
573521
573529
|
"@electric-sql/pglite": "^0.2.12",
|
|
573522
573530
|
"@eslint/js": "^9.38.0",
|
|
573523
|
-
"@powerhousedao/analytics-engine-core": "0.6.4",
|
|
573524
573531
|
"@tailwindcss/cli": "^4.1.4",
|
|
573525
573532
|
"@testing-library/react": "^16.3.0",
|
|
573526
573533
|
"@types/node": "^24.9.2",
|
|
@@ -602241,7 +602248,7 @@ var use = import_cmd_ts16.command({
|
|
|
602241
602248
|
});
|
|
602242
602249
|
|
|
602243
602250
|
// src/commands/ph.ts
|
|
602244
|
-
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.
|
|
602251
|
+
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.64");
|
|
602245
602252
|
var ph = import_cmd_ts17.subcommands({
|
|
602246
602253
|
name: "ph",
|
|
602247
602254
|
version: phCmdVersionInfo,
|
package/build/cli.old.js
CHANGED
|
@@ -568602,6 +568602,7 @@ var VERSIONED_DEV_DEPENDENCIES = [
|
|
|
568602
568602
|
"@powerhousedao/reactor-local",
|
|
568603
568603
|
"@powerhousedao/switchboard",
|
|
568604
568604
|
"@powerhousedao/connect",
|
|
568605
|
+
"@powerhousedao/analytics-engine-core",
|
|
568605
568606
|
"document-drive"
|
|
568606
568607
|
];
|
|
568607
568608
|
|
|
@@ -574100,7 +574101,6 @@ var devDependenciesTemplate = (versionedDevDependencies) => json`
|
|
|
574100
574101
|
`)},
|
|
574101
574102
|
"@electric-sql/pglite": "^0.2.12",
|
|
574102
574103
|
"@eslint/js": "^9.38.0",
|
|
574103
|
-
"@powerhousedao/analytics-engine-core": "0.6.4",
|
|
574104
574104
|
"@tailwindcss/cli": "^4.1.4",
|
|
574105
574105
|
"@testing-library/react": "^16.3.0",
|
|
574106
574106
|
"@types/node": "^24.9.2",
|
|
@@ -602312,7 +602312,7 @@ import fs6 from "node:fs";
|
|
|
602312
602312
|
import path9 from "node:path";
|
|
602313
602313
|
var customVersionHandler = async () => {
|
|
602314
602314
|
const projectInfo = await getProjectInfo(undefined, false);
|
|
602315
|
-
const version2 = "6.0.0-dev.
|
|
602315
|
+
const version2 = "6.0.0-dev.64";
|
|
602316
602316
|
console.log("PH CMD version: ", version2);
|
|
602317
602317
|
if (projectInfo.available) {
|
|
602318
602318
|
const packageManager = getPackageManagerFromLockfile(projectInfo.path);
|
|
@@ -571906,7 +571906,6 @@ var devDependenciesTemplate = (versionedDevDependencies) => json`
|
|
|
571906
571906
|
`)},
|
|
571907
571907
|
"@electric-sql/pglite": "^0.2.12",
|
|
571908
571908
|
"@eslint/js": "^9.38.0",
|
|
571909
|
-
"@powerhousedao/analytics-engine-core": "0.6.4",
|
|
571910
571909
|
"@tailwindcss/cli": "^4.1.4",
|
|
571911
571910
|
"@testing-library/react": "^16.3.0",
|
|
571912
571911
|
"@types/node": "^24.9.2",
|
|
@@ -572322,6 +572321,7 @@ var VERSIONED_DEV_DEPENDENCIES = [
|
|
|
572322
572321
|
"@powerhousedao/reactor-local",
|
|
572323
572322
|
"@powerhousedao/switchboard",
|
|
572324
572323
|
"@powerhousedao/connect",
|
|
572324
|
+
"@powerhousedao/analytics-engine-core",
|
|
572325
572325
|
"document-drive"
|
|
572326
572326
|
];
|
|
572327
572327
|
|
|
@@ -572760,6 +572760,13 @@ var generateArgs = {
|
|
|
572760
572760
|
defaultValue: () => false,
|
|
572761
572761
|
defaultValueIsSerializable: true
|
|
572762
572762
|
}),
|
|
572763
|
+
migrateLegacy: import_cmd_ts4.flag({
|
|
572764
|
+
type: import_cmd_ts4.boolean,
|
|
572765
|
+
long: "migrate-legacy",
|
|
572766
|
+
description: "Migrate existing legacy document model code to versioned structure. Implies --use-versioning.",
|
|
572767
|
+
defaultValue: () => false,
|
|
572768
|
+
defaultValueIsSerializable: true
|
|
572769
|
+
}),
|
|
572763
572770
|
...debugArgs
|
|
572764
572771
|
};
|
|
572765
572772
|
|
|
@@ -602226,7 +602233,7 @@ var use = import_cmd_ts16.command({
|
|
|
602226
602233
|
});
|
|
602227
602234
|
|
|
602228
602235
|
// src/commands/ph.ts
|
|
602229
|
-
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.
|
|
602236
|
+
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.64");
|
|
602230
602237
|
var ph = import_cmd_ts17.subcommands({
|
|
602231
602238
|
name: "ph",
|
|
602232
602239
|
version: phCmdVersionInfo,
|
|
@@ -602254,7 +602261,7 @@ var cliDescription = ph.description ?? "";
|
|
|
602254
602261
|
async function main2() {
|
|
602255
602262
|
await writeCliDocsMarkdownFile({
|
|
602256
602263
|
filePath: "COMMANDS.md",
|
|
602257
|
-
docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.
|
|
602264
|
+
docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.64"})`,
|
|
602258
602265
|
docsIntroduction: "This document provides detailed information about the available commands in the PH-CMD CLI. The CLI is published as `ph-cmd` and is invoked with the `ph` command.",
|
|
602259
602266
|
cliDescription,
|
|
602260
602267
|
entries: commands
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ph-cmd",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.65",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"read-pkg": "10.1.0",
|
|
35
35
|
"vitest": "3.2.4",
|
|
36
36
|
"write-package": "7.2.0",
|
|
37
|
-
"@powerhousedao/
|
|
38
|
-
"@powerhousedao/
|
|
37
|
+
"@powerhousedao/codegen": "6.0.0-dev.65",
|
|
38
|
+
"@powerhousedao/common": "6.0.0-dev.65"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"tsc": "tsc",
|