@harperfast/agent 0.11.3 → 0.11.4
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/agent.js +3 -0
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -682,7 +682,10 @@ import chalk4 from "chalk";
|
|
|
682
682
|
import { existsSync as existsSync3 } from "fs";
|
|
683
683
|
import { join as join5 } from "path";
|
|
684
684
|
function sayHi() {
|
|
685
|
+
const pkg = getOwnPackageJson();
|
|
686
|
+
const packageVersion = pkg.version;
|
|
685
687
|
const harperAppExists = existsSync3(join5(trackedState.cwd, "config.yaml"));
|
|
688
|
+
console.log(chalk4.dim(`Version: ${chalk4.cyan(packageVersion)}`) + ` ${chalk4.redBright("ALPHA")}`);
|
|
686
689
|
console.log(chalk4.dim(`Working directory: ${chalk4.cyan(trackedState.cwd)}`));
|
|
687
690
|
console.log(chalk4.dim(`Harper app detected: ${chalk4.cyan(harperAppExists ? "Yes" : "No")}`));
|
|
688
691
|
console.log(chalk4.dim(`Press Ctrl+C or hit enter twice to exit.
|