@powerhousedao/ph-cli 4.1.0-dev.68 → 4.1.0-dev.69
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/src/commands/connect.d.ts +14 -3
- package/dist/src/commands/connect.d.ts.map +1 -1
- package/dist/src/commands/connect.js +48 -25
- package/dist/src/commands/connect.js.map +1 -1
- package/dist/src/help.d.ts +3 -3
- package/dist/src/help.d.ts.map +1 -1
- package/dist/src/help.js +88 -31
- package/dist/src/help.js.map +1 -1
- package/dist/src/services/connect.d.ts +1 -2
- package/dist/src/services/connect.d.ts.map +1 -1
- package/dist/src/services/connect.js +1 -4
- package/dist/src/services/connect.js.map +1 -1
- package/dist/src/services/vetra.js +2 -2
- package/dist/src/services/vetra.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import type { ConnectStudioOptions } from "@powerhousedao/builder-tools";
|
|
1
|
+
import type { ConnectBuildOptions, ConnectCommonOptions, ConnectPreviewOptions, ConnectStudioOptions } from "@powerhousedao/builder-tools";
|
|
2
2
|
import { Command } from "commander";
|
|
3
3
|
import type { CommandActionType } from "../types.js";
|
|
4
|
-
type
|
|
5
|
-
|
|
4
|
+
type CliConnectCommonOptions = Pick<ConnectCommonOptions, "base" | "mode" | "configFile" | "projectRoot" | "viteConfigFile">;
|
|
5
|
+
type CliConnectStudioOptions = ConnectStudioOptions["devServerOptions"] & CliConnectCommonOptions;
|
|
6
|
+
type CliConnectBuildOptions = Omit<ConnectBuildOptions, keyof ConnectCommonOptions> & CliConnectCommonOptions;
|
|
7
|
+
type CliConnectPreviewOptions = Omit<ConnectPreviewOptions, keyof ConnectCommonOptions> & CliConnectCommonOptions;
|
|
8
|
+
export declare const connectStudioCommand: CommandActionType<[
|
|
9
|
+
CliConnectStudioOptions
|
|
10
|
+
], void>;
|
|
11
|
+
export declare const buildConnectCommand: CommandActionType<[
|
|
12
|
+
CliConnectBuildOptions
|
|
13
|
+
], void>;
|
|
14
|
+
export declare const previewConnectCommand: CommandActionType<[
|
|
15
|
+
CliConnectPreviewOptions
|
|
16
|
+
], void>;
|
|
6
17
|
export declare function connectCommand(program: Command): Command;
|
|
7
18
|
export {};
|
|
8
19
|
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/commands/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/commands/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,KAAK,uBAAuB,GAAG,IAAI,CACjC,oBAAoB,EACpB,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,aAAa,GAAG,gBAAgB,CAClE,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,GACrE,uBAAuB,CAAC;AAE1B,KAAK,sBAAsB,GAAG,IAAI,CAChC,mBAAmB,EACnB,MAAM,oBAAoB,CAC3B,GACC,uBAAuB,CAAC;AAE1B,KAAK,wBAAwB,GAAG,IAAI,CAClC,qBAAqB,EACrB,MAAM,oBAAoB,CAC3B,GACC,uBAAuB,CAAC;AAY1B,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAClD;IAAC,uBAAuB;CAAC,EACzB,IAAI,CAGL,CAAC;AA2BF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CACjD;IAAC,sBAAsB;CAAC,EACxB,IAAI,CAGL,CAAC;AAyBF,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CACnD;IAAC,wBAAwB;CAAC,EAC1B,IAAI,CAGL,CAAC;AAyBF,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,WAQ9C"}
|
|
@@ -1,47 +1,68 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
2
|
import { connectBuildHelp, connectPreviewHelp, connectStudioHelp, } from "../help.js";
|
|
3
3
|
import { setCustomHelp } from "../utils.js";
|
|
4
|
-
async function
|
|
5
|
-
const
|
|
6
|
-
const {
|
|
7
|
-
return
|
|
4
|
+
async function startConnectStudio(options = {}) {
|
|
5
|
+
const { startConnectStudio } = await import("../services/connect.js");
|
|
6
|
+
const { port, host, open, cors, strictPort, force, ...otherOptions } = options;
|
|
7
|
+
return startConnectStudio({
|
|
8
|
+
...otherOptions,
|
|
9
|
+
devServerOptions: { port, host, open, cors, strictPort, force },
|
|
10
|
+
});
|
|
8
11
|
}
|
|
9
|
-
export const
|
|
10
|
-
return
|
|
12
|
+
export const connectStudioCommand = (options) => {
|
|
13
|
+
return startConnectStudio(options);
|
|
11
14
|
};
|
|
12
15
|
const studioCommand = new Command("studio")
|
|
13
16
|
.description("Starts Connect Studio (default)")
|
|
14
|
-
// Vite dev config: https://github.com/vitejs/vite/blob/1ef57bc7700375bf4bca0edbf0a9e4517c5dd35b/packages/vite/src/node/cli.ts#L184
|
|
15
17
|
.option("--port <port>", "Port to run the server on", "3000")
|
|
16
18
|
.option("--host", "Expose the server to the network")
|
|
17
19
|
.option("--open", "Open browser on startup")
|
|
18
|
-
.option("--config-file <configFile>", "Path to the powerhouse.config.js file")
|
|
19
20
|
.option("--cors", `Enable CORS`)
|
|
20
21
|
.option("--strictPort", `Exit if specified port is already in use`)
|
|
21
22
|
.option("--force", `Force the optimizer to ignore the cache and re-bundle`)
|
|
22
|
-
.
|
|
23
|
+
.option("--mode <mode>", `Vite mode to use`)
|
|
24
|
+
.option("--config-file <configFile>", "Path to the powerhouse.config.js file")
|
|
25
|
+
.option("--vite-config-file <viteConfigFile>", "Path to the vite config file")
|
|
26
|
+
.option("--project-root <projectRoot>", "The root directory of the project", process.cwd())
|
|
27
|
+
.action(connectStudioCommand);
|
|
23
28
|
setCustomHelp(studioCommand, connectStudioHelp);
|
|
29
|
+
async function buildConnect(options) {
|
|
30
|
+
const { buildConnect } = await import("../services/connect.js");
|
|
31
|
+
return buildConnect(options);
|
|
32
|
+
}
|
|
33
|
+
export const buildConnectCommand = (options) => {
|
|
34
|
+
return buildConnect(options);
|
|
35
|
+
};
|
|
24
36
|
const buildCommand = new Command("build")
|
|
25
37
|
.description("Build Connect project")
|
|
38
|
+
.option("--outDir <outDir>", "Output directory. Defaults to '.ph/connect-build/dist/'")
|
|
26
39
|
.option("--base <base>", "Base path for the app")
|
|
27
|
-
.option("--
|
|
28
|
-
.option("--
|
|
29
|
-
.option("--
|
|
30
|
-
.option("--
|
|
31
|
-
.
|
|
32
|
-
.action(async (...args) => {
|
|
33
|
-
throw new Error("Not Implemented");
|
|
34
|
-
});
|
|
40
|
+
.option("--mode <mode>", `Vite mode to use`)
|
|
41
|
+
.option("--config-file <configFile>", "Path to the powerhouse.config.js file")
|
|
42
|
+
.option("--vite-config-file <viteConfigFile>", "Path to the vite config file")
|
|
43
|
+
.option("--project-root <projectRoot>", "The root directory of the project", process.cwd())
|
|
44
|
+
.action(buildConnectCommand);
|
|
35
45
|
setCustomHelp(buildCommand, connectBuildHelp);
|
|
46
|
+
async function previewConnect(options) {
|
|
47
|
+
const { previewConnect } = await import("../services/connect.js");
|
|
48
|
+
return previewConnect(options);
|
|
49
|
+
}
|
|
50
|
+
export const previewConnectCommand = (options) => {
|
|
51
|
+
return previewConnect(options).then();
|
|
52
|
+
};
|
|
36
53
|
const previewCommand = new Command("preview")
|
|
37
54
|
.description("Preview built Connect project")
|
|
55
|
+
.option("--outDir <outDir>", "Output directory. Defaults to '.ph/connect-build/dist/'")
|
|
56
|
+
.option("--port <port>", "Port to run the server on", "4173")
|
|
57
|
+
.option("--host", "Expose the server to the network")
|
|
58
|
+
.option("--open", "Open browser on startup")
|
|
59
|
+
.option("--strictPort", `Exit if specified port is already in use`)
|
|
38
60
|
.option("--base <base>", "Base path for the app")
|
|
39
|
-
.option("--
|
|
40
|
-
.option("-
|
|
41
|
-
.option("--
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
});
|
|
61
|
+
.option("--mode <mode>", `Vite mode to use`)
|
|
62
|
+
.option("--config-file <configFile>", "Path to the powerhouse.config.js file")
|
|
63
|
+
.option("--vite-config-file <viteConfigFile>", "Path to the vite config file")
|
|
64
|
+
.option("--project-root <projectRoot>", "The root directory of the project", process.cwd())
|
|
65
|
+
.action(previewConnectCommand);
|
|
45
66
|
setCustomHelp(previewCommand, connectPreviewHelp);
|
|
46
67
|
export function connectCommand(program) {
|
|
47
68
|
return program
|
|
@@ -54,8 +75,10 @@ export function connectCommand(program) {
|
|
|
54
75
|
}
|
|
55
76
|
if (process.argv.at(2) === "spawn") {
|
|
56
77
|
const optionsArg = process.argv.at(3);
|
|
57
|
-
const options = optionsArg
|
|
58
|
-
|
|
78
|
+
const options = optionsArg
|
|
79
|
+
? JSON.parse(optionsArg)
|
|
80
|
+
: {};
|
|
81
|
+
startConnectStudio(options).catch((e) => {
|
|
59
82
|
throw e;
|
|
60
83
|
});
|
|
61
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/commands/connect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/commands/connect.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAsB5C,KAAK,UAAU,kBAAkB,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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Help text for the connect studio command
|
|
3
3
|
*/
|
|
4
|
-
export declare const connectStudioHelp = "\nCommand Overview:\n The connect command starts the Connect Studio, a development environment for building\n and testing Powerhouse applications. It provides a visual interface for working with
|
|
4
|
+
export declare const connectStudioHelp = "\nCommand Overview:\n The connect command starts the Connect Studio, a development environment for building\n and testing Powerhouse applications. It provides a visual interface for working with\n your project.\n\n This command:\n 1. Starts a local Connect Studio server\n 2. Provides a web interface for development\n 3. Allows you to interact with your project components\n 4. Supports various configuration options for customization\n\nOptions:\n --port <port> Port to run the server on. Default is 3000.\n\n --host Expose the server to the network. By default, the server\n only accepts connections from localhost.\n\n --open Automatically open the browser window after starting the server.\n\n --cors Enable CORS (Cross-Origin Resource Sharing).\n\n --strictPort Exit if specified port is already in use.\n\n --force Force the optimizer to ignore the cache and re-bundle.\n\n --mode <mode> Vite mode to use (e.g., development, production).\n\n --config-file <configFile> Path to the powerhouse.config.js file. This allows you to\n customize the behavior of Connect Studio.\n\n --vite-config-file <file> Path to the vite config file.\n\n --project-root <path> The root directory of the project. Default is current directory.\n\nExamples:\n $ ph connect # Start Connect Studio on default port 3000\n $ ph connect --port 8080 # Start on port 8080\n $ ph connect --host # Expose to network (not just localhost)\n $ ph connect --open # Open browser automatically\n $ ph connect --cors # Enable CORS\n $ ph connect --strictPort # Exit if port is in use\n $ ph connect --force # Force re-bundle\n $ ph connect --mode production # Use production mode\n $ ph connect --config-file custom.config.js # Use custom configuration\n $ ph connect --vite-config-file vite.config.js # Use custom vite config\n $ ph connect --project-root /path/to/project # Set project root\n $ ph connect --port 8080 --open # Start on port 8080 and open browser\n";
|
|
5
5
|
/**
|
|
6
6
|
* Help text for the connect build command
|
|
7
7
|
*/
|
|
8
|
-
export declare const connectBuildHelp = "\nCommand Overview:\n The Connect build command creates a
|
|
8
|
+
export declare const connectBuildHelp = "\nCommand Overview:\n The Connect build command creates a production build with the project's local and\n external packages included.\n\nOptions:\n --outDir <outDir> Output directory. Defaults to 'dist'.\n\n --base <base> Base path for the app. Default is \"/\".\n\n --mode <mode> Vite mode to use (e.g., development, production).\n\n --config-file <configFile> Path to the powerhouse.config.js file.\n\n --vite-config-file <file> Path to the vite config file.\n\n --project-root <path> The root directory of the project. Default is current directory.\n\nExamples:\n $ ph connect build # Build with defaults\n $ ph connect build --outDir build # Output to 'build' directory\n $ ph connect build --base /app # Set base path to '/app'\n $ ph connect build --mode production # Use production mode\n $ ph connect build --config-file custom.config.js # Use custom configuration\n $ ph connect build --vite-config-file vite.config.js # Use custom vite config\n $ ph connect build --project-root /path/to/project # Set project root\n";
|
|
9
9
|
/**
|
|
10
10
|
* Help text for the connect preview command
|
|
11
11
|
*/
|
|
12
|
-
export declare const connectPreviewHelp = "\nCommand Overview:\n The Connect preview command previews a built Connect project.\n NOTE: You must run `ph connect build` first.\n\nOptions:\n --
|
|
12
|
+
export declare const connectPreviewHelp = "\nCommand Overview:\n The Connect preview command previews a built Connect project.\n NOTE: You must run `ph connect build` first.\n\nOptions:\n --outDir <outDir> Output directory. Defaults to 'dist'.\n\n --port <port> Port to run the server on. Default is 3000.\n\n --host Expose the server to the network.\n\n --open Open browser on startup.\n\n --strictPort Exit if specified port is already in use.\n\n --base <base> Base path for the app. Default is \"/\".\n\n --mode <mode> Vite mode to use (e.g., development, production).\n\n --config-file <configFile> Path to the powerhouse.config.js file.\n\n --vite-config-file <file> Path to the vite config file.\n\n --project-root <path> The root directory of the project. Default is current directory.\n\nExamples:\n $ ph connect preview # Preview with defaults\n $ ph connect preview --outDir build # Preview from 'build' directory\n $ ph connect preview --port 8080 # Preview on port 8080\n $ ph connect preview --host # Expose to network\n $ ph connect preview --open # Open browser automatically\n $ ph connect preview --strictPort # Exit if port is in use\n $ ph connect preview --base /app # Set base path to '/app'\n $ ph connect preview --mode production # Use production mode\n $ ph connect preview --config-file custom.config.js # Use custom configuration\n $ ph connect preview --vite-config-file vite.config.js # Use custom vite config\n $ ph connect preview --project-root /path/to/project # Set project root\n";
|
|
13
13
|
/**
|
|
14
14
|
* Help text for the generate command
|
|
15
15
|
*/
|
package/dist/src/help.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/help.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/help.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,iBAAiB,wzEAgD7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,4oCA0B5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,stDAsC9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,o9GA+DxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,+jEAsCvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,4pEAwCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,ypCA2BpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,m7DAoCnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,owHAyDrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,miDAkCvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,+zDAqCvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,+pEAyC3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,s6DAuCvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,2kCA0BvB,CAAC"}
|
package/dist/src/help.js
CHANGED
|
@@ -5,7 +5,7 @@ import { DEFAULT_ASSETS_DIR_NAME, DEFAULT_EXTERNAL_PACKAGES_FILE_NAME, DEFAULT_S
|
|
|
5
5
|
export const connectStudioHelp = `
|
|
6
6
|
Command Overview:
|
|
7
7
|
The connect command starts the Connect Studio, a development environment for building
|
|
8
|
-
and testing Powerhouse applications. It provides a visual interface for working with
|
|
8
|
+
and testing Powerhouse applications. It provides a visual interface for working with
|
|
9
9
|
your project.
|
|
10
10
|
|
|
11
11
|
This command:
|
|
@@ -15,42 +15,71 @@ Command Overview:
|
|
|
15
15
|
4. Supports various configuration options for customization
|
|
16
16
|
|
|
17
17
|
Options:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
--
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
--port <port> Port to run the server on. Default is 3000.
|
|
19
|
+
|
|
20
|
+
--host Expose the server to the network. By default, the server
|
|
21
|
+
only accepts connections from localhost.
|
|
22
|
+
|
|
23
|
+
--open Automatically open the browser window after starting the server.
|
|
24
|
+
|
|
25
|
+
--cors Enable CORS (Cross-Origin Resource Sharing).
|
|
26
|
+
|
|
27
|
+
--strictPort Exit if specified port is already in use.
|
|
28
|
+
|
|
29
|
+
--force Force the optimizer to ignore the cache and re-bundle.
|
|
30
|
+
|
|
31
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
32
|
+
|
|
33
|
+
--config-file <configFile> Path to the powerhouse.config.js file. This allows you to
|
|
34
|
+
customize the behavior of Connect Studio.
|
|
35
|
+
|
|
36
|
+
--vite-config-file <file> Path to the vite config file.
|
|
37
|
+
|
|
38
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
30
39
|
|
|
31
40
|
Examples:
|
|
32
|
-
$ ph connect
|
|
33
|
-
$ ph connect
|
|
34
|
-
$ ph connect
|
|
35
|
-
$ ph connect --
|
|
36
|
-
$ ph connect --
|
|
37
|
-
$ ph connect --
|
|
38
|
-
$ ph connect
|
|
41
|
+
$ ph connect # Start Connect Studio on default port 3000
|
|
42
|
+
$ ph connect --port 8080 # Start on port 8080
|
|
43
|
+
$ ph connect --host # Expose to network (not just localhost)
|
|
44
|
+
$ ph connect --open # Open browser automatically
|
|
45
|
+
$ ph connect --cors # Enable CORS
|
|
46
|
+
$ ph connect --strictPort # Exit if port is in use
|
|
47
|
+
$ ph connect --force # Force re-bundle
|
|
48
|
+
$ ph connect --mode production # Use production mode
|
|
49
|
+
$ ph connect --config-file custom.config.js # Use custom configuration
|
|
50
|
+
$ ph connect --vite-config-file vite.config.js # Use custom vite config
|
|
51
|
+
$ ph connect --project-root /path/to/project # Set project root
|
|
52
|
+
$ ph connect --port 8080 --open # Start on port 8080 and open browser
|
|
39
53
|
`;
|
|
40
54
|
/**
|
|
41
55
|
* Help text for the connect build command
|
|
42
56
|
*/
|
|
43
57
|
export const connectBuildHelp = `
|
|
44
58
|
Command Overview:
|
|
45
|
-
The Connect build command creates a
|
|
59
|
+
The Connect build command creates a production build with the project's local and
|
|
60
|
+
external packages included.
|
|
46
61
|
|
|
47
62
|
Options:
|
|
48
|
-
--
|
|
49
|
-
|
|
50
|
-
--
|
|
51
|
-
|
|
52
|
-
--
|
|
53
|
-
|
|
63
|
+
--outDir <outDir> Output directory. Defaults to 'dist'.
|
|
64
|
+
|
|
65
|
+
--base <base> Base path for the app. Default is "/".
|
|
66
|
+
|
|
67
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
68
|
+
|
|
69
|
+
--config-file <configFile> Path to the powerhouse.config.js file.
|
|
70
|
+
|
|
71
|
+
--vite-config-file <file> Path to the vite config file.
|
|
72
|
+
|
|
73
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
74
|
+
|
|
75
|
+
Examples:
|
|
76
|
+
$ ph connect build # Build with defaults
|
|
77
|
+
$ ph connect build --outDir build # Output to 'build' directory
|
|
78
|
+
$ ph connect build --base /app # Set base path to '/app'
|
|
79
|
+
$ ph connect build --mode production # Use production mode
|
|
80
|
+
$ ph connect build --config-file custom.config.js # Use custom configuration
|
|
81
|
+
$ ph connect build --vite-config-file vite.config.js # Use custom vite config
|
|
82
|
+
$ ph connect build --project-root /path/to/project # Set project root
|
|
54
83
|
`;
|
|
55
84
|
/**
|
|
56
85
|
* Help text for the connect preview command
|
|
@@ -61,10 +90,38 @@ Command Overview:
|
|
|
61
90
|
NOTE: You must run \`ph connect build\` first.
|
|
62
91
|
|
|
63
92
|
Options:
|
|
64
|
-
--
|
|
65
|
-
|
|
66
|
-
--port <port>
|
|
67
|
-
|
|
93
|
+
--outDir <outDir> Output directory. Defaults to 'dist'.
|
|
94
|
+
|
|
95
|
+
--port <port> Port to run the server on. Default is 3000.
|
|
96
|
+
|
|
97
|
+
--host Expose the server to the network.
|
|
98
|
+
|
|
99
|
+
--open Open browser on startup.
|
|
100
|
+
|
|
101
|
+
--strictPort Exit if specified port is already in use.
|
|
102
|
+
|
|
103
|
+
--base <base> Base path for the app. Default is "/".
|
|
104
|
+
|
|
105
|
+
--mode <mode> Vite mode to use (e.g., development, production).
|
|
106
|
+
|
|
107
|
+
--config-file <configFile> Path to the powerhouse.config.js file.
|
|
108
|
+
|
|
109
|
+
--vite-config-file <file> Path to the vite config file.
|
|
110
|
+
|
|
111
|
+
--project-root <path> The root directory of the project. Default is current directory.
|
|
112
|
+
|
|
113
|
+
Examples:
|
|
114
|
+
$ ph connect preview # Preview with defaults
|
|
115
|
+
$ ph connect preview --outDir build # Preview from 'build' directory
|
|
116
|
+
$ ph connect preview --port 8080 # Preview on port 8080
|
|
117
|
+
$ ph connect preview --host # Expose to network
|
|
118
|
+
$ ph connect preview --open # Open browser automatically
|
|
119
|
+
$ ph connect preview --strictPort # Exit if port is in use
|
|
120
|
+
$ ph connect preview --base /app # Set base path to '/app'
|
|
121
|
+
$ ph connect preview --mode production # Use production mode
|
|
122
|
+
$ ph connect preview --config-file custom.config.js # Use custom configuration
|
|
123
|
+
$ ph connect preview --vite-config-file vite.config.js # Use custom vite config
|
|
124
|
+
$ ph connect preview --project-root /path/to/project # Set project root
|
|
68
125
|
`;
|
|
69
126
|
/**
|
|
70
127
|
* Help text for the generate command
|
package/dist/src/help.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/help.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,mCAAmC,EACnC,wBAAwB,GACzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG
|
|
1
|
+
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/help.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,mCAAmC,EACnC,wBAAwB,GACzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B/B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCjC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D3B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC5B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BvB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDxB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC1B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC1B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC9B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC1B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B1B,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function startConnect(options?: ConnectStudioOptions): Promise<void>;
|
|
1
|
+
export { buildConnect, previewConnect, startConnectStudio, } from "@powerhousedao/builder-tools";
|
|
3
2
|
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/services/connect.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/services/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,kBAAkB,GACnB,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export function startConnect(options) {
|
|
3
|
-
return startConnectStudio(options);
|
|
4
|
-
}
|
|
1
|
+
export { buildConnect, previewConnect, startConnectStudio, } from "@powerhousedao/builder-tools";
|
|
5
2
|
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/services/connect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/services/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,kBAAkB,GACnB,MAAM,8BAA8B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { getConfig } from "@powerhousedao/config/node";
|
|
|
3
3
|
import { blue, red } from "colorette";
|
|
4
4
|
import { setLogLevel } from "document-drive";
|
|
5
5
|
import { generateProjectDriveId } from "../utils.js";
|
|
6
|
-
import {
|
|
6
|
+
import { startConnectStudio } from "./connect.js";
|
|
7
7
|
import { DefaultReactorOptions } from "./reactor.js";
|
|
8
8
|
const VETRA_DRIVE_NAME = "vetra";
|
|
9
9
|
const getDefaultVetraUrl = (port) => `http://localhost:${port}/d/${generateProjectDriveId(VETRA_DRIVE_NAME)}`;
|
|
@@ -104,7 +104,7 @@ export async function startVetra({ generate, watch, switchboardPort, connectPort
|
|
|
104
104
|
console.log("Starting Connect...");
|
|
105
105
|
console.log(` ➜ Connect will use drive: ${driveUrl}`);
|
|
106
106
|
}
|
|
107
|
-
await
|
|
107
|
+
await startConnectStudio({
|
|
108
108
|
defaultDrivesUrl: [driveUrl],
|
|
109
109
|
drivesPreserveStrategy: "preserve-all",
|
|
110
110
|
disableLocalPackage: !watchPackages,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetra.js","sourceRoot":"","sources":["../../../src/services/vetra.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,O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,gBAAgB,EAAE;oBAChB,IAAI,EAAE,WAAW;iBAClB;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;AACH,CAAC"}
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "4.1.0-dev.
|
|
1
|
+
export declare const version = "4.1.0-dev.68";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/src/version.js
CHANGED