Skip to content

Commit

Permalink
feat(ph-cli): added https support for connect
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Jan 23, 2025
1 parent ff8b2e8 commit a9335a4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
1 change: 1 addition & 0 deletions packages/config/src/powerhouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type PowerhouseConfig = {
studio?: {
port?: number;
host?: string;
https: boolean;
openBrowser?: boolean;
};
packages?: {
Expand Down
2 changes: 1 addition & 1 deletion packages/ph-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"dependencies": {
"@powerhousedao/codegen": "workspace:*",
"@powerhousedao/config": "workspace:*",
"@powerhousedao/connect": "1.0.0-dev.191",
"@powerhousedao/connect": "1.0.0-dev.192",
"@powerhousedao/design-system": "workspace:*",
"@powerhousedao/reactor-local": "workspace:*",
"@powerhousedao/scalars": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/ph-cli/src/commands/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function connectCommand(program: Command) {
.description("Starts Connect Studio")
.option("-p, --port <port>", "Port to run the server on", "3000")
.option("-h, --host", "Expose the server to the network")
.option("--https", "Enable HTTPS")
.option(
"--config-file <configFile>",
"Path to the powerhouse.config.js file",
Expand Down
39 changes: 25 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9335a4

Please sign in to comment.