generator-jhipster 9.1.0 → 9.2.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/README.md +6 -0
- package/dist/.blueprint/github-build-matrix/support/integration-test-constants.d.ts +18 -0
- package/dist/.blueprint/github-build-matrix/support/integration-test-constants.js +18 -0
- package/dist/cli/cli-command.d.ts +16 -0
- package/dist/cli/jhipster-command.d.ts +2 -2
- package/dist/cli/jhipster-command.js +2 -2
- package/dist/cli/types.d.ts +36 -0
- package/dist/generators/angular/files-angular.js +2 -2
- package/dist/generators/angular/generator.js +3 -3
- package/dist/generators/angular/resources/package.json +16 -16
- package/dist/generators/angular/templates/.gitignore.jhi.angular.ejs +27 -0
- package/dist/generators/angular/templates/angular.json.ejs +2 -1
- package/dist/generators/angular/templates/angular.json.esbuild.ejs +2 -11
- package/dist/generators/angular/templates/build-plugins/define-esbuild.ts.ejs +13 -11
- package/dist/generators/angular/templates/eslint.config.ts.jhi.angular.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.spec.ts.ejs +6 -8
- package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password/password-strength-bar/password-strength-bar.spec.ts.ejs +3 -5
- package/dist/generators/angular/templates/src/main/webapp/app/account/password/password-strength-bar/password-strength-bar.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.spec.ts.ejs +4 -6
- package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.spec.ts.ejs +6 -8
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.spec.ts.ejs +7 -9
- package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.spec.ts.ejs +8 -10
- package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.ts.ejs +3 -3
- package/dist/generators/angular/templates/src/main/webapp/app/account/sessions/sessions.spec.ts.ejs +11 -13
- package/dist/generators/angular/templates/src/main/webapp/app/account/sessions/sessions.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/account/settings/settings.spec.ts.ejs +8 -10
- package/dist/generators/angular/templates/src/main/webapp/app/account/settings/settings.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.html.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.spec.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/gateway/gateway.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.spec.ts.ejs +6 -8
- package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/health/modal/health-modal.spec.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/admin/health/modal/health-modal.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.html.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.spec.ts.ejs +3 -5
- package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/jvm-memory/jvm-memory.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/jvm-threads/jvm-threads.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-cache/metrics-cache.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-datasource/metrics-datasource.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-garbagecollector/metrics-garbagecollector.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-modal-threads/metrics-modal-threads.spec.ts.ejs +6 -6
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-modal-threads/metrics-modal-threads.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-request/metrics-request.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.spec.ts.ejs +6 -8
- package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/admin/tracker/tracker.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/app.config.ts.ejs +5 -5
- package/dist/generators/angular/templates/src/main/webapp/app/app.ts.ejs +0 -4
- package/dist/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs +10 -14
- package/dist/generators/angular/templates/src/main/webapp/app/core/auth/auth-jwt.service.spec.ts.ejs +3 -5
- package/dist/generators/angular/templates/src/main/webapp/app/core/config/application-config.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/core/microfrontend/index.ts.ejs +1 -8
- package/dist/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs +19 -21
- package/dist/generators/angular/templates/src/main/webapp/app/core/util/data-util.service.spec.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/core/util/event-manager.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/core/util/operators.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/core/util/parse-links.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/delete/_entityFile_-delete-dialog.spec.ts.ejs +5 -7
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/delete/_entityFile_-delete-dialog.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.html.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.spec.ts.ejs +9 -15
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/_entityFile_.spec.ts.ejs +11 -15
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/_entityFile_.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/route/_entityFile_-routing-resolve.service.spec.ts.ejs +6 -8
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/service/_entityFile_.service.spec.ts.ejs +1 -3
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/service/_entityFile_.service.ts.ejs +9 -7
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-form.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.html.ejs +18 -16
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.spec.ts.ejs +41 -18
- package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.ts.ejs +11 -5
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/detail/user-management-detail.spec.ts.ejs +3 -5
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/detail/user-management-detail.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/list/user-management.spec.ts.ejs +11 -10
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/list/user-management.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/service/user-management.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/update/user-management-update.spec.ts.ejs +5 -7
- package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/update/user-management-update.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/home/home.spec.ts.ejs +7 -9
- package/dist/generators/angular/templates/src/main/webapp/app/home/home.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/error/error.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/main/main.spec.ts.ejs +9 -11
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/main/main.ts.ejs +5 -3
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/active-menu.directive.ts.ejs +1 -1
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.spec.ts.ejs +5 -7
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.ts.ejs +5 -17
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/profiles/page-ribbon.spec.ts.ejs +1 -3
- package/dist/generators/angular/templates/src/main/webapp/app/layouts/profiles/page-ribbon.ts.ejs +1 -2
- package/dist/generators/angular/templates/src/main/webapp/app/login/login.spec.ts.ejs +12 -14
- package/dist/generators/angular/templates/src/main/webapp/app/login/login.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/shared/alert/alert-error.spec.ts.ejs +18 -21
- package/dist/generators/angular/templates/src/main/webapp/app/shared/alert/alert.spec.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/shared/auth/has-any-authority.directive.spec.ts.ejs +4 -6
- package/dist/generators/angular/templates/src/main/webapp/app/shared/date/format-medium-date.pipe.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/shared/date/format-medium-datetime.pipe.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/src/main/webapp/app/shared/filter/filter.model.spec.ts.ejs +12 -14
- package/dist/generators/angular/templates/src/main/webapp/app/shared/filter/filter.ts.ejs +2 -2
- package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translate.directive.spec.ts.ejs +3 -5
- package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translation.provider.ts.ejs +72 -0
- package/dist/generators/angular/templates/src/main/webapp/app/shared/pagination/item-count.spec.ts.ejs +4 -8
- package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort-by.directive.spec.ts.ejs +2 -4
- package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort.directive.spec.ts.ejs +1 -3
- package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort.service.spec.ts.ejs +0 -2
- package/dist/generators/angular/templates/webpack/webpack.microfrontend.js.ejs +1 -1
- package/dist/generators/app/command.d.ts +0 -7
- package/dist/generators/app/command.js +0 -7
- package/dist/generators/app/generator.js +2 -6
- package/dist/generators/base/command.d.ts +7 -0
- package/dist/generators/base/command.js +7 -0
- package/dist/generators/base/generator.d.ts +11 -0
- package/dist/generators/base/generator.js +15 -0
- package/dist/generators/base/support/constants.d.ts +18 -0
- package/dist/generators/base/support/constants.js +18 -0
- package/dist/generators/base/tasks.d.ts +1 -0
- package/dist/generators/base-application/entity.d.ts +18 -0
- package/dist/generators/base-application/entity.js +18 -0
- package/dist/generators/base-application/generator.js +2 -1
- package/dist/generators/base-application/internal/types/field-types.d.ts +18 -0
- package/dist/generators/base-application/internal/types/field-types.js +18 -0
- package/dist/generators/base-application/priorities.d.ts +2 -0
- package/dist/generators/base-application/priorities.js +1 -0
- package/dist/generators/base-application/support/update-application-entities-transform.d.ts +18 -0
- package/dist/generators/base-application/support/update-application-entities-transform.js +18 -0
- package/dist/generators/base-core/generator.d.ts +1 -0
- package/dist/generators/base-core/generator.js +4 -3
- package/dist/generators/base-core/internal/config-def.d.ts +18 -0
- package/dist/generators/base-core/internal/config-def.js +18 -0
- package/dist/generators/base-core/internal/jhipster7-context.d.ts +18 -0
- package/dist/generators/base-core/internal/jhipster7-context.js +18 -0
- package/dist/generators/base-core/priorities.d.ts +2 -0
- package/dist/generators/base-core/priorities.js +12 -1
- package/dist/generators/base-simple-application/application.d.ts +0 -2
- package/dist/generators/base-simple-application/generator.js +2 -1
- package/dist/generators/base-simple-application/generators/bootstrap/generator.js +0 -1
- package/dist/generators/base-simple-application/tasks.d.ts +1 -0
- package/dist/generators/base-workspaces/command.d.ts +18 -0
- package/dist/generators/base-workspaces/command.js +18 -0
- package/dist/generators/base-workspaces/internal/docker-base.js +2 -2
- package/dist/generators/base-workspaces/priorities.d.ts +2 -0
- package/dist/generators/base-workspaces/prompts.d.ts +18 -0
- package/dist/generators/base-workspaces/prompts.js +18 -0
- package/dist/generators/bootstrap/internal/transform-utils.d.ts +18 -0
- package/dist/generators/bootstrap/internal/transform-utils.js +18 -0
- package/dist/generators/bootstrap/support/eslint-worker.d.ts +18 -0
- package/dist/generators/bootstrap/support/eslint-worker.js +18 -0
- package/dist/generators/bootstrap/support/multi-step-transform/template-data.d.ts +18 -0
- package/dist/generators/bootstrap/support/multi-step-transform/template-data.js +18 -0
- package/dist/generators/bootstrap/support/multi-step-transform/template-file.d.ts +18 -0
- package/dist/generators/bootstrap/support/multi-step-transform/template-file.js +18 -0
- package/dist/generators/bootstrap/support/prettier-worker.d.ts +18 -0
- package/dist/generators/bootstrap/support/prettier-worker.js +18 -0
- package/dist/generators/ci-cd/generators/azure/templates/azure-pipelines.yml.ejs +0 -2
- package/dist/generators/ci-cd/generators/bootstrap/resources/dependabot/action.yml +1 -1
- package/dist/generators/ci-cd/generators/circle/templates/.circleci/config.yml.ejs +1 -6
- package/dist/generators/ci-cd/generators/github/templates/.github/workflows/main.yml.ejs +0 -2
- package/dist/generators/client/command.d.ts +2 -2
- package/dist/generators/client/command.js +2 -2
- package/dist/generators/client/generators/bootstrap/generator.d.ts +798 -66
- package/dist/generators/client/generators/bootstrap/generator.js +6 -6
- package/dist/generators/client/resources/package.json +1 -1
- package/dist/generators/client/support/files.d.ts +18 -0
- package/dist/generators/client/support/files.js +18 -0
- package/dist/generators/client/templates/README.md.jhi.client.ejs +1 -2
- package/dist/generators/common/command.d.ts +18 -0
- package/dist/generators/common/command.js +13 -0
- package/dist/generators/common/resources/package.json +2 -2
- package/dist/generators/cypress/resources/package.json +3 -3
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/password-page.cy.ts.ejs +1 -1
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/register-page.cy.ts.ejs +1 -1
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/reset-password-page.cy.ts.ejs +1 -1
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/settings-page.cy.ts.ejs +1 -1
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/administration/administration.cy.ts.ejs +0 -2
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/entity/_entity_.cy.ts.ejs +20 -20
- package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/lighthouse.audits.ts.ejs +3 -1
- package/dist/generators/docker/files.d.ts +18 -0
- package/dist/generators/docker/files.js +18 -0
- package/dist/generators/docker-compose/command.d.ts +18 -0
- package/dist/generators/docker-compose/command.js +18 -0
- package/dist/generators/entity/support/asserts.js +2 -2
- package/dist/generators/generate-blueprint/generators/standalone/generator.js +2 -2
- package/dist/generators/generate-blueprint/generators/standalone/templates/.blueprint/generate-sample/command.ts.ejs +4 -4
- package/dist/generators/generate-blueprint/generators/standalone/templates/.blueprint/github-build-matrix/command.ts.ejs +4 -4
- package/dist/generators/generate-blueprint/generators/standalone/templates/.github/workflows/build-cache.yml.ejs +2 -0
- package/dist/generators/generate-blueprint/generators/standalone/templates/.github/workflows/samples.yml.ejs +4 -0
- package/dist/generators/generate-blueprint/generators/standalone/templates/tsconfig.json.ejs +7 -2
- package/dist/generators/generate-blueprint/internal/lookup-namespaces.d.ts +18 -0
- package/dist/generators/generate-blueprint/internal/lookup-namespaces.js +18 -0
- package/dist/generators/generate-blueprint/resources/package.json +3 -3
- package/dist/generators/generate-blueprint/templates/generators/generator/command.ts.ejs +3 -1
- package/dist/generators/heroku/templates.d.ts +18 -0
- package/dist/generators/heroku/templates.js +18 -0
- package/dist/generators/index.d.ts +18 -0
- package/dist/generators/index.js +18 -0
- package/dist/generators/info/command.d.ts +5 -0
- package/dist/generators/info/command.js +5 -0
- package/dist/generators/info/index.d.ts +1 -0
- package/dist/generators/info/index.js +1 -0
- package/dist/generators/info/support/extract-info.d.ts +18 -0
- package/dist/generators/info/support/extract-info.js +19 -1
- package/dist/generators/info/support/markdown-content.d.ts +18 -0
- package/dist/generators/info/support/markdown-content.js +18 -0
- package/dist/generators/init/generator.js +3 -3
- package/dist/generators/init/resources/.node-version +1 -1
- package/dist/generators/java/generators/bootstrap/generator.js +0 -2
- package/dist/generators/java/generators/domain/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.ejs +13 -7
- package/dist/generators/java/generators/domain/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Test.java.ejs +8 -16
- package/dist/generators/java/generators/server/generator.js +1 -1
- package/dist/generators/java/support/artifacts.d.ts +18 -0
- package/dist/generators/java/support/artifacts.js +18 -0
- package/dist/generators/java/support/checks/index.d.ts +18 -0
- package/dist/generators/java/support/checks/index.js +18 -0
- package/dist/generators/java/support/java-enum.d.ts +18 -0
- package/dist/generators/java/support/java-enum.js +18 -0
- package/dist/generators/java/support/key-store.d.ts +18 -0
- package/dist/generators/java/support/key-store.js +18 -0
- package/dist/generators/java/support/prepare-entity.d.ts +18 -0
- package/dist/generators/java/support/prepare-entity.js +18 -0
- package/dist/generators/java/support/util.d.ts +18 -0
- package/dist/generators/java/support/util.js +18 -0
- package/dist/generators/java-simple-application/application.d.ts +1 -1
- package/dist/generators/java-simple-application/generator.d.ts +1 -1
- package/dist/generators/java-simple-application/generator.js +2 -1
- package/dist/generators/java-simple-application/generators/code-quality/templates/buildSrc/src/main/groovy/jhipster.code-quality-conventions.gradle.ejs +1 -1
- package/dist/generators/java-simple-application/generators/code-quality/templates/checkstyle.xml.ejs +1 -11
- package/dist/generators/java-simple-application/generators/graalvm/internal/constants.d.ts +19 -1
- package/dist/generators/java-simple-application/generators/graalvm/internal/constants.js +19 -1
- package/dist/generators/java-simple-application/generators/graalvm/internal/maven-definition.d.ts +18 -0
- package/dist/generators/java-simple-application/generators/graalvm/internal/maven-definition.js +18 -0
- package/dist/generators/java-simple-application/generators/graalvm/resources/gradle/libs.versions.toml +1 -1
- package/dist/generators/java-simple-application/generators/gradle/templates/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/dist/generators/java-simple-application/generators/gradle/types.d.ts +2 -4
- package/dist/generators/javascript-simple-application/command.d.ts +5 -0
- package/dist/generators/javascript-simple-application/command.js +5 -0
- package/dist/generators/javascript-simple-application/generator.js +2 -3
- package/dist/generators/javascript-simple-application/index.d.ts +1 -0
- package/dist/generators/javascript-simple-application/index.js +1 -0
- package/dist/generators/javascript-simple-application/resources/package.json +2 -2
- package/dist/generators/jdl/command.d.ts +18 -0
- package/dist/generators/jdl/command.js +18 -0
- package/dist/generators/jdl/support/export-jdl-transform.d.ts +18 -0
- package/dist/generators/jdl/support/export-jdl-transform.js +18 -0
- package/dist/generators/jdl/support/import-jdl-transform.d.ts +18 -0
- package/dist/generators/jdl/support/import-jdl-transform.js +18 -0
- package/dist/generators/jdl/support/index.d.ts +18 -0
- package/dist/generators/jdl/support/index.js +18 -0
- package/dist/generators/kubernetes/generator.js +1 -1
- package/dist/generators/kubernetes/generators/knative/generator.js +1 -1
- package/dist/generators/kubernetes/generators/knative/templates/kubectl-apply.sh.ejs +0 -2
- package/dist/generators/liquibase/generator.js +1 -1
- package/dist/generators/liquibase/support/maven-plugin.d.ts +18 -0
- package/dist/generators/liquibase/support/maven-plugin.js +18 -0
- package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/changelog/add_relationship_constraints.ejs +6 -8
- package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/changelog/updated_entity.xml.ejs +47 -59
- package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/fake-data/table_entity.csv.ejs +0 -1
- package/dist/generators/project-name/application.d.ts +18 -0
- package/dist/generators/project-name/application.js +18 -0
- package/dist/generators/project-name/generator.d.ts +3 -19
- package/dist/generators/project-name/generator.js +30 -5
- package/dist/generators/project-name/generators/bootstrap/generator.d.ts +0 -18
- package/dist/generators/project-name/generators/bootstrap/generator.js +5 -0
- package/dist/generators/react/command.d.ts +5 -0
- package/dist/generators/react/command.js +5 -0
- package/dist/generators/react/generator.js +0 -6
- package/dist/generators/react/index.d.ts +1 -0
- package/dist/generators/react/index.js +1 -0
- package/dist/generators/react/resources/package.json +26 -27
- package/dist/generators/react/templates/package.json.ejs +5 -0
- package/dist/generators/react/templates/src/main/webapp/app/app.scss.ejs +0 -34
- package/dist/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_.tsx.ejs +0 -2
- package/dist/generators/react/templates/src/main/webapp/app/entities/reducers.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/entities/routes.tsx.ejs +0 -2
- package/dist/generators/react/templates/src/main/webapp/app/index.tsx.ejs +15 -0
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/activate/activate.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/password/password.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/password-reset/password-reset.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/register/register.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/sessions/sessions.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/account/settings/settings.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/administration/administration.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/administration/user-management/user-management.reducer.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/modules/home/home.tsx.ejs +1 -4
- package/dist/generators/react/templates/src/main/webapp/app/routes.tsx.ejs +4 -8
- package/dist/generators/react/templates/src/main/webapp/app/shared/layout/header/header-components.tsx.ejs +2 -2
- package/dist/generators/react/templates/src/main/webapp/app/shared/layout/header/header.spec.tsx.ejs +3 -2
- package/dist/generators/react/templates/src/main/webapp/app/shared/layout/menus/entities.tsx.ejs +3 -6
- package/dist/generators/react/templates/src/main/webapp/app/shared/layout/menus/menu-item.tsx.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/application-profile.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/authentication.spec.ts.ejs +5 -5
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/authentication.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/index.ts.ejs +2 -4
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/locale.ts.ejs +1 -1
- package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/user-management.ts.ejs +1 -1
- package/dist/generators/react/templates/webpack/webpack.common.js.ejs +1 -1
- package/dist/generators/server/generators/bootstrap/generator.d.ts +6 -2
- package/dist/generators/server/generators/bootstrap/generator.js +7 -6
- package/dist/generators/server/resources/Dockerfile +14 -14
- package/dist/generators/server/resources/gradle/libs.versions.toml +11 -11
- package/dist/generators/server/resources/pom.xml +8 -8
- package/dist/generators/server/support/build-specification-mapper.d.ts +18 -0
- package/dist/generators/server/support/build-specification-mapper.js +18 -0
- package/dist/generators/server/support/database.d.ts +1 -1
- package/dist/generators/server/support/database.js +1 -1
- package/dist/generators/server/support/prepare-relationship.d.ts +18 -0
- package/dist/generators/server/support/prepare-relationship.js +18 -0
- package/dist/generators/spring-boot/generators/cache/generator.js +3 -4
- package/dist/generators/spring-boot/generators/cache/resources/gradle/libs.versions.toml +3 -3
- package/dist/generators/spring-boot/generators/cache/templates/src/main/java/_package_/config/CacheConfiguration_redis.java.ejs +0 -2
- package/dist/generators/spring-boot/generators/data-couchbase/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_couchbase.ejs +1 -5
- package/dist/generators/spring-boot/generators/data-couchbase/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_Repository.java.ejs +5 -25
- package/dist/generators/spring-boot/generators/data-mongodb/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_mongodb.ejs +2 -4
- package/dist/generators/spring-boot/generators/data-neo4j/generator.d.ts +2 -2
- package/dist/generators/spring-boot/generators/data-neo4j/generator.js +6 -0
- package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_reactive.ejs +1 -1
- package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_Repository.java.ejs +3 -13
- package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_RepositoryInternalImpl_reactive.java.ejs +10 -5
- package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/rowmapper/_entityClass_RowMapper_reactive.java.ejs +12 -6
- package/dist/generators/spring-boot/resources/spring-boot-dependencies-4.json +85 -85
- package/dist/generators/spring-boot/resources/spring-boot-dependencies-4.pom +343 -343
- package/dist/generators/spring-boot/resources/spring-boot-dependencies.json +83 -83
- package/dist/generators/spring-boot/resources/spring-boot-dependencies.pom +116 -116
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/get_all_stream_template.ejs +2 -3
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/inject_template.ejs +0 -1
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/save_user_snapshot_template.ejs +31 -0
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/search_template.ejs +1 -2
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/validate_id_template.ejs +24 -0
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/repository/UserRepository.java.ejs +3 -13
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/UserService.java.ejs +1 -2
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/impl/_entityClass_ServiceImpl.java.ejs +4 -8
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/mapper/_entityClass_Mapper.java.ejs +2 -4
- package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/web/rest/_entityClass_Resource.java.ejs +15 -66
- package/dist/generators/spring-boot/templates/src/main/java/_package_/config/SecurityConfiguration_imperative.java.ejs +1 -3
- package/dist/generators/spring-boot/templates/src/main/java/_package_/config/SecurityConfiguration_reactive.java.ejs +2 -2
- package/dist/generators/spring-boot/templates/src/main/java/_package_/config/WebConfigurer.java.ejs +1 -2
- package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/AbstractAuditingEntity.java.ejs +10 -20
- package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/PersistentToken.java.ejs +2 -4
- package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/User.java.ejs +10 -20
- package/dist/generators/spring-boot/templates/src/main/java/_package_/repository/PersistentTokenRepository.java.ejs +0 -2
- package/dist/generators/spring-boot/templates/src/main/java/_package_/security/DomainUserDetailsService.java.ejs +0 -3
- package/dist/generators/spring-boot/templates/src/main/java/_package_/security/SecurityUtils.java.ejs +2 -9
- package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/AccountResource.java.ejs +41 -5
- package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/AccountResource_skipUserManagement.java.ejs +0 -1
- package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/errors/ExceptionTranslator.java.ejs +6 -5
- package/dist/generators/spring-boot/templates/src/main/resources/config/application-dev.yml.ejs +1 -1
- package/dist/generators/spring-boot/templates/src/main/resources/config/application.yml.ejs +1 -1
- package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/service/UserServiceIT.java.ejs +3 -5
- package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/PublicUserResourceIT.java.ejs +3 -9
- package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/UserResourceIT.java.ejs +6 -12
- package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/_entityClass_ResourceIT.java.ejs +217 -255
- package/dist/generators/spring-boot/templates/src/test/java/_package_/security/SecurityUtilsUnitTest_imperative.java.ejs +1 -1
- package/dist/generators/spring-boot/templates/src/test/java/_package_/service/MailServiceIT.java.ejs +2 -5
- package/dist/generators/spring-boot/templates/src/test/java/_package_/service/mapper/UserMapperTest.java.ejs +3 -2
- package/dist/generators/spring-boot/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs +41 -7
- package/dist/generators/spring-boot/types.d.ts +1 -2
- package/dist/generators/spring-cloud/generators/feign-client/files.d.ts +18 -0
- package/dist/generators/spring-cloud/generators/feign-client/files.js +18 -0
- package/dist/generators/spring-cloud/resources/gradle/libs.versions.toml +2 -2
- package/dist/generators/upgrade/support/constants.d.ts +18 -0
- package/dist/generators/upgrade/support/constants.js +18 -0
- package/dist/generators/upgrade/support/index.d.ts +18 -0
- package/dist/generators/upgrade/support/index.js +18 -0
- package/dist/generators/vue/command.d.ts +5 -0
- package/dist/generators/vue/command.js +5 -0
- package/dist/generators/vue/index.d.ts +1 -0
- package/dist/generators/vue/index.js +1 -0
- package/dist/generators/vue/resources/package.json +32 -32
- package/dist/generators/vue/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.vue.ejs +7 -2
- package/dist/generators/vue/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_.service.spec.ts.ejs +2 -1
- package/dist/generators/vue/templates/src/main/webapp/app/router/account.ts.ejs +1 -1
- package/dist/generators/vue/templates/src/main/webapp/app/shared/alert/alert.service.ts.ejs +0 -2
- package/dist/generators/workspaces/command.d.ts +18 -0
- package/dist/generators/workspaces/command.js +18 -0
- package/dist/generators/workspaces/generator.js +25 -21
- package/dist/lib/ci/apply-patch-to-template.d.ts +18 -0
- package/dist/lib/ci/apply-patch-to-template.js +18 -0
- package/dist/lib/ci/github-group.d.ts +18 -0
- package/dist/lib/ci/github-group.js +18 -0
- package/dist/lib/ci/github-matrix.d.ts +18 -0
- package/dist/lib/ci/github-matrix.js +18 -0
- package/dist/lib/ci/github.d.ts +18 -0
- package/dist/lib/ci/github.js +18 -0
- package/dist/lib/ci/index.d.ts +18 -0
- package/dist/lib/ci/index.js +18 -0
- package/dist/lib/ci/sample-config.d.ts +18 -0
- package/dist/lib/ci/sample-config.js +18 -0
- package/dist/lib/ci/support/application-samples.d.ts +18 -0
- package/dist/lib/ci/support/application-samples.js +18 -0
- package/dist/lib/ci/support/client-samples.d.ts +18 -0
- package/dist/lib/ci/support/client-samples.js +18 -0
- package/dist/lib/ci/support/deployment-samples.d.ts +18 -0
- package/dist/lib/ci/support/deployment-samples.js +18 -0
- package/dist/lib/ci/support/matrix-utils.d.ts +18 -0
- package/dist/lib/ci/support/matrix-utils.js +18 -0
- package/dist/lib/ci/support/server-samples.d.ts +18 -0
- package/dist/lib/ci/support/server-samples.js +18 -0
- package/dist/lib/command/converter.d.ts +18 -0
- package/dist/lib/command/converter.js +18 -0
- package/dist/lib/command/index.d.ts +18 -0
- package/dist/lib/command/index.js +18 -0
- package/dist/lib/command/lookup-commands-configs.d.ts +18 -0
- package/dist/lib/command/lookup-commands-configs.js +18 -0
- package/dist/lib/command/mutations.d.ts +18 -0
- package/dist/lib/command/mutations.js +18 -0
- package/dist/lib/command/types.d.ts +1 -5
- package/dist/lib/eslint/base.d.ts +18 -0
- package/dist/lib/eslint/base.js +18 -0
- package/dist/lib/eslint/index.d.ts +18 -0
- package/dist/lib/eslint/index.js +18 -0
- package/dist/lib/eslint/recommended.d.ts +18 -0
- package/dist/lib/eslint/recommended.js +18 -0
- package/dist/lib/index.d.ts +18 -0
- package/dist/lib/index.js +18 -0
- package/dist/lib/jdl/converters/jdl-to-json/jdl-to-json-relationship-converter.js +2 -2
- package/dist/lib/jdl/core/basic-types/index.d.ts +18 -0
- package/dist/lib/jdl/core/basic-types/index.js +18 -0
- package/dist/lib/jdl/core/basic-types/relationships.d.ts +18 -0
- package/dist/lib/jdl/core/basic-types/relationships.js +18 -0
- package/dist/lib/jdl/core/built-in-options/index.d.ts +18 -0
- package/dist/lib/jdl/core/built-in-options/index.js +18 -0
- package/dist/lib/jdl/core/built-in-options/jdl-application-definition.d.ts +18 -0
- package/dist/lib/jdl/core/built-in-options/jdl-application-definition.js +18 -0
- package/dist/lib/jdl/core/models/jdl-enum-value.d.ts +18 -0
- package/dist/lib/jdl/core/models/jdl-enum-value.js +18 -0
- package/dist/lib/jdl/core/parsing/validator.js +1 -1
- package/dist/lib/jdl/core/runtime.d.ts +18 -0
- package/dist/lib/jdl/core/runtime.js +18 -0
- package/dist/lib/jdl/index.d.ts +18 -0
- package/dist/lib/jdl/index.js +18 -0
- package/dist/lib/jhipster/index.d.ts +18 -0
- package/dist/lib/jhipster/index.js +18 -0
- package/dist/lib/jhipster/openapi-options.d.ts +18 -0
- package/dist/lib/jhipster/openapi-options.js +18 -0
- package/dist/lib/testing/helpers.d.ts +18 -0
- package/dist/lib/testing/helpers.js +21 -2
- package/dist/lib/testing/index.d.ts +18 -0
- package/dist/lib/testing/index.js +18 -0
- package/dist/lib/testing/mutate-data.d.ts +5 -5
- package/dist/lib/testing/mutate-data.js +5 -5
- package/dist/lib/testing/support/entity-samples.d.ts +18 -0
- package/dist/lib/testing/support/entity-samples.js +18 -0
- package/dist/lib/testing/support/matcher.d.ts +18 -0
- package/dist/lib/testing/support/matcher.js +18 -0
- package/dist/lib/utils/basename.d.ts +18 -0
- package/dist/lib/utils/basename.js +18 -0
- package/dist/lib/utils/derived-property.d.ts +18 -0
- package/dist/lib/utils/derived-property.js +18 -0
- package/dist/lib/utils/get-generator.d.ts +18 -0
- package/dist/lib/utils/get-generator.js +18 -0
- package/dist/lib/utils/lookup.js +6 -4
- package/dist/lib/utils/yo-rc.d.ts +18 -0
- package/dist/lib/utils/yo-rc.js +18 -0
- package/dist/package.json +29 -31
- package/package.json +29 -31
- package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs +0 -80
|
@@ -16,6 +16,8 @@ const COMPOSING_COMPONENT = 'composingComponent';
|
|
|
16
16
|
const COMPOSING_COMPONENT_QUEUE = `${QUEUE_PREFIX}${COMPOSING_COMPONENT}`;
|
|
17
17
|
const LOADING = 'loading';
|
|
18
18
|
const LOADING_QUEUE = `${QUEUE_PREFIX}${LOADING}`;
|
|
19
|
+
const COMPOSING_BOOTSTRAP = 'composingBootstrap';
|
|
20
|
+
const COMPOSING_BOOTSTRAP_QUEUE = `${QUEUE_PREFIX}${COMPOSING_BOOTSTRAP}`;
|
|
19
21
|
const PREPARING = 'preparing';
|
|
20
22
|
const PREPARING_QUEUE = `${QUEUE_PREFIX}${PREPARING}`;
|
|
21
23
|
const POST_PREPARING = 'postPreparing';
|
|
@@ -64,9 +66,15 @@ export const CUSTOM_PRIORITIES = [
|
|
|
64
66
|
{
|
|
65
67
|
priorityName: LOADING,
|
|
66
68
|
queueName: LOADING_QUEUE,
|
|
67
|
-
before:
|
|
69
|
+
before: COMPOSING_BOOTSTRAP,
|
|
68
70
|
args: generator => generator.getArgsForPriority(LOADING),
|
|
69
71
|
},
|
|
72
|
+
{
|
|
73
|
+
priorityName: COMPOSING_BOOTSTRAP,
|
|
74
|
+
queueName: COMPOSING_BOOTSTRAP_QUEUE,
|
|
75
|
+
before: PREPARING,
|
|
76
|
+
args: generator => generator.getArgsForPriority(COMPOSING_BOOTSTRAP),
|
|
77
|
+
},
|
|
70
78
|
{
|
|
71
79
|
priorityName: PREPARING,
|
|
72
80
|
queueName: PREPARING_QUEUE,
|
|
@@ -130,6 +138,7 @@ export const PRIORITY_NAMES = {
|
|
|
130
138
|
COMPOSING,
|
|
131
139
|
COMPOSING_COMPONENT,
|
|
132
140
|
LOADING,
|
|
141
|
+
COMPOSING_BOOTSTRAP,
|
|
133
142
|
PREPARING,
|
|
134
143
|
POST_PREPARING,
|
|
135
144
|
DEFAULT,
|
|
@@ -149,6 +158,7 @@ export const PRIORITY_NAMES_LIST = [
|
|
|
149
158
|
COMPOSING,
|
|
150
159
|
COMPOSING_COMPONENT,
|
|
151
160
|
LOADING,
|
|
161
|
+
COMPOSING_BOOTSTRAP,
|
|
152
162
|
PREPARING,
|
|
153
163
|
POST_PREPARING,
|
|
154
164
|
DEFAULT,
|
|
@@ -167,6 +177,7 @@ export const QUEUES = {
|
|
|
167
177
|
COMPOSING_QUEUE,
|
|
168
178
|
COMPOSING_COMPONENT_QUEUE,
|
|
169
179
|
LOADING_QUEUE,
|
|
180
|
+
COMPOSING_BOOTSTRAP_QUEUE,
|
|
170
181
|
PREPARING_QUEUE,
|
|
171
182
|
POST_PREPARING_QUEUE,
|
|
172
183
|
DEFAULT_QUEUE: DEFAULT,
|
|
@@ -76,7 +76,6 @@ export declare const mutateApplicationPreparing: {
|
|
|
76
76
|
license: string;
|
|
77
77
|
author: {
|
|
78
78
|
name: string;
|
|
79
|
-
email: string;
|
|
80
79
|
url: string;
|
|
81
80
|
};
|
|
82
81
|
type: string;
|
|
@@ -222,7 +221,6 @@ export declare const mutateApplicationPreparing: {
|
|
|
222
221
|
"@types/debug": string;
|
|
223
222
|
"@types/didyoumean": string;
|
|
224
223
|
"@types/node": string;
|
|
225
|
-
"@types/npmcli__arborist": string;
|
|
226
224
|
"@types/pluralize": string;
|
|
227
225
|
"@types/semver": string;
|
|
228
226
|
"cpy-cli": string;
|
|
@@ -4,11 +4,12 @@ import BaseGenerator from "../base/index.js";
|
|
|
4
4
|
import { PRIORITY_NAMES } from "../base-core/priorities.js";
|
|
5
5
|
import { sanitizeConfigForNodeApplications } from "./support/config-hardening.js";
|
|
6
6
|
import { CONTEXT_DATA_APPLICATION_KEY, CONTEXT_DATA_SANITIZATION_KEY, CONTEXT_DATA_SOURCE_KEY } from "./support/index.js";
|
|
7
|
-
const { LOADING, PREPARING, POST_PREPARING, DEFAULT, WRITING, POST_WRITING, PRE_CONFLICTS, INSTALL, END } = PRIORITY_NAMES;
|
|
7
|
+
const { LOADING, COMPOSING_BOOTSTRAP, PREPARING, POST_PREPARING, DEFAULT, WRITING, POST_WRITING, PRE_CONFLICTS, INSTALL, END } = PRIORITY_NAMES;
|
|
8
8
|
const PRIORITY_WITH_SOURCE = new Set([PREPARING, POST_PREPARING, POST_WRITING]);
|
|
9
9
|
const PRIORITY_WITH_APPLICATION_DEFAULTS = new Set([PREPARING, LOADING]);
|
|
10
10
|
const PRIORITY_WITH_APPLICATION = new Set([
|
|
11
11
|
LOADING,
|
|
12
|
+
COMPOSING_BOOTSTRAP,
|
|
12
13
|
PREPARING,
|
|
13
14
|
POST_PREPARING,
|
|
14
15
|
DEFAULT,
|
|
@@ -26,7 +26,6 @@ export default class BaseSimpleApplicationBootstrapGenerator extends BaseSimpleA
|
|
|
26
26
|
await this.composeWithBlueprints();
|
|
27
27
|
}
|
|
28
28
|
await this.dependsOnBootstrap('project-name');
|
|
29
|
-
await this.dependsOnJHipster('project-name');
|
|
30
29
|
}
|
|
31
30
|
get configuring() {
|
|
32
31
|
return this.asConfiguringTaskGroup({
|
|
@@ -55,6 +55,7 @@ export type SimpleTaskTypes<
|
|
|
55
55
|
{
|
|
56
56
|
BootstrapApplicationTaskParam: TaskParamWithControl & ApplicationDefaultsTaskParam<A>;
|
|
57
57
|
LoadingTaskParam: TaskParamWithApplication<A> & ApplicationDefaultsTaskParam<A>;
|
|
58
|
+
ComposingBootstrapTaskParam: TaskParamWithApplication<A> & ApplicationDefaultsTaskParam<A>;
|
|
58
59
|
PreparingTaskParam: TaskParamWithSource<S> & TaskParamWithApplication<A> & ApplicationDefaultsTaskParam<A>;
|
|
59
60
|
PostPreparingTaskParam: TaskParamWithSource<S> & TaskParamWithApplication<A>;
|
|
60
61
|
DefaultTaskParam: TaskParamWithApplication<A>;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
declare const command: {
|
|
2
20
|
readonly configs: {};
|
|
3
21
|
};
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
const command = {
|
|
2
20
|
configs: {},
|
|
3
21
|
};
|
|
@@ -28,11 +28,11 @@ export { checkDocker } from "../../docker/support/index.js";
|
|
|
28
28
|
*/
|
|
29
29
|
export const checkImages = function checkImages({ applications }) {
|
|
30
30
|
this.log.log('\nChecking Docker images in applications directories...');
|
|
31
|
-
let imagePath = '';
|
|
32
|
-
let runCommand = '';
|
|
33
31
|
let hasWarning = false;
|
|
34
32
|
let warningMessage = 'To generate the missing Docker image(s), please run:\n';
|
|
35
33
|
for (const app of applications) {
|
|
34
|
+
let imagePath;
|
|
35
|
+
let runCommand;
|
|
36
36
|
if (app.buildTool === MAVEN) {
|
|
37
37
|
imagePath = this.workspacePath(app.appFolder, '/target/jib-cache');
|
|
38
38
|
runCommand = `./mvnw -ntp -Pprod verify jib:dockerBuild${process.arch === 'arm64' ? ' -Djib-maven-plugin.architecture=arm64' : ''}`;
|
|
@@ -56,6 +56,7 @@ export declare const PRIORITY_NAMES: {
|
|
|
56
56
|
readonly COMPOSING: "composing";
|
|
57
57
|
readonly COMPOSING_COMPONENT: "composingComponent";
|
|
58
58
|
readonly LOADING: "loading";
|
|
59
|
+
readonly COMPOSING_BOOTSTRAP: "composingBootstrap";
|
|
59
60
|
readonly PREPARING: "preparing";
|
|
60
61
|
readonly POST_PREPARING: "postPreparing";
|
|
61
62
|
readonly DEFAULT: "default";
|
|
@@ -79,6 +80,7 @@ export declare const QUEUES: {
|
|
|
79
80
|
COMPOSING_QUEUE: string;
|
|
80
81
|
COMPOSING_COMPONENT_QUEUE: string;
|
|
81
82
|
LOADING_QUEUE: string;
|
|
83
|
+
COMPOSING_BOOTSTRAP_QUEUE: string;
|
|
82
84
|
PREPARING_QUEUE: string;
|
|
83
85
|
POST_PREPARING_QUEUE: string;
|
|
84
86
|
DEFAULT_QUEUE: string;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
/**
|
|
2
20
|
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
21
|
*
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import { existsSync } from 'node:fs';
|
|
2
20
|
import { readdir } from 'node:fs/promises';
|
|
3
21
|
import chalk from 'chalk';
|
|
@@ -1 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
export declare const addLineNumbers: (input: string) => string;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
export const addLineNumbers = (input) => input
|
|
2
20
|
.split('\n')
|
|
3
21
|
.map((line, index) => `${index + 1}: ${line}`)
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import eslint from 'eslint';
|
|
2
20
|
declare const _default: ({ cwd, filePath, fileContents, extensions, config, additionalConfig, recreateEslint, }: {
|
|
3
21
|
cwd?: string;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import eslint from 'eslint';
|
|
2
20
|
import { defineConfig } from 'eslint/config';
|
|
3
21
|
import java from 'eslint-plugin-java-lang';
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import type TemplateFile from './template-file.ts';
|
|
2
20
|
export default class TemplateData {
|
|
3
21
|
private readonly _templateFile;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
export default class TemplateData {
|
|
2
20
|
_templateFile;
|
|
3
21
|
_defaultData;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import ejs from 'ejs';
|
|
2
20
|
import type { MemFsEditorFile } from 'mem-fs-editor';
|
|
3
21
|
export default class TemplateFile {
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import assert from 'node:assert';
|
|
2
20
|
import path from 'node:path';
|
|
3
21
|
import debugBuilder from 'debug';
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
declare const _default: ({ relativeFilePath, filePath, fileContents, prettierOptions, prettierPackageJson, prettierJava, prettierProperties, }: {
|
|
2
20
|
relativeFilePath: string;
|
|
3
21
|
filePath: string;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2026 the original author or authors from the JHipster project.
|
|
3
|
+
*
|
|
4
|
+
* This file is part of the JHipster project, see https://www.jhipster.tech/
|
|
5
|
+
* for more information.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import { format, resolveConfig } from 'prettier';
|
|
2
20
|
import prettierPluginJava from 'prettier-plugin-java';
|
|
3
21
|
import prettierPluginPackagejson from 'prettier-plugin-packagejson';
|
|
@@ -127,7 +127,6 @@ jobs:
|
|
|
127
127
|
<%- commented %> command: 'custom'
|
|
128
128
|
<%- commented %> customCommand: ' run ci:e2e:run'
|
|
129
129
|
<%- commented %> displayName: 'E2E: Run'
|
|
130
|
-
<%_ if (cypressTests) { _%>
|
|
131
130
|
<%- commented %> env:
|
|
132
131
|
<%- commented %> CYPRESS_ENABLE_RECORD: <%- ciCdIntegrationsCypressDashboard %>
|
|
133
132
|
<%- commented %> CYPRESS_PROJECT_ID: $(CYPRESS_PROJECT_ID)
|
|
@@ -138,7 +137,6 @@ jobs:
|
|
|
138
137
|
<%- commented %> targetPath: '$(Build.SourcesDirectory)/<%- temporaryDir %>cypress/screenshots'
|
|
139
138
|
<%- commented %> condition: failed()
|
|
140
139
|
<%- commented %> displayName: 'E2E: Publish Cypress Screenshots'
|
|
141
|
-
<%_ } _%>
|
|
142
140
|
<%- commented %>- task: Npm@1
|
|
143
141
|
<%- commented %> inputs:
|
|
144
142
|
<%- commented %> command: 'custom'
|
|
@@ -65,12 +65,9 @@ jobs:
|
|
|
65
65
|
- node_modules
|
|
66
66
|
<%_ if (buildToolMaven) { _%>
|
|
67
67
|
- ~/.m2
|
|
68
|
-
<%_ } else if (buildToolGradle) { _%>
|
|
69
|
-
- ~/.gradle
|
|
70
|
-
<%_ } _%>
|
|
71
|
-
<%_ if (buildToolMaven) { _%>
|
|
72
68
|
key: v1-dependencies-{{ checksum "pom.xml" }}-{{ checksum "package-lock.json" }}
|
|
73
69
|
<%_ } else if (buildToolGradle) { _%>
|
|
70
|
+
- ~/.gradle
|
|
74
71
|
key: v1-dependencies-{{ checksum "build.gradle" }}-{{ checksum "package-lock.json" }}
|
|
75
72
|
<%_ } _%>
|
|
76
73
|
|
|
@@ -113,10 +110,8 @@ jobs:
|
|
|
113
110
|
<%- commented %>- run:
|
|
114
111
|
<%- commented %> name: 'E2E: Run'
|
|
115
112
|
<%- commented %> command: <%- nodePackageManager %> run ci:e2e:run
|
|
116
|
-
<%_ if (cypressTests) { _%>
|
|
117
113
|
<%- commented %> environment:
|
|
118
114
|
<%- commented %> CYPRESS_ENABLE_RECORD: <%- ciCdIntegrationsCypressDashboard %>
|
|
119
|
-
<%_ } _%>
|
|
120
115
|
<%- commented %>- run:
|
|
121
116
|
<%- commented %> name: 'E2E: Teardown'
|
|
122
117
|
<%- commented %> command: <%- nodePackageManager %> run ci:e2e:teardown
|
|
@@ -156,12 +156,10 @@ jobs:
|
|
|
156
156
|
<%- commented %> run: <%- nodePackageManager %> run ci:e2e:prepare
|
|
157
157
|
<%- commented %>- name: 'E2E: Run'
|
|
158
158
|
<%- commented %> run: <%- nodePackageManager %> run ci:e2e:run
|
|
159
|
-
<%_ if (cypressTests) { _%>
|
|
160
159
|
<%- commented %> env:
|
|
161
160
|
<%- commented %> CYPRESS_ENABLE_RECORD: <%- ciCdIntegrationsCypressDashboard %>
|
|
162
161
|
<%- commented %> CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
|
|
163
162
|
<%- commented %> CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
|
164
|
-
<%_ } _%>
|
|
165
163
|
<%- commented %>- name: 'E2E: Teardown'
|
|
166
164
|
<%- commented %> run: <%- nodePackageManager %> run ci:e2e:teardown
|
|
167
165
|
<%_ } _%>
|
|
@@ -118,8 +118,8 @@ declare const command: {
|
|
|
118
118
|
readonly tokenValuePattern: RegExp;
|
|
119
119
|
};
|
|
120
120
|
readonly scope: "storage";
|
|
121
|
-
readonly choices: readonly ["
|
|
122
|
-
readonly default:
|
|
121
|
+
readonly choices: readonly ["vitest"];
|
|
122
|
+
readonly default: "vitest";
|
|
123
123
|
};
|
|
124
124
|
readonly clientTestFrameworks: {
|
|
125
125
|
readonly description: "Client test frameworks";
|
|
@@ -146,8 +146,8 @@ const command = {
|
|
|
146
146
|
tokenValuePattern: ALPHANUMERIC_PATTERN,
|
|
147
147
|
},
|
|
148
148
|
scope: 'storage',
|
|
149
|
-
choices: ['
|
|
150
|
-
default:
|
|
149
|
+
choices: ['vitest'],
|
|
150
|
+
default: 'vitest',
|
|
151
151
|
},
|
|
152
152
|
clientTestFrameworks: {
|
|
153
153
|
description: 'Client test frameworks',
|