@powerhousedao/shared 6.2.0-dev.29 → 6.2.0-dev.30
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/clis/args/{common-BQ2pvhCr.d.mts → common-DxMY8vx1.d.mts} +3 -3
- package/dist/clis/args/{common-BQ2pvhCr.d.mts.map → common-DxMY8vx1.d.mts.map} +1 -1
- package/dist/clis/args/common-fPNESurz.mjs.map +1 -1
- package/dist/clis/args/common.d.mts +1 -1
- package/dist/clis/args/connect.d.mts +5 -5
- package/dist/clis/args/index.d.mts +1 -1
- package/dist/clis/args/vetra.d.mts +1 -1
- package/dist/clis/build-config.d.mts +1 -1
- package/dist/clis/build-config.d.mts.map +1 -1
- package/dist/clis/constants.d.mts +10 -11
- package/dist/clis/constants.d.mts.map +1 -1
- package/dist/clis/constants.mjs +42 -11
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +10 -11
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +42 -11
- package/dist/clis/index.mjs.map +1 -1
- package/dist/registry/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -260,8 +260,10 @@ declare const packageJsonExports: {
|
|
|
260
260
|
};
|
|
261
261
|
declare const packageScripts: {
|
|
262
262
|
readonly "test:watch": "vitest";
|
|
263
|
-
readonly lint: "
|
|
264
|
-
readonly "lint:fix": "
|
|
263
|
+
readonly lint: "oxlint --type-aware --type-check";
|
|
264
|
+
readonly "lint:fix": "oxlint --type-aware --type-check --fix";
|
|
265
|
+
readonly format: "oxfmt";
|
|
266
|
+
readonly "format:check": "oxfmt --check";
|
|
265
267
|
readonly tsc: "tsc";
|
|
266
268
|
readonly "tsc:watch": "tsc --watch";
|
|
267
269
|
readonly generate: "ph-cli generate";
|
|
@@ -274,10 +276,11 @@ declare const packageScripts: {
|
|
|
274
276
|
readonly "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh";
|
|
275
277
|
};
|
|
276
278
|
declare const externalDependencies: {};
|
|
279
|
+
declare const LEGACY_LINT_FORMAT_DEPENDENCIES: readonly ["@eslint/js", "eslint", "eslint-config-prettier", "eslint-plugin-prettier", "eslint-plugin-react", "eslint-plugin-react-hooks", "globals", "prettier", "typescript-eslint"];
|
|
280
|
+
declare const LEGACY_LINT_FORMAT_FILES: readonly ["eslint.config.js", "eslint.config.mjs", "eslint.config.cjs", "eslint.config.ts", ".eslintrc", ".eslintrc.js", ".eslintrc.cjs", ".eslintrc.json", ".eslintrc.yml", ".eslintrc.yaml", ".eslintignore", ".prettierrc", ".prettierrc.js", ".prettierrc.cjs", ".prettierrc.json", ".prettierrc.yml", ".prettierrc.yaml", "prettier.config.js", "prettier.config.cjs", "prettier.config.mjs", ".prettierignore"];
|
|
277
281
|
declare const externalDevDependencies: {
|
|
278
282
|
readonly "@electric-sql/pglite": "0.3.15";
|
|
279
283
|
readonly "@electric-sql/pglite-tools": "0.2.20";
|
|
280
|
-
readonly "@eslint/js": "^9.38.0";
|
|
281
284
|
readonly "@powerhousedao/document-engineering": "1.40.5";
|
|
282
285
|
readonly "@tailwindcss/cli": "^4.1.18";
|
|
283
286
|
readonly "@tailwindcss/vite": "^4.1.18";
|
|
@@ -286,15 +289,11 @@ declare const externalDevDependencies: {
|
|
|
286
289
|
readonly "@types/react-dom": "^19.2.3";
|
|
287
290
|
readonly "@vitejs/plugin-react": "^6.0.1";
|
|
288
291
|
readonly "@vitest/coverage-v8": "4.1.1";
|
|
289
|
-
readonly
|
|
290
|
-
readonly
|
|
291
|
-
readonly "
|
|
292
|
-
readonly "eslint-plugin-react": "^7.37.5";
|
|
293
|
-
readonly "eslint-plugin-react-hooks": "^7.0.1";
|
|
294
|
-
readonly globals: "^16.4.0";
|
|
292
|
+
readonly oxfmt: "0.55.0";
|
|
293
|
+
readonly oxlint: "1.70.0";
|
|
294
|
+
readonly "oxlint-tsgolint": "0.23.0";
|
|
295
295
|
readonly tailwindcss: "^4.1.16";
|
|
296
296
|
readonly typescript: "^5.9.3";
|
|
297
|
-
readonly "typescript-eslint": "^8.46.2";
|
|
298
297
|
readonly vite: "^8.0.10";
|
|
299
298
|
readonly "vite-tsconfig-paths": "6.1.1";
|
|
300
299
|
readonly vitest: "4.1.1";
|
|
@@ -302,5 +301,5 @@ declare const externalDevDependencies: {
|
|
|
302
301
|
declare const defaultManifest: Manifest;
|
|
303
302
|
declare const DEFAULT_CONFIG: PowerhouseConfig;
|
|
304
303
|
//#endregion
|
|
305
|
-
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
304
|
+
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
306
305
|
//# sourceMappingURL=constants.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.mts","names":[],"sources":["../../document-model/schemas.ts","../../document-model/types.ts","../../clis/types.ts","../../clis/constants.ts"],"mappings":";;;cAixBa,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCw6Bf,QAAA,GAAW,CAAA,CAAE,KAAA,QAAa,cAAA;;;KC/qD1B,uBAAA,UAAiC,0BAAA;AAAA,KACjC,qBAAA,GAAwB,uBAAA;AAAA,KACxB,SAAA,UAAmB,UAAA;AAAA,KACnB,QAAA,GAAW,SAAA;AAAA,KAOX,iBAAA;AAAA,KAGA,iBAAA;EACV,WAAA;EACA,OAAA;EACA,QAAA,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EAEF,kBAAA;EACA,OAAA,GAAU,sBAAA;AAAA;;;cC3IC,eAAA;AAAA,cAQA,cAAA;AAAA,cACA,mBAAA;AAAA,cACA,sBAAA;AAAA,cAEA,0BAAA;AAAA,cAKA,UAAA;AAAA,cAQA,eAAA;AAAA,cAEA,2BAAA;AAAA,cAEA,0BAAA;AAAA,cAEA,4BAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,kBAAA;AAAA,cAEA,oBAAA;AAAA,cAEA,wBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,oBAAA;AAAA,cACA,MAAA;AAAA,cACA,sBAAA;AAAA,cACA,kBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,QAAA;AAAA,cAEA,qBAAA;AAAA,cAGA,2BAAA;AAAA,cAOA,mBAAA;AAAA,cACA,6BAAA;AAAA,cAEA,eAAA;AAAA,cACA,mBAAA;AAAA,cAQA,0BAAA;EAAA;;;;;;;;;;;;;;;;;;;;;cASA,oBAAA;EAAA;;;;;cAUA,sBAAA;AAAA,cAUA,0BAAA;AAAA,cAYA,0BAAA;EAAA;;;;cAMA,0BAAA;AAAA,cAQA,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCA,cAAA;EAAA
|
|
1
|
+
{"version":3,"file":"constants.d.mts","names":[],"sources":["../../document-model/schemas.ts","../../document-model/types.ts","../../clis/types.ts","../../clis/constants.ts"],"mappings":";;;cAixBa,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCw6Bf,QAAA,GAAW,CAAA,CAAE,KAAA,QAAa,cAAA;;;KC/qD1B,uBAAA,UAAiC,0BAAA;AAAA,KACjC,qBAAA,GAAwB,uBAAA;AAAA,KACxB,SAAA,UAAmB,UAAA;AAAA,KACnB,QAAA,GAAW,SAAA;AAAA,KAOX,iBAAA;AAAA,KAGA,iBAAA;EACV,WAAA;EACA,OAAA;EACA,QAAA,GAA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F,kBAAA;EACA,OAAA,GAAU,sBAAA;AAAA;;;cC3IC,eAAA;AAAA,cAQA,cAAA;AAAA,cACA,mBAAA;AAAA,cACA,sBAAA;AAAA,cAEA,0BAAA;AAAA,cAKA,UAAA;AAAA,cAQA,eAAA;AAAA,cAEA,2BAAA;AAAA,cAEA,0BAAA;AAAA,cAEA,4BAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,kBAAA;AAAA,cAEA,oBAAA;AAAA,cAEA,wBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,oBAAA;AAAA,cACA,MAAA;AAAA,cACA,sBAAA;AAAA,cACA,kBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,QAAA;AAAA,cAEA,qBAAA;AAAA,cAGA,2BAAA;AAAA,cAOA,mBAAA;AAAA,cACA,6BAAA;AAAA,cAEA,eAAA;AAAA,cACA,mBAAA;AAAA,cAQA,0BAAA;EAAA;;;;;;;;;;;;;;;;;;;;;cASA,oBAAA;EAAA;;;;;cAUA,sBAAA;AAAA,cAUA,0BAAA;AAAA,cAYA,0BAAA;EAAA;;;;cAMA,0BAAA;AAAA,cAQA,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCA,cAAA;EAAA;;;;;;;;;;;;;;;;cAoBA,oBAAA;AAAA,cAIA,+BAAA;AAAA,cAcA,wBAAA;AAAA,cAwBA,uBAAA;EAAA;;;;;;;;;;;;;;;;;;;cAqBA,eAAA,EAAiB,QAAA;AAAA,cAuBjB,cAAA,EAAgB,gBAAA"}
|
package/dist/clis/constants.mjs
CHANGED
|
@@ -127,8 +127,10 @@ const packageJsonExports = {
|
|
|
127
127
|
};
|
|
128
128
|
const packageScripts = {
|
|
129
129
|
"test:watch": "vitest",
|
|
130
|
-
lint: "
|
|
131
|
-
"lint:fix": "
|
|
130
|
+
lint: "oxlint --type-aware --type-check",
|
|
131
|
+
"lint:fix": "oxlint --type-aware --type-check --fix",
|
|
132
|
+
format: "oxfmt",
|
|
133
|
+
"format:check": "oxfmt --check",
|
|
132
134
|
tsc: "tsc",
|
|
133
135
|
"tsc:watch": "tsc --watch",
|
|
134
136
|
generate: "ph-cli generate",
|
|
@@ -141,10 +143,43 @@ const packageScripts = {
|
|
|
141
143
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
142
144
|
};
|
|
143
145
|
const externalDependencies = {};
|
|
146
|
+
const LEGACY_LINT_FORMAT_DEPENDENCIES = [
|
|
147
|
+
"@eslint/js",
|
|
148
|
+
"eslint",
|
|
149
|
+
"eslint-config-prettier",
|
|
150
|
+
"eslint-plugin-prettier",
|
|
151
|
+
"eslint-plugin-react",
|
|
152
|
+
"eslint-plugin-react-hooks",
|
|
153
|
+
"globals",
|
|
154
|
+
"prettier",
|
|
155
|
+
"typescript-eslint"
|
|
156
|
+
];
|
|
157
|
+
const LEGACY_LINT_FORMAT_FILES = [
|
|
158
|
+
"eslint.config.js",
|
|
159
|
+
"eslint.config.mjs",
|
|
160
|
+
"eslint.config.cjs",
|
|
161
|
+
"eslint.config.ts",
|
|
162
|
+
".eslintrc",
|
|
163
|
+
".eslintrc.js",
|
|
164
|
+
".eslintrc.cjs",
|
|
165
|
+
".eslintrc.json",
|
|
166
|
+
".eslintrc.yml",
|
|
167
|
+
".eslintrc.yaml",
|
|
168
|
+
".eslintignore",
|
|
169
|
+
".prettierrc",
|
|
170
|
+
".prettierrc.js",
|
|
171
|
+
".prettierrc.cjs",
|
|
172
|
+
".prettierrc.json",
|
|
173
|
+
".prettierrc.yml",
|
|
174
|
+
".prettierrc.yaml",
|
|
175
|
+
"prettier.config.js",
|
|
176
|
+
"prettier.config.cjs",
|
|
177
|
+
"prettier.config.mjs",
|
|
178
|
+
".prettierignore"
|
|
179
|
+
];
|
|
144
180
|
const externalDevDependencies = {
|
|
145
181
|
"@electric-sql/pglite": "0.3.15",
|
|
146
182
|
"@electric-sql/pglite-tools": "0.2.20",
|
|
147
|
-
"@eslint/js": "^9.38.0",
|
|
148
183
|
"@powerhousedao/document-engineering": "1.40.5",
|
|
149
184
|
"@tailwindcss/cli": "^4.1.18",
|
|
150
185
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -153,15 +188,11 @@ const externalDevDependencies = {
|
|
|
153
188
|
"@types/react-dom": "^19.2.3",
|
|
154
189
|
"@vitejs/plugin-react": "^6.0.1",
|
|
155
190
|
"@vitest/coverage-v8": "4.1.1",
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
"eslint-plugin-react": "^7.37.5",
|
|
160
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
161
|
-
globals: "^16.4.0",
|
|
191
|
+
oxfmt: "0.55.0",
|
|
192
|
+
oxlint: "1.70.0",
|
|
193
|
+
"oxlint-tsgolint": "0.23.0",
|
|
162
194
|
tailwindcss: "^4.1.16",
|
|
163
195
|
typescript: "^5.9.3",
|
|
164
|
-
"typescript-eslint": "^8.46.2",
|
|
165
196
|
vite: "^8.0.10",
|
|
166
197
|
"vite-tsconfig-paths": "6.1.1",
|
|
167
198
|
vitest: "4.1.1"
|
|
@@ -194,6 +225,6 @@ const DEFAULT_CONFIG = {
|
|
|
194
225
|
}
|
|
195
226
|
};
|
|
196
227
|
//#endregion
|
|
197
|
-
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
228
|
+
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
198
229
|
|
|
199
230
|
//# sourceMappingURL=constants.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.dev.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n },\n} as const satisfies Record<\n string,\n { peerVersioned: readonly string[]; peerExternal: Record<string, PeerSpec> }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"esbuild\",\n \"protobufjs\",\n] as const;\n\n// pnpm `overrides` written into the generated project's pnpm-workspace.yaml to\n// force a single chosen version of each, avoiding duplicates from coexisting\n// version ranges. Generated-project only — never change the monorepo catalog\n// for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_PNPM_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"eslint --config eslint.config.js --cache\",\n \"lint:fix\": \"npm run lint -- --fix\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@eslint/js\": \"^9.38.0\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n eslint: \"^9.38.0\",\n \"eslint-config-prettier\": \"^10.1.8\",\n \"eslint-plugin-prettier\": \"^5.5.4\",\n \"eslint-plugin-react\": \"^7.37.5\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n globals: \"^16.4.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n \"typescript-eslint\": \"^8.46.2\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,iBAAiB,OAAU;AACxC,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,6BACD;AAED,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;AAElC,MAAa,uBAAuB;AAEpC,MAAa,2BAA2B;AAExC,MAAa,yBAAyB;AAEtC,MAAa,uBAAuB;AACpC,MAAa,SAAS;AACtB,MAAa,yBAAyB;AACtC,MAAa,qB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;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CACP,mBACE;CACF,qBACE;CACH;AAED,MAAa,uBAAuB,EAAE;AAEtC,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,cAAc;CACd,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,QAAQ;CACR,0BAA0B;CAC1B,0BAA0B;CAC1B,uBAAuB;CACvB,6BAA6B;CAC7B,SAAS;CACT,aAAa;CACb,YAAY;CACZ,qBAAqB;CACrB,MAAM;CACN,uBAAuB;CACvB,QAAQ;CACT;AAED,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;EACN;CACD,gBAAgB,EAAE;CAClB,SAAS,EAAE;CACX,MAAM,EAAE;CACR,WAAW,EAAE;CACb,YAAY,EAAE;CACf;AAUD,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF"}
|
|
1
|
+
{"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.dev.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n },\n} as const satisfies Record<\n string,\n { peerVersioned: readonly string[]; peerExternal: Record<string, PeerSpec> }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"esbuild\",\n \"protobufjs\",\n] as const;\n\n// pnpm `overrides` written into the generated project's pnpm-workspace.yaml to\n// force a single chosen version of each, avoiding duplicates from coexisting\n// version ranges. Generated-project only — never change the monorepo catalog\n// for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_PNPM_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n oxfmt: \"0.55.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,iBAAiB,OAAU;AACxC,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,6BACD;AAED,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;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BAAgB;EACd,OAAO;EACP,SAAS;EACT,MAAM;EACP;CACD,cAAc;CACd,eAAe;CAChB;AAED,MAAa,iBAAiB;CAC5B,cAAc;CACd,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,KAAK;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CACP,mBACE;CACF,qBACE;CACH;AAED,MAAa,uBAAuB,EAAE;AAItC,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAID,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,OAAO;CACP,QAAQ;CACR,mBAAmB;CACnB,aAAa;CACb,YAAY;CACZ,MAAM;CACN,uBAAuB;CACvB,QAAQ;CACT;AAED,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;EACN;CACD,gBAAgB,EAAE;CAClB,SAAS,EAAE;CACX,MAAM,EAAE;CACR,WAAW,EAAE;CACb,YAAY,EAAE;CACf;AAUD,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF"}
|
package/dist/clis/index.d.mts
CHANGED
|
@@ -1183,8 +1183,10 @@ declare const packageJsonExports: {
|
|
|
1183
1183
|
};
|
|
1184
1184
|
declare const packageScripts: {
|
|
1185
1185
|
readonly "test:watch": "vitest";
|
|
1186
|
-
readonly lint: "
|
|
1187
|
-
readonly "lint:fix": "
|
|
1186
|
+
readonly lint: "oxlint --type-aware --type-check";
|
|
1187
|
+
readonly "lint:fix": "oxlint --type-aware --type-check --fix";
|
|
1188
|
+
readonly format: "oxfmt";
|
|
1189
|
+
readonly "format:check": "oxfmt --check";
|
|
1188
1190
|
readonly tsc: "tsc";
|
|
1189
1191
|
readonly "tsc:watch": "tsc --watch";
|
|
1190
1192
|
readonly generate: "ph-cli generate";
|
|
@@ -1197,10 +1199,11 @@ declare const packageScripts: {
|
|
|
1197
1199
|
readonly "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh";
|
|
1198
1200
|
};
|
|
1199
1201
|
declare const externalDependencies: {};
|
|
1202
|
+
declare const LEGACY_LINT_FORMAT_DEPENDENCIES: readonly ["@eslint/js", "eslint", "eslint-config-prettier", "eslint-plugin-prettier", "eslint-plugin-react", "eslint-plugin-react-hooks", "globals", "prettier", "typescript-eslint"];
|
|
1203
|
+
declare const LEGACY_LINT_FORMAT_FILES: readonly ["eslint.config.js", "eslint.config.mjs", "eslint.config.cjs", "eslint.config.ts", ".eslintrc", ".eslintrc.js", ".eslintrc.cjs", ".eslintrc.json", ".eslintrc.yml", ".eslintrc.yaml", ".eslintignore", ".prettierrc", ".prettierrc.js", ".prettierrc.cjs", ".prettierrc.json", ".prettierrc.yml", ".prettierrc.yaml", "prettier.config.js", "prettier.config.cjs", "prettier.config.mjs", ".prettierignore"];
|
|
1200
1204
|
declare const externalDevDependencies: {
|
|
1201
1205
|
readonly "@electric-sql/pglite": "0.3.15";
|
|
1202
1206
|
readonly "@electric-sql/pglite-tools": "0.2.20";
|
|
1203
|
-
readonly "@eslint/js": "^9.38.0";
|
|
1204
1207
|
readonly "@powerhousedao/document-engineering": "1.40.5";
|
|
1205
1208
|
readonly "@tailwindcss/cli": "^4.1.18";
|
|
1206
1209
|
readonly "@tailwindcss/vite": "^4.1.18";
|
|
@@ -1209,15 +1212,11 @@ declare const externalDevDependencies: {
|
|
|
1209
1212
|
readonly "@types/react-dom": "^19.2.3";
|
|
1210
1213
|
readonly "@vitejs/plugin-react": "^6.0.1";
|
|
1211
1214
|
readonly "@vitest/coverage-v8": "4.1.1";
|
|
1212
|
-
readonly
|
|
1213
|
-
readonly
|
|
1214
|
-
readonly "
|
|
1215
|
-
readonly "eslint-plugin-react": "^7.37.5";
|
|
1216
|
-
readonly "eslint-plugin-react-hooks": "^7.0.1";
|
|
1217
|
-
readonly globals: "^16.4.0";
|
|
1215
|
+
readonly oxfmt: "0.55.0";
|
|
1216
|
+
readonly oxlint: "1.70.0";
|
|
1217
|
+
readonly "oxlint-tsgolint": "0.23.0";
|
|
1218
1218
|
readonly tailwindcss: "^4.1.16";
|
|
1219
1219
|
readonly typescript: "^5.9.3";
|
|
1220
|
-
readonly "typescript-eslint": "^8.46.2";
|
|
1221
1220
|
readonly vite: "^8.0.10";
|
|
1222
1221
|
readonly "vite-tsconfig-paths": "6.1.1";
|
|
1223
1222
|
readonly vitest: "4.1.1";
|
|
@@ -2128,5 +2127,5 @@ declare class NodeVersionError extends Error {
|
|
|
2128
2127
|
}
|
|
2129
2128
|
declare function assertNodeVersion(nodeVersion?: string): void;
|
|
2130
2129
|
//#endregion
|
|
2131
|
-
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, CliInvocationInfo, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, DrivePreserveStrategies, DrivePreserveStrategy, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LOG_LEVELS, LogLevel, LogLevels, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PHConnectApp, PHConnectBranding, PHConnectDefaultDrive, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectPackages, PHConnectRenown, PHConnectRuntimeConfig, PHConnectSentry, PHPackageProvider, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PackageManagerArgs, ParsedCmdResult, PathValidation, PowerhouseConfig, PowerhousePackage, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, type ServiceAction, ServiceActions, TelemetryClient, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
2130
|
+
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, CliInvocationInfo, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, DrivePreserveStrategies, DrivePreserveStrategy, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, LogLevel, LogLevels, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PHConnectApp, PHConnectBranding, PHConnectDefaultDrive, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectPackages, PHConnectRenown, PHConnectRuntimeConfig, PHConnectSentry, PHPackageProvider, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PackageManagerArgs, ParsedCmdResult, PathValidation, PowerhouseConfig, PowerhousePackage, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, type ServiceAction, ServiceActions, TelemetryClient, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
2132
2131
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../clis/args/access-token.ts","../../clis/args/common.ts","../../clis/args/connect.ts","../../clis/args/generate.ts","../../clis/command-names.ts","../../clis/args/help.ts","../../clis/args/init.ts","../../clis/args/inspect.ts","../../clis/args/install.ts","../../clis/args/list.ts","../../clis/args/login.ts","../../clis/args/migrate.ts","../../clis/args/publish.ts","../../clis/args/registry.ts","../../document-model/schemas.ts","../../document-model/types.ts","../../clis/constants.ts","../../clis/types.ts","../../clis/args/service.ts","../../clis/args/switchboard.ts","../../clis/args/uninstall.ts","../../clis/args/unpublish.ts","../../clis/args/vetra.ts","../../clis/file-system/dependencies.ts","../../clis/file-system/directory-exists.ts","../../clis/file-system/file-exists.ts","../../clis/file-system/get-config.ts","../../clis/file-system/package-json.ts","../../clis/file-system/projects.ts","../../clis/file-system/run-cmd.ts","../../clis/file-system/spawn-async.ts","../../clis/file-system/version-info.ts","../../clis/file-system/write-file-ensuring-dir.ts","../../clis/services/telemetry.ts","../../clis/services/use-local.ts","../../clis/source-config-schema.ts","../../clis/utils.ts"],"mappings":";;;;;;;;;;cAIa,eAAA;iBAcZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;cCKY,MAAA,EAAQ,KAAA;AAAA,cAER,SAAA;iBAMZ,6BAAA,CAAA,QAAA;;;;cAEY,SAAA;iBASZ,6BAAA,CAAA,QAAA;;;;;;;cAEY,kBAAA;0BA4BZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;cACY,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,QAAA,EAAQ,OAAA,CAKnB,6BAAA,CALmB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOR,YAAA,EAAY,OA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A,CAAA,QAAA;;;;;;;;;;;;;;;cCxBY,WAAA;yBAYZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;cCZY,6BAAA;AAAA,cAEA,iBAAA;iBAgBZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;cC4vBY,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCw6Bf,QAAA,GAAW,CAAA,CAAE,KAAA,QAAa,cAAA;;;cCprDzB,eAAA;AAAA,cAQA,cAAA;AAAA,cACA,mBAAA;AAAA,cACA,sBAAA;AAAA,cAEA,0BAAA;AAAA,cAKA,UAAA;AAAA,cAQA,eAAA;AAAA,cAEA,2BAAA;AAAA,cAEA,0BAAA;AAAA,cAEA,4BAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,kBAAA;AAAA,cAEA,oBAAA;AAAA,cAEA,wBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,oBAAA;AAAA,cACA,MAAA;AAAA,cACA,sBAAA;AAAA,cACA,kBAAA;AAAA,cAEA,sBAAA;AAAA,cAEA,QAAA;AAAA,cAEA,qBAAA;AAAA,cAGA,2BAAA;AAAA,cAOA,mBAAA;AAAA,cACA,6BAAA;AAAA,cAEA,eAAA;AAAA,cACA,mBAAA;AAAA,cAQA,0BAAA;EAAA;;;;;;;;;;;;;;;;;;;;;cASA,oBAAA;EAAA;;;;;cAUA,sBAAA;AAAA,cAUA,0BAAA;AAAA,cAYA,0BAAA;EAAA;;;;cAMA,0BAAA;AAAA,cAQA,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCA,cAAA;EAAA
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../clis/args/access-token.ts","../../clis/args/common.ts","../../clis/args/connect.ts","../../clis/args/generate.ts","../../clis/command-names.ts","../../clis/args/help.ts","../../clis/args/init.ts","../../clis/args/inspect.ts","../../clis/args/install.ts","../../clis/args/list.ts","../../clis/args/login.ts","../../clis/args/migrate.ts","../../clis/args/publish.ts","../../clis/args/registry.ts","../../document-model/schemas.ts","../../document-model/types.ts","../../clis/constants.ts","../../clis/types.ts","../../clis/args/service.ts","../../clis/args/switchboard.ts","../../clis/args/uninstall.ts","../../clis/args/unpublish.ts","../../clis/args/vetra.ts","../../clis/file-system/dependencies.ts","../../clis/file-system/directory-exists.ts","../../clis/file-system/file-exists.ts","../../clis/file-system/get-config.ts","../../clis/file-system/package-json.ts","../../clis/file-system/projects.ts","../../clis/file-system/run-cmd.ts","../../clis/file-system/spawn-async.ts","../../clis/file-system/version-info.ts","../../clis/file-system/write-file-ensuring-dir.ts","../../clis/services/telemetry.ts","../../clis/services/use-local.ts","../../clis/source-config-schema.ts","../../clis/utils.ts"],"mappings":";;;;;;;;;;cAIa,eAAA;iBAcZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;cCKY,MAAA,EAAQ,KAAA;AAAA,cAER,SAAA;iBAMZ,6BAAA,CAAA,QAAA;;;;cAEY,SAAA;iBASZ,6BAAA,CAAA,QAAA;;;;;;;cAEY,kBAAA;0BA4BZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;cACY,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,QAAA,EAAQ,OAAA,CAKnB,6BAAA,CALmB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOR,YAAA,EAAY,OAAA,CAKvB,6BAAA,CALuB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOZ,oBAAA,EAAoB,OAAA,CAK/B,6BAAA,CAL+B,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOpB,YAAA,EAAY,OAAA,CAWvB,6BAAA,CAXuB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAaZ,aAAA,EAAa,OAAA,CAWxB,6BAAA,CAXwB,QAAA;iBAAA,6BAAA,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,EAAA,UACA,QAAA;EAAY,OAAA;EAAiB,IAAA;AAAA;AAAA,cAOlB,gBAAA,SAAyB,KAAA;cACxB,cAAA,UAAwB,cAAA;EAAA,OAO7B,OAAA,CAAQ,KAAA,YAAiB,KAAA,IAAS,gBAAA;AAAA;AAAA,iBAK3B,iBAAA,CAAkB,WAAA"}
|
package/dist/clis/index.mjs
CHANGED
|
@@ -166,8 +166,10 @@ const packageJsonExports = {
|
|
|
166
166
|
};
|
|
167
167
|
const packageScripts = {
|
|
168
168
|
"test:watch": "vitest",
|
|
169
|
-
lint: "
|
|
170
|
-
"lint:fix": "
|
|
169
|
+
lint: "oxlint --type-aware --type-check",
|
|
170
|
+
"lint:fix": "oxlint --type-aware --type-check --fix",
|
|
171
|
+
format: "oxfmt",
|
|
172
|
+
"format:check": "oxfmt --check",
|
|
171
173
|
tsc: "tsc",
|
|
172
174
|
"tsc:watch": "tsc --watch",
|
|
173
175
|
generate: "ph-cli generate",
|
|
@@ -180,10 +182,43 @@ const packageScripts = {
|
|
|
180
182
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
181
183
|
};
|
|
182
184
|
const externalDependencies = {};
|
|
185
|
+
const LEGACY_LINT_FORMAT_DEPENDENCIES = [
|
|
186
|
+
"@eslint/js",
|
|
187
|
+
"eslint",
|
|
188
|
+
"eslint-config-prettier",
|
|
189
|
+
"eslint-plugin-prettier",
|
|
190
|
+
"eslint-plugin-react",
|
|
191
|
+
"eslint-plugin-react-hooks",
|
|
192
|
+
"globals",
|
|
193
|
+
"prettier",
|
|
194
|
+
"typescript-eslint"
|
|
195
|
+
];
|
|
196
|
+
const LEGACY_LINT_FORMAT_FILES = [
|
|
197
|
+
"eslint.config.js",
|
|
198
|
+
"eslint.config.mjs",
|
|
199
|
+
"eslint.config.cjs",
|
|
200
|
+
"eslint.config.ts",
|
|
201
|
+
".eslintrc",
|
|
202
|
+
".eslintrc.js",
|
|
203
|
+
".eslintrc.cjs",
|
|
204
|
+
".eslintrc.json",
|
|
205
|
+
".eslintrc.yml",
|
|
206
|
+
".eslintrc.yaml",
|
|
207
|
+
".eslintignore",
|
|
208
|
+
".prettierrc",
|
|
209
|
+
".prettierrc.js",
|
|
210
|
+
".prettierrc.cjs",
|
|
211
|
+
".prettierrc.json",
|
|
212
|
+
".prettierrc.yml",
|
|
213
|
+
".prettierrc.yaml",
|
|
214
|
+
"prettier.config.js",
|
|
215
|
+
"prettier.config.cjs",
|
|
216
|
+
"prettier.config.mjs",
|
|
217
|
+
".prettierignore"
|
|
218
|
+
];
|
|
183
219
|
const externalDevDependencies = {
|
|
184
220
|
"@electric-sql/pglite": "0.3.15",
|
|
185
221
|
"@electric-sql/pglite-tools": "0.2.20",
|
|
186
|
-
"@eslint/js": "^9.38.0",
|
|
187
222
|
"@powerhousedao/document-engineering": "1.40.5",
|
|
188
223
|
"@tailwindcss/cli": "^4.1.18",
|
|
189
224
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -192,15 +227,11 @@ const externalDevDependencies = {
|
|
|
192
227
|
"@types/react-dom": "^19.2.3",
|
|
193
228
|
"@vitejs/plugin-react": "^6.0.1",
|
|
194
229
|
"@vitest/coverage-v8": "4.1.1",
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
"eslint-plugin-react": "^7.37.5",
|
|
199
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
200
|
-
globals: "^16.4.0",
|
|
230
|
+
oxfmt: "0.55.0",
|
|
231
|
+
oxlint: "1.70.0",
|
|
232
|
+
"oxlint-tsgolint": "0.23.0",
|
|
201
233
|
tailwindcss: "^4.1.16",
|
|
202
234
|
typescript: "^5.9.3",
|
|
203
|
-
"typescript-eslint": "^8.46.2",
|
|
204
235
|
vite: "^8.0.10",
|
|
205
236
|
"vite-tsconfig-paths": "6.1.1",
|
|
206
237
|
vitest: "4.1.1"
|
|
@@ -8360,6 +8391,6 @@ function assertNodeVersion(nodeVersion = process.versions.node) {
|
|
|
8360
8391
|
if ((0, import_lt.default)(nodeVersion, "24.0.0")) throw new NodeVersionError(nodeVersion, MINIMUM_NODE_VERSION);
|
|
8361
8392
|
}
|
|
8362
8393
|
//#endregion
|
|
8363
|
-
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LOG_LEVELS, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
8394
|
+
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
8364
8395
|
|
|
8365
8396
|
//# sourceMappingURL=index.mjs.map
|