@powerhousedao/ph-cli 0.33.2-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-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-RRSG7FV6.js +0 -52
- package/dist/chunk-V725N3UP.js +0 -132
- package/dist/chunk-WUBXHLKE.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/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
|
-
};
|