-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
68 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { readFileSync } from 'fs'; | ||
import { dirname, join } from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import { JHIPSTER_DEPENDENCIES_VERSION } from '../generators/generator-constants.js'; | ||
|
||
const FORCE_BUILD_JHIPSTER_BOM = false; | ||
export const JHIPSTER_BOM_BRANCH = 'main'; | ||
export const JHIPSTER_BOM_CICD_VERSION = '0.0.0-CICD'; | ||
export const BUILD_JHIPSTER_BOM = FORCE_BUILD_JHIPSTER_BOM || JHIPSTER_DEPENDENCIES_VERSION.includes('-SNAPSHOT'); | ||
|
||
export { NODE_VERSION, JAVA_VERSION } from '../generators/generator-constants.js'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
export const packageRoot = join(dirname(__filename), '../..'); | ||
|
||
export const NPM_VERSION = JSON.parse(readFileSync(join(packageRoot, 'generators/common/resources/package.json'), 'utf-8')).devDependencies | ||
.npm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters