v1.0.19
This commit is contained in:
@@ -72,6 +72,11 @@ const cliHelp = async () => {
|
|||||||
console.log(packageJasonWorkspace.version);
|
console.log(packageJasonWorkspace.version);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (process.env.JJ_CLI_ARG_2 == "listOfEnvs") {
|
||||||
|
const environments = getJJConfigByKeyChain('environments')
|
||||||
|
console.log(Object.keys(environments).join("\n"))
|
||||||
|
return;
|
||||||
|
}
|
||||||
console.log(chalk.blue.italic.bold("Usage: jj <COMMAND>"));
|
console.log(chalk.blue.italic.bold("Usage: jj <COMMAND>"));
|
||||||
console.group(chalk.blue.italic.bold("Commands:"));
|
console.group(chalk.blue.italic.bold("Commands:"));
|
||||||
|
|
||||||
|
|||||||
@@ -189,6 +189,11 @@ export const jjEnsure = async ({ returnProcessEnvs = false }) => {
|
|||||||
desc: "clean-workspace",
|
desc: "clean-workspace",
|
||||||
keys: [],
|
keys: [],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "listOfEnvs",
|
||||||
|
desc: "listOfEnvs",
|
||||||
|
keys: [],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
scriptToRun: {
|
scriptToRun: {
|
||||||
prePath: "__JJ_SOURCE_DIR__",
|
prePath: "__JJ_SOURCE_DIR__",
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ if [[ -e ~/.bun/bin/bun ]]; then
|
|||||||
export PATH="~/.bun/bin:${PATH}"
|
export PATH="~/.bun/bin:${PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
__bunVersionExpect="1.1.36"
|
__bunVersionExpect="1.1.34"
|
||||||
__currentBunVersion=$(bun --version || true)
|
__currentBunVersion=$(bun --version || true)
|
||||||
if [[ "$__currentBunVersion" != "${__bunVersionExpect}" ]]; then
|
if [[ "$__currentBunVersion" != "${__bunVersionExpect}" ]]; then
|
||||||
rm -rf ~/.bun/bin/bun
|
rm -rf ~/.bun/bin/bun
|
||||||
|
|||||||
+4
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jj-command-line",
|
"name": "jj-command-line",
|
||||||
"description": "jj cli",
|
"description": "jj cli",
|
||||||
"version": "1.0.18",
|
"version": "1.0.19",
|
||||||
"author": "Jason Jafari",
|
"author": "Jason Jafari",
|
||||||
"bin": {
|
"bin": {
|
||||||
"jj": "./jj.sh"
|
"jj": "./jj.sh"
|
||||||
@@ -42,7 +42,9 @@
|
|||||||
"node": ">=18.0.0"
|
"node": ">=18.0.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/https://github.com/jafarijason/jj/jj",
|
"homepage": "https://github.com/https://github.com/jafarijason/jj/jj",
|
||||||
"keywords": ["oclif"],
|
"keywords": [
|
||||||
|
"oclif"
|
||||||
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
|
|||||||
Reference in New Issue
Block a user