Skip to content

Commit

Permalink
rename cli to cli.cjs to match generate-blueprint for easier maintenace
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jun 13, 2024
1 parent 2863f12 commit 5bbb175
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/compare-base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
git checkout @~1
git log
npm install
cp "${{ github.workspace }}/jhipster-kotlin"/cli/khipster.js cli/
cp "${{ github.workspace }}/jhipster-kotlin"/cli/cli.cjs cli/
shell: bash
- name: 'MERGE: merge base config'
id: base-config
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ inputs:
executable:
description: 'Executable'
required: false
default: khipster.js
default: cli.cjs
outputs:
java-version:
description: 'Java version'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"./esm/generators/*": "./generators/*/esm.mjs"
},
"bin": {
"khipster": "cli/khipster.js"
"khipster": "cli/cli.cjs"
},
"files": [
"cli",
Expand Down
2 changes: 1 addition & 1 deletion test-integration/scripts/00-init-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if [[ "$KHI_FOLDER_APP" == "" ]]; then
fi

if [[ "$KHI_CLI" == "" ]]; then
KHI_CLI=khipster.js
KHI_CLI=cli.cjs
fi

# set correct OpenJDK version
Expand Down
2 changes: 1 addition & 1 deletion test-integration/scripts/11-generate-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ fi
# Generate jdl entities
#-------------------------------------------------------------------------------
if [[ "$JHI_JDL_ENTITY" != "" && "$JHI_JDL_ENTITY" != "none" ]]; then
khipster.js --no-insight jdl "$JHI_SAMPLES"/jdl-entities/$JHI_JDL_ENTITY.jdl --json-only
cli.cjs --no-insight jdl "$JHI_SAMPLES"/jdl-entities/$JHI_JDL_ENTITY.jdl --json-only
fi

#-------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test-integration/scripts/14-jhipster-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e
source $(dirname $0)/00-init-env.sh

cd "$KHI_FOLDER_APP"
khipster.js info
cli.cjs info

0 comments on commit 5bbb175

Please sign in to comment.