@powerhousedao/config 6.0.0-dev.172 → 6.0.0-dev.174

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## 6.0.0-dev.174 (2026-04-15)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **shared,ph-cli:** extract registry helpers, refactor publish/install commands ([f00289f6b](https://github.com/powerhouse-inc/powerhouse/commit/f00289f6b))
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **deps:** resolve all critical and high security vulnerabilities ([6a8531af3](https://github.com/powerhouse-inc/powerhouse/commit/6a8531af3))
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - acaldas
14
+
15
+ ## 6.0.0-dev.173 (2026-04-15)
16
+
17
+ ### 🩹 Fixes
18
+
19
+ - **renown:** fix sleep listener leak, fix pre-existing test failures, add test script ([606e9f82e](https://github.com/powerhouse-inc/powerhouse/commit/606e9f82e))
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - acaldas
24
+
1
25
  ## 6.0.0-dev.172 (2026-04-15)
2
26
 
3
27
  This was a version bump only for @powerhousedao/config to align it with other projects, there were no code changes.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DEFAULT_CONFIG } from "@powerhousedao/shared/clis";
1
+ import { DEFAULT_CONFIG, DEFAULT_REGISTRY_URL } from "@powerhousedao/shared/clis";
2
2
  import { DocumentModelModule, Manifest, PHPackageProvider, PowerhouseConfig, PowerhouseModule, PowerhousePackage, Publisher } from "@powerhousedao/shared";
3
3
 
4
4
  //#region src/powerhouse.d.ts
@@ -12,7 +12,6 @@ declare const LogLevels: {
12
12
  };
13
13
  type LogLevel = keyof typeof LogLevels;
14
14
  declare function isLogLevel(value: unknown): value is LogLevel;
15
- declare const DEFAULT_REGISTRY_URL = "https://registry.prod.vetra.io";
16
15
  type VetraProcessorConfigType = {
17
16
  interactive?: boolean;
18
17
  driveUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/powerhouse.ts","../src/packages.ts"],"mappings":";;;;cAAa,SAAA;EAAA;;;;;;;KASD,QAAA,gBAAwB,SAAA;AAAA,iBAEpB,UAAA,CAAW,KAAA,YAAiB,KAAA,IAAS,QAAA;AAAA,cAUxC,oBAAA;AAAA,KAWD,wBAAA;EACV,WAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,iBAGc,qBAAA,CACd,MAAA,EAAQ,gBAAA,EACR,GAAA,GAAK,MAAA;EAEL,WAAA;EACA,YAAA;AAAA;AAAA,cAmBW,0BAAA;;;cC5DA,WAAA,EAAa,iBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/powerhouse.ts","../src/packages.ts"],"mappings":";;;;cAAa,SAAA;EAAA;;;;;;;KASD,QAAA,gBAAwB,SAAA;AAAA,iBAEpB,UAAA,CAAW,KAAA,YAAiB,KAAA,IAAS,QAAA;AAAA,KAsBzC,wBAAA;EACV,WAAA;EACA,QAAA;EACA,OAAA;AAAA;AAAA,iBAGc,qBAAA,CACd,MAAA,EAAQ,gBAAA,EACR,GAAA,GAAK,MAAA;EAEL,WAAA;EACA,YAAA;AAAA;AAAA,cAmBW,0BAAA;;;cC7DA,WAAA,EAAa,iBAAA"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DEFAULT_CONFIG } from "@powerhousedao/shared/clis";
1
+ import { DEFAULT_CONFIG, DEFAULT_REGISTRY_URL } from "@powerhousedao/shared/clis";
2
2
  //#region src/packages.ts
3
3
  const PH_PACKAGES = [{
4
4
  packageName: "@sky-ph/atlas",
@@ -19,7 +19,6 @@ const LogLevels = {
19
19
  function isLogLevel(value) {
20
20
  return typeof value === "string" && value in LogLevels;
21
21
  }
22
- const DEFAULT_REGISTRY_URL = "https://registry.prod.vetra.io";
23
22
  function resolveRegistryConfig(config, env = {}) {
24
23
  let registryUrl = config.packageRegistryUrl;
25
24
  let packageNames = config.packages?.filter((p) => p.provider === "registry").map((p) => p.packageName) ?? [];
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/packages.ts","../src/powerhouse.ts"],"sourcesContent":["import type { PowerhousePackage } from \"./powerhouse.js\";\n\nexport const PH_PACKAGES: PowerhousePackage[] = [\n {\n packageName: \"@sky-ph/atlas\",\n version: \"latest\",\n provider: \"npm\",\n url: \"https://www.npmjs.com/package/@sky-ph/atlas\",\n },\n];\n","export const LogLevels = {\n verbose: 1,\n debug: 2,\n info: 3,\n warn: 4,\n error: 5,\n silent: 6,\n} as const;\n\nexport type LogLevel = keyof typeof LogLevels;\n\nexport function isLogLevel(value: unknown): value is LogLevel {\n return typeof value === \"string\" && value in LogLevels;\n}\nimport type { PowerhouseConfig } from \"@powerhousedao/shared\";\nexport type {\n PHPackageProvider,\n PowerhousePackage,\n} from \"@powerhousedao/shared\";\nexport type { PowerhouseConfig };\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.prod.vetra.io\";\n\nexport { DEFAULT_CONFIG } from \"@powerhousedao/shared/clis\";\n\nexport type {\n DocumentModelModule,\n Manifest,\n PowerhouseModule,\n Publisher,\n} from \"@powerhousedao/shared\";\n\nexport type VetraProcessorConfigType = {\n interactive?: boolean;\n driveUrl: string;\n driveId: string;\n};\n\nexport function resolveRegistryConfig(\n config: PowerhouseConfig,\n env: Record<string, string | undefined> = {},\n): {\n registryUrl: string | undefined;\n packageNames: string[];\n} {\n let registryUrl = config.packageRegistryUrl;\n let packageNames =\n config.packages\n ?.filter((p) => p.provider === \"registry\")\n .map((p) => p.packageName) ?? [];\n\n // Env vars override config\n if (env.PH_REGISTRY_URL) {\n registryUrl = env.PH_REGISTRY_URL;\n }\n if (env.PH_REGISTRY_PACKAGES) {\n packageNames = env.PH_REGISTRY_PACKAGES.split(\",\").map((p) => p.trim());\n }\n\n return { registryUrl, packageNames };\n}\n\nexport const VETRA_PROCESSOR_CONFIG_KEY = \"VetraConfig\";\n"],"mappings":";;AAEA,MAAa,cAAmC,CAC9C;CACE,aAAa;CACb,SAAS;CACT,UAAU;CACV,KAAK;CACN,CACF;;;ACTD,MAAa,YAAY;CACvB,SAAS;CACT,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,QAAQ;CACT;AAID,SAAgB,WAAW,OAAmC;AAC5D,QAAO,OAAO,UAAU,YAAY,SAAS;;AAS/C,MAAa,uBAAuB;AAiBpC,SAAgB,sBACd,QACA,MAA0C,EAAE,EAI5C;CACA,IAAI,cAAc,OAAO;CACzB,IAAI,eACF,OAAO,UACH,QAAQ,MAAM,EAAE,aAAa,WAAW,CACzC,KAAK,MAAM,EAAE,YAAY,IAAI,EAAE;AAGpC,KAAI,IAAI,gBACN,eAAc,IAAI;AAEpB,KAAI,IAAI,qBACN,gBAAe,IAAI,qBAAqB,MAAM,IAAI,CAAC,KAAK,MAAM,EAAE,MAAM,CAAC;AAGzE,QAAO;EAAE;EAAa;EAAc;;AAGtC,MAAa,6BAA6B"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/packages.ts","../src/powerhouse.ts"],"sourcesContent":["import type { PowerhousePackage } from \"./powerhouse.js\";\n\nexport const PH_PACKAGES: PowerhousePackage[] = [\n {\n packageName: \"@sky-ph/atlas\",\n version: \"latest\",\n provider: \"npm\",\n url: \"https://www.npmjs.com/package/@sky-ph/atlas\",\n },\n];\n","export const LogLevels = {\n verbose: 1,\n debug: 2,\n info: 3,\n warn: 4,\n error: 5,\n silent: 6,\n} as const;\n\nexport type LogLevel = keyof typeof LogLevels;\n\nexport function isLogLevel(value: unknown): value is LogLevel {\n return typeof value === \"string\" && value in LogLevels;\n}\nimport type { PowerhouseConfig } from \"@powerhousedao/shared\";\nexport type {\n PHPackageProvider,\n PowerhousePackage,\n} from \"@powerhousedao/shared\";\nexport type { PowerhouseConfig };\n\nexport {\n DEFAULT_CONFIG,\n DEFAULT_REGISTRY_URL,\n} from \"@powerhousedao/shared/clis\";\n\nexport type {\n DocumentModelModule,\n Manifest,\n PowerhouseModule,\n Publisher,\n} from \"@powerhousedao/shared\";\n\nexport type VetraProcessorConfigType = {\n interactive?: boolean;\n driveUrl: string;\n driveId: string;\n};\n\nexport function resolveRegistryConfig(\n config: PowerhouseConfig,\n env: Record<string, string | undefined> = {},\n): {\n registryUrl: string | undefined;\n packageNames: string[];\n} {\n let registryUrl = config.packageRegistryUrl;\n let packageNames =\n config.packages\n ?.filter((p) => p.provider === \"registry\")\n .map((p) => p.packageName) ?? [];\n\n // Env vars override config\n if (env.PH_REGISTRY_URL) {\n registryUrl = env.PH_REGISTRY_URL;\n }\n if (env.PH_REGISTRY_PACKAGES) {\n packageNames = env.PH_REGISTRY_PACKAGES.split(\",\").map((p) => p.trim());\n }\n\n return { registryUrl, packageNames };\n}\n\nexport const VETRA_PROCESSOR_CONFIG_KEY = \"VetraConfig\";\n"],"mappings":";;AAEA,MAAa,cAAmC,CAC9C;CACE,aAAa;CACb,SAAS;CACT,UAAU;CACV,KAAK;CACN,CACF;;;ACTD,MAAa,YAAY;CACvB,SAAS;CACT,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,QAAQ;CACT;AAID,SAAgB,WAAW,OAAmC;AAC5D,QAAO,OAAO,UAAU,YAAY,SAAS;;AA2B/C,SAAgB,sBACd,QACA,MAA0C,EAAE,EAI5C;CACA,IAAI,cAAc,OAAO;CACzB,IAAI,eACF,OAAO,UACH,QAAQ,MAAM,EAAE,aAAa,WAAW,CACzC,KAAK,MAAM,EAAE,YAAY,IAAI,EAAE;AAGpC,KAAI,IAAI,gBACN,eAAc,IAAI;AAEpB,KAAI,IAAI,qBACN,gBAAe,IAAI,qBAAqB,MAAM,IAAI,CAAC,KAAK,MAAM,EAAE,MAAM,CAAC;AAGzE,QAAO;EAAE;EAAa;EAAc;;AAGtC,MAAa,6BAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/config",
3
- "version": "6.0.0-dev.172",
3
+ "version": "6.0.0-dev.174",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0-only",
6
6
  "private": false,
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@powerhousedao/shared": "6.0.0-dev.172"
27
+ "@powerhousedao/shared": "6.0.0-dev.174"
28
28
  },
29
29
  "devDependencies": {
30
30
  "tsdown": "0.21.0"
package/src/powerhouse.ts CHANGED
@@ -19,9 +19,10 @@ export type {
19
19
  } from "@powerhousedao/shared";
20
20
  export type { PowerhouseConfig };
21
21
 
22
- export const DEFAULT_REGISTRY_URL = "https://registry.prod.vetra.io";
23
-
24
- export { DEFAULT_CONFIG } from "@powerhousedao/shared/clis";
22
+ export {
23
+ DEFAULT_CONFIG,
24
+ DEFAULT_REGISTRY_URL,
25
+ } from "@powerhousedao/shared/clis";
25
26
 
26
27
  export type {
27
28
  DocumentModelModule,