@powerhousedao/ph-cli 0.33.1-dev.0 → 0.34.1-dev.0
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/package.json +51 -0
- package/dist/src/cli.d.ts +3 -0
- package/dist/src/cli.d.ts.map +1 -0
- package/dist/src/cli.js +10 -0
- package/dist/src/commands/connect.d.ts +6 -0
- package/dist/src/commands/connect.d.ts.map +1 -0
- package/dist/src/commands/connect.js +44 -0
- package/dist/src/commands/dev.d.ts +14 -0
- package/dist/src/commands/dev.d.ts.map +1 -0
- package/dist/src/commands/dev.js +88 -0
- package/dist/src/commands/generate.d.ts +21 -0
- package/dist/src/commands/generate.d.ts.map +1 -0
- package/dist/src/commands/generate.js +74 -0
- package/dist/src/commands/help.d.ts +3 -0
- package/dist/src/commands/help.d.ts.map +1 -0
- package/dist/src/commands/help.js +8 -0
- package/dist/src/commands/index.d.ts +14 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/index.js +34 -0
- package/dist/src/commands/inspect.d.ts +10 -0
- package/dist/src/commands/inspect.d.ts.map +1 -0
- package/dist/src/commands/inspect.js +57 -0
- package/dist/src/commands/install.d.ts +15 -0
- package/dist/src/commands/install.d.ts.map +1 -0
- package/dist/src/commands/install.js +80 -0
- package/dist/src/commands/list.d.ts +9 -0
- package/dist/src/commands/list.d.ts.map +1 -0
- package/dist/src/commands/list.js +33 -0
- package/dist/src/commands/service.d.ts +5 -0
- package/dist/src/commands/service.d.ts.map +1 -0
- package/dist/src/commands/service.js +141 -0
- package/dist/src/commands/switchboard.d.ts +34 -0
- package/dist/src/commands/switchboard.d.ts.map +1 -0
- package/dist/src/commands/switchboard.js +82 -0
- package/dist/src/commands/uninstall.d.ts +15 -0
- package/dist/src/commands/uninstall.d.ts.map +1 -0
- package/dist/src/commands/uninstall.js +80 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +2 -0
- package/dist/src/types.d.ts +2 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +1 -0
- package/dist/src/utils.d.ts +47 -0
- package/dist/src/utils.d.ts.map +1 -0
- package/dist/src/utils.js +114 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +15 -15
- package/dist/chunk-3LA6D2BV.js +0 -109
- package/dist/chunk-4CHMELTF.js +0 -51
- package/dist/chunk-6VK3FH3G.js +0 -36
- package/dist/chunk-7FTFL36R.js +0 -52
- package/dist/chunk-ACKSBZXF.js +0 -85
- package/dist/chunk-D42NLWCH.js +0 -98
- package/dist/chunk-DYKO5D3K.js +0 -52
- package/dist/chunk-FEGQ7JEJ.js +0 -97
- package/dist/chunk-FFVIBNX6.js +0 -147
- package/dist/chunk-IFV5NKI4.js +0 -57
- package/dist/chunk-KPMNRIJU.js +0 -10
- package/dist/chunk-V725N3UP.js +0 -132
- package/dist/chunk-XYNGLOOS.js +0 -51
- package/dist/chunk-ZZ3KNXW6.js +0 -91
- package/dist/cli.js +0 -22
- package/dist/commands/connect.js +0 -8
- package/dist/commands/dev.js +0 -9
- package/dist/commands/generate.js +0 -8
- package/dist/commands/help.js +0 -6
- package/dist/commands/index.js +0 -68
- package/dist/commands/inspect.js +0 -9
- package/dist/commands/install.js +0 -11
- package/dist/commands/list.js +0 -9
- package/dist/commands/service.js +0 -8
- package/dist/commands/switchboard.js +0 -10
- package/dist/commands/uninstall.js +0 -11
- package/dist/index.js +0 -91
- package/dist/scripts/service-startup.sh +0 -7
- package/dist/scripts/service-unstartup.sh +0 -6
- package/dist/scripts/setup.sh +0 -24
- package/dist/types.js +0 -0
- package/dist/utils.js +0 -28
package/dist/index.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
commands
|
|
3
|
-
} from "./chunk-7FTFL36R.js";
|
|
4
|
-
import "./chunk-IFV5NKI4.js";
|
|
5
|
-
import {
|
|
6
|
-
install,
|
|
7
|
-
installCommand,
|
|
8
|
-
installDependency
|
|
9
|
-
} from "./chunk-FEGQ7JEJ.js";
|
|
10
|
-
import {
|
|
11
|
-
list,
|
|
12
|
-
listCommand
|
|
13
|
-
} from "./chunk-6VK3FH3G.js";
|
|
14
|
-
import {
|
|
15
|
-
manageService,
|
|
16
|
-
serviceCommand
|
|
17
|
-
} from "./chunk-FFVIBNX6.js";
|
|
18
|
-
import {
|
|
19
|
-
uninstall,
|
|
20
|
-
uninstallCommand,
|
|
21
|
-
uninstallDependency
|
|
22
|
-
} from "./chunk-D42NLWCH.js";
|
|
23
|
-
import {
|
|
24
|
-
POWERHOUSE_CONFIG_FILE,
|
|
25
|
-
POWERHOUSE_GLOBAL_DIR,
|
|
26
|
-
SUPPORTED_PACKAGE_MANAGERS,
|
|
27
|
-
defaultPathValidation,
|
|
28
|
-
findNodeProjectRoot,
|
|
29
|
-
getConfig,
|
|
30
|
-
getPackageManagerFromLockfile,
|
|
31
|
-
getPackageManagerFromPath,
|
|
32
|
-
getProjectInfo,
|
|
33
|
-
isPowerhouseProject,
|
|
34
|
-
packageManagers,
|
|
35
|
-
updateConfigFile
|
|
36
|
-
} from "./chunk-V725N3UP.js";
|
|
37
|
-
import {
|
|
38
|
-
connectCommand,
|
|
39
|
-
startConnect
|
|
40
|
-
} from "./chunk-4CHMELTF.js";
|
|
41
|
-
import {
|
|
42
|
-
dev,
|
|
43
|
-
devCommand
|
|
44
|
-
} from "./chunk-3LA6D2BV.js";
|
|
45
|
-
import {
|
|
46
|
-
DefaultSwitchboardOptions,
|
|
47
|
-
reactorCommand,
|
|
48
|
-
switchboard
|
|
49
|
-
} from "./chunk-ZZ3KNXW6.js";
|
|
50
|
-
import {
|
|
51
|
-
generate,
|
|
52
|
-
generateCommand
|
|
53
|
-
} from "./chunk-ACKSBZXF.js";
|
|
54
|
-
import {
|
|
55
|
-
helpCommand
|
|
56
|
-
} from "./chunk-KPMNRIJU.js";
|
|
57
|
-
export {
|
|
58
|
-
DefaultSwitchboardOptions,
|
|
59
|
-
POWERHOUSE_CONFIG_FILE,
|
|
60
|
-
POWERHOUSE_GLOBAL_DIR,
|
|
61
|
-
SUPPORTED_PACKAGE_MANAGERS,
|
|
62
|
-
commands,
|
|
63
|
-
connectCommand,
|
|
64
|
-
defaultPathValidation,
|
|
65
|
-
dev,
|
|
66
|
-
devCommand,
|
|
67
|
-
findNodeProjectRoot,
|
|
68
|
-
generate,
|
|
69
|
-
generateCommand,
|
|
70
|
-
getConfig,
|
|
71
|
-
getPackageManagerFromLockfile,
|
|
72
|
-
getPackageManagerFromPath,
|
|
73
|
-
getProjectInfo,
|
|
74
|
-
helpCommand,
|
|
75
|
-
install,
|
|
76
|
-
installCommand,
|
|
77
|
-
installDependency,
|
|
78
|
-
isPowerhouseProject,
|
|
79
|
-
list,
|
|
80
|
-
listCommand,
|
|
81
|
-
manageService,
|
|
82
|
-
packageManagers,
|
|
83
|
-
reactorCommand,
|
|
84
|
-
serviceCommand,
|
|
85
|
-
startConnect,
|
|
86
|
-
switchboard,
|
|
87
|
-
uninstall,
|
|
88
|
-
uninstallCommand,
|
|
89
|
-
uninstallDependency,
|
|
90
|
-
updateConfigFile
|
|
91
|
-
};
|
package/dist/scripts/setup.sh
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
|
3
|
-
\. ~/.nvm/nvm.sh
|
|
4
|
-
export NVM_DIR="$HOME/.nvm"
|
|
5
|
-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
6
|
-
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
7
|
-
nvm --version
|
|
8
|
-
nvm install 22
|
|
9
|
-
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
|
10
|
-
export PNPM_HOME="/home/$USER/.local/share/pnpm"
|
|
11
|
-
export PATH="$PNPM_HOME:$PATH"
|
|
12
|
-
pnpm install -g ph-cmd
|
|
13
|
-
echo ""
|
|
14
|
-
echo " 🎉 Setup Complete! 🎉"
|
|
15
|
-
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
16
|
-
echo " To complete installation:"
|
|
17
|
-
echo " 1. Restart your terminal"
|
|
18
|
-
echo " OR"
|
|
19
|
-
echo " Run: source ~/.bashrc"
|
|
20
|
-
echo ""
|
|
21
|
-
echo " 2. Start using Powerhouse by typing:"
|
|
22
|
-
echo " ph"
|
|
23
|
-
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
24
|
-
echo ""
|
package/dist/types.js
DELETED
|
File without changes
|
package/dist/utils.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
POWERHOUSE_CONFIG_FILE,
|
|
3
|
-
POWERHOUSE_GLOBAL_DIR,
|
|
4
|
-
SUPPORTED_PACKAGE_MANAGERS,
|
|
5
|
-
defaultPathValidation,
|
|
6
|
-
findNodeProjectRoot,
|
|
7
|
-
getConfig,
|
|
8
|
-
getPackageManagerFromLockfile,
|
|
9
|
-
getPackageManagerFromPath,
|
|
10
|
-
getProjectInfo,
|
|
11
|
-
isPowerhouseProject,
|
|
12
|
-
packageManagers,
|
|
13
|
-
updateConfigFile
|
|
14
|
-
} from "./chunk-V725N3UP.js";
|
|
15
|
-
export {
|
|
16
|
-
POWERHOUSE_CONFIG_FILE,
|
|
17
|
-
POWERHOUSE_GLOBAL_DIR,
|
|
18
|
-
SUPPORTED_PACKAGE_MANAGERS,
|
|
19
|
-
defaultPathValidation,
|
|
20
|
-
findNodeProjectRoot,
|
|
21
|
-
getConfig,
|
|
22
|
-
getPackageManagerFromLockfile,
|
|
23
|
-
getPackageManagerFromPath,
|
|
24
|
-
getProjectInfo,
|
|
25
|
-
isPowerhouseProject,
|
|
26
|
-
packageManagers,
|
|
27
|
-
updateConfigFile
|
|
28
|
-
};
|