diff --git a/.ci/jenkins/Jenkinsfile.release-build b/.ci/jenkins/Jenkinsfile.release-build index ade739b87b4..98c7fa901bf 100644 --- a/.ci/jenkins/Jenkinsfile.release-build +++ b/.ci/jenkins/Jenkinsfile.release-build @@ -88,6 +88,17 @@ pipeline { stage('Parallel - Builds') { parallel { + stage('KIE Sandbox Accelerator Quarkus') { + when { + expression { env.KIE_SANDBOX_ACCELERATOR_QUARKUS == 'true' } + } + steps { + script { + kieSandboxAcceleratorQuarkusBuildJob() + } + } + } + stage('Dev Deployment Kogito Quarkus Blank App Image') { when { expression { env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE == 'true' } @@ -209,17 +220,6 @@ pipeline { } } - stage('Kogito Task Console Image') { - when { - expression { env.KOGITO_TASK_CONSOLE == 'true' } - } - steps { - script { - kogitoTaskConsoleBuildJob() - } - } - } - stage('Kogito Management Console Image') { when { expression { env.KOGITO_MANAGEMENT_CONSOLE == 'true' } @@ -427,6 +427,7 @@ pipeline { def setRunners() { runners = readJSON text: "${params.RUNNERS}" + env.KIE_SANDBOX_ACCELERATOR_QUARKUS = runners.kie_sandbox_accelerator_quarkus env.DEV_DEPLOYMENT_BASE_IMAGE = runners.dev_deployment_base_image env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE = runners.dev_deployment_kogito_quakus_blank_app_image env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE = runners.dev_deployment_dmn_form_webapp_image @@ -460,6 +461,7 @@ def setRunners() { def printRunners() { sh """ + echo "kie_sandbox_accelerator_quarkus: ${env.KIE_SANDBOX_ACCELERATOR_QUARKUS}" echo "dev_deployment_base_image: ${env.DEV_DEPLOYMENT_BASE_IMAGE}" echo "dev_deployment_kogito_quakus_blank_app_image: ${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE}" echo "dev_deployment_dmn_form_webapp_image: ${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE}" @@ -627,18 +629,6 @@ def serverlessLogicWebToolsBuildJob() { ).result } -def kogitoTaskConsoleBuildJob() { - env.KOGITO_TASK_CONSOLE_JOB_RESULT = build( - job: 'KIE/kie-tools/kie-tools-release-jobs/kogito-task-console', - parameters: [ - booleanParam(name: 'DRY_RUN', value: "${params.DRY_RUN}"), - string(name: 'BASE_REF', value: "${params.BASE_REF}"), - string(name: 'RELEASE_VERSION', value: "${params.RELEASE_VERSION}"), - string(name: 'RELEASE_CANDIDATE_VERSION', value: "${params.RELEASE_CANDIDATE_VERSION}") - ] - ).result -} - def kogitoManagementConsoleBuildJob() { env.KOGITO_MANAGEMENT_CONSOLE_JOB_RESULT = build( job: 'KIE/kie-tools/kie-tools-release-jobs/kogito-management-console', @@ -824,6 +814,19 @@ def kieSandboxImageBuildJob() { env.KIE_SANDBOX_URL = openShiftUtils.getAppRoute("${env.OPENSHIFT_NAMESPACE}", 'kie-sandbox', "${pipelineVars.openshiftCredentialsId}") } +def kieSandboxAcceleratorQuarkusBuildJob() { + env.KIE_SANDBOX_IMAGE_JOB_RESULT = build( + job: 'KIE/kie-tools/kie-tools-release-jobs/kie-sandbox-accelerator-quarkus', + parameters: [ + booleanParam(name: 'DRY_RUN', value: "${params.DRY_RUN}"), + string(name: 'BASE_REF', value: "${params.BASE_REF}"), + string(name: 'RELEASE_VERSION', value: "${params.RELEASE_VERSION}"), + string(name: 'RELEASE_CANDIDATE_VERSION', value: "${params.RELEASE_CANDIDATE_VERSION}") + ] + ).result + env.KIE_SANDBOX_URL = openShiftUtils.getAppRoute("${env.OPENSHIFT_NAMESPACE}", 'kie-sandbox', "${pipelineVars.openshiftCredentialsId}") +} + def kieSandboxHelmChartBuildJob() { env.KIE_SANDBOX_HELM_CHART_JOB_RESULT = build( job: 'KIE/kie-tools/kie-tools-release-jobs/kie-sandbox-helm-chart', diff --git a/.ci/jenkins/Jenkinsfile.release-candidate b/.ci/jenkins/Jenkinsfile.release-candidate index ba257ca676c..14b6c6a20df 100644 --- a/.ci/jenkins/Jenkinsfile.release-candidate +++ b/.ci/jenkins/Jenkinsfile.release-candidate @@ -34,7 +34,7 @@ pipeline { string(name: 'BRANCH_NAME', description: 'Set the Git branch to checkout (0.0.x)', trim: true) string(name: 'RELEASE_VERSION', description: 'Release version', trim: true) string(name: 'TAG_NAME', description: 'Tag name to be created', trim: true) - string(description: 'Runners', name: 'RUNNERS', defaultValue: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') + string(description: 'Runners', name: 'RUNNERS', defaultValue: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') } stages { diff --git a/.ci/jenkins/Jenkinsfile.release-candidate.quarkus-accelerator b/.ci/jenkins/Jenkinsfile.release-candidate.quarkus-accelerator deleted file mode 100644 index ba444a19180..00000000000 --- a/.ci/jenkins/Jenkinsfile.release-candidate.quarkus-accelerator +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Library('jenkins-pipeline-shared-libraries')_ - -pipeline { - agent { - docker { - image 'docker.io/apache/incubator-kie-tools-ci-build:10.0.999' - args '--shm-size=2g --privileged --group-add docker' - label util.avoidFaultyNodes() - } - } - - options { - timeout(time: 60, unit: 'MINUTES') - } - - parameters { - string(name: 'BRANCH_NAME', description: 'Set the Git branch to checkout (0.0.999)', trim: true) - string(name: 'RELEASE_VERSION', description: 'Release version', trim: true) - string(name: 'TAG_NAME', description: 'Tag name to be created', trim: true) - } - - stages { - stage('Load local shared scripts') { - steps { - script { - pipelineVars = load '.ci/jenkins/shared-scripts/pipelineVars.groovy' - githubUtils = load '.ci/jenkins/shared-scripts/githubUtils.groovy' - } - } - } - - stage('Clean workspace') { - steps { - cleanWs(deleteDirs: true, disableDeferredWipeout: true) - } - } - - stage('Checkout kie-sandbox-quarkus-accelerator') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - githubUtils.checkoutRepo( - 'http://github.com/apache/incubator-kie-sandbox-quarkus-accelerator.git', - "${params.BRANCH_NAME}", - "${pipelineVars.kieToolsBotGithubCredentialsId}" - ) - } - } - } - } - - stage('Setup Git repository') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - git config user.email asf-ci-kie@jenkins.kie.apache.org - git config user.name asf-ci-kie - git checkout ${params.BRANCH_NAME} - """.trim() - } - } - } - } - - stage('Update kogito BOM version') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - mvn versions:set-property -Dproperty=kogito.bom.version -DnewVersion=${params.RELEASE_VERSION} - """.trim() - } - } - } - } - - stage('Commit changes') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - git add . - git commit --allow-empty -am "Apache KIE ${params.RELEASE_VERSION} release" - """.trim() - } - } - } - } - - stage('Create a new tag') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - githubUtils.createTag("${params.TAG_NAME}") - githubUtils.pushObject('origin', "${params.TAG_NAME}", "${pipelineVars.asfCIGithubCredentialsId}") - } - } - } - } - } - - post { - always { - cleanWs(deleteDirs: true, disableDeferredWipeout: true) - } - } -} diff --git a/.ci/jenkins/Jenkinsfile.release-dry-run b/.ci/jenkins/Jenkinsfile.release-dry-run index 44716f5d28f..f87ad61e347 100644 --- a/.ci/jenkins/Jenkinsfile.release-dry-run +++ b/.ci/jenkins/Jenkinsfile.release-dry-run @@ -35,7 +35,7 @@ pipeline { build job: 'KIE/kie-tools/kie-tools-release-build', parameters: [ booleanParam(name: 'DRY_RUN', value: true), string(name: 'BASE_REF', value: 'main'), - string(name: 'RUNNERS', value: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') + string(name: 'RUNNERS', value: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') ] } } diff --git a/.ci/jenkins/Jenkinsfile.release-publish b/.ci/jenkins/Jenkinsfile.release-publish index e6d1e9a77d2..b32c233bc57 100644 --- a/.ci/jenkins/Jenkinsfile.release-publish +++ b/.ci/jenkins/Jenkinsfile.release-publish @@ -31,7 +31,7 @@ pipeline { parameters { string(description: 'Release Version', name: 'RELEASE_VERSION', defaultValue: '0.0.0') - string(description: 'Runners', name: 'RUNNERS', defaultValue: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') + string(description: 'Runners', name: 'RUNNERS', defaultValue: '{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","kie_sandbox_accelerator_quarkus":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_kogito_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_extended_services_image":"true","kie_sandbox_helm_chart":"true","kie_sandbox_image":"true","kn_plugin_workflow":"true","kogito_task_console":"true","kogito_management_console":"true","kogito_swf_builder":"true","kogito_swf_devmode":"true","kogito_serverless_operator":"true","npm_packages":"true","online_editor":"true","runtime_tools_consoles_helm_chart":"true","serverless_logic_web_tools":"true","serverless_logic_web_tools_base_builder_image":"true","serverless_logic_web_tools_swf_builder_image":"true","serverless_logic_web_tools_swf_dev_mode_image":"true","standalone_editors_cdn":"true","sonataflow_quarkus_devui":"true","vscode_extensions_dev":"true","vscode_extensions_prod":"true"}') } stages { diff --git a/.ci/jenkins/Jenkinsfile.setup-branch.quarkus-accelerator b/.ci/jenkins/Jenkinsfile.setup-branch.quarkus-accelerator deleted file mode 100644 index 813e1582c39..00000000000 --- a/.ci/jenkins/Jenkinsfile.setup-branch.quarkus-accelerator +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@Library('jenkins-pipeline-shared-libraries')_ - -pipeline { - agent { - docker { - image 'docker.io/apache/incubator-kie-tools-ci-build:main' - args '--shm-size=2g --privileged --group-add docker' - label util.avoidFaultyNodes() - } - } - - options { - timeout(time: 60, unit: 'MINUTES') - } - - parameters { - string(name: 'CHECKOUT_BRANCH_NAME', defaultValue: '0.0.0', description: 'Set the Git branch to checkout', trim: true) - string(name: 'NEW_BRANCH_NAME', description: 'Set the Git branch to be created. (x.x.999)', trim: true) - string(name: 'KOGITO_VERSION', description: 'Kogito version to set', trim: true) - } - - stages { - stage('Load local shared scripts') { - steps { - script { - pipelineVars = load '.ci/jenkins/shared-scripts/pipelineVars.groovy' - githubUtils = load '.ci/jenkins/shared-scripts/githubUtils.groovy' - } - } - } - - stage('Clean workspace') { - steps { - cleanWs(deleteDirs: true, disableDeferredWipeout: true) - } - } - - stage('Checkout kie-sandbox-quarkus-accelerator') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - githubUtils.checkoutRepo( - "http://github.com/apache/incubator-kie-sandbox-quarkus-accelerator.git", - "${params.CHECKOUT_BRANCH_NAME}", - "${pipelineVars.kieToolsBotGithubCredentialsId}" - ) - } - } - } - } - - stage('Setup new branch') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - git config user.email asf-ci-kie@jenkins.kie.apache.org - git config user.name asf-ci-kie - git checkout -b ${params.NEW_BRANCH_NAME} - """.trim() - } - } - } - } - - stage('Update kogito BOM version') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - mvn versions:set-property -Dproperty=kogito.bom.version -DnewVersion=${params.KOGITO_VERSION} - """.trim() - } - } - } - } - - stage('Commit and Push changes') { - steps { - dir('kie-sandbox-quarkus-accelerator') { - script { - sh """#!/bin/bash -el - git add . - git commit --allow-empty -am "Update kogito version to ${params.KOGITO_VERSION}" - """.trim() - githubUtils.pushObject('origin', "${params.NEW_BRANCH_NAME}", "${pipelineVars.asfCIGithubCredentialsId}") - } - } - } - } - } - - post { - always { - cleanWs(deleteDirs: true, disableDeferredWipeout: true) - } - } -} diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus new file mode 100644 index 00000000000..e60dc970bd4 --- /dev/null +++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +pipeline { + agent { + docker { + image 'docker.io/apache/incubator-kie-tools-ci-build:main' + args '--shm-size=2g --privileged --group-add docker' + } + } + + options { + timeout(time: 120, unit: 'MINUTES') + } + + parameters { + booleanParam(description: 'Dry run', name: 'DRY_RUN', defaultValue: true) + string(description: 'Release Version', name: 'RELEASE_VERSION', defaultValue: '0.0.0') + string(description: 'Base Ref', name: 'BASE_REF') + string(description: 'Release Candidate Version', name: 'RELEASE_CANDIDATE_VERSION', defaultValue: '') + } + + environment { + KIE_TOOLS_BUILD__runLinters = 'false' + KIE_TOOLS_BUILD__runTests = 'false' + KIE_TOOLS_BUILD__runEndToEndTests = 'false' + + + RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts" + + PNPM_FILTER_STRING = '-F @kie-tools/kie-sandbox-accelerator-quarkus...' + } + + stages { + stage('Load local shared scripts') { + steps { + script { + pipelineVars = load '.ci/jenkins/shared-scripts/pipelineVars.groovy' + buildUtils = load '.ci/jenkins/shared-scripts/buildUtils.groovy' + githubUtils = load '.ci/jenkins/shared-scripts/githubUtils.groovy' + releaseUtils = load '.ci/jenkins/shared-scripts/releaseUtils.groovy' + zipUtils = load '.ci/jenkins/shared-scripts/zipUtils.groovy' + } + } + } + + stage('Start required services for build and tests (DinD, Xvfb, Fluxbox)') { + steps { + script { + buildUtils.startRequiredServices() + } + } + } + + stage('Clean workspace before build') { + steps { + cleanWs(deleteDirs: true, disableDeferredWipeout: true) + } + } + + stage('Checkout kie-tools') { + steps { + dir('kie-tools') { + script { + githubUtils.checkoutRepo( + "http://github.com/${pipelineVars.githubRepositorySlug}.git", + "${params.BASE_REF}", + "${pipelineVars.kieToolsBotGithubCredentialsId}" + ) + } + } + } + } + + stage('Checkout kie-sandbox-quarkus-accelerator repo') { + steps { + dir('kie-sandbox-quarkus-accelerator') { + script { + githubUtils.checkoutRepo( + 'http://github.com/apache/incubator-kie-sandbox-quarkus-accelerator.git', + 'main', + "${pipelineVars.kieToolsBotGithubCredentialsId}" + ) + } + } + } + } + + stage('Setup PNPM') { + steps { + dir('kie-tools') { + script { + buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}") + } + } + } + } + + stage('PNPM Bootstrap') { + steps { + dir('kie-tools') { + script { + buildUtils.pnpmBootstrap("${env.PNPM_FILTER_STRING}") + } + } + } + } + + stage('Build') { + steps { + dir('kie-tools') { + script { + buildUtils.pnpmBuild("${env.PNPM_FILTER_STRING}") + } + } + } + } + + stage('Push to GitHub (kie-sandbox-quarkus-accelerator)') { + when { + expression { !params.DRY_RUN && params.RELEASE_CANDIDATE_VERSION == '' } + } + steps { + dir('kie-sandbox-quarkus-accelerator') { + script { + + sh """#!/bin/bash -el + git config user.email asf-ci-kie@jenkins.kie.apache.org + git config user.name asf-ci-kie + + git checkout --orphan ${params.RELEASE_VERSION} + + echo "Copy content" + cp -r ${WORKSPACE}/kie-tools/packages/kie-sandbox-accelerator-quarkus/dist/git-repo-content/* . + + echo "Commit changes and push" + git add . + git commit -m "Apache KIE Sandbox Quarkus Accelerator ${params.RELEASE_VERSION}" + git tag ${params.RELEASE_VERSION} + git push origin ${params.RELEASE_VERSION} + """.trim() + + githubUtils.pushObject('origin', "${params.RELEASE_VERSION}", "${pipelineVars.asfGithubPushCredentialsId}") + } + } + } + } + + stage('Setup release candidate artifacts') { + when { + expression { !params.DRY_RUN && params.RELEASE_CANDIDATE_VERSION != '' } + } + steps { + script { + env.KIE_SANDBOX_ACCELERATOR_QUARKUS_ZIP_FILE = "incubator-kie-${params.RELEASE_CANDIDATE_VERSION}-sandbox-accelerator-quarkus.zip" + sh """#!/bin/bash -el + mkdir ${env.RELEASE_ARTIFACTS_DIR} + cd "${WORKSPACE}/kie-tools/packages/kie-sandbox-accelerator-quarkus/dist" && zip -r "${env.RELEASE_ARTIFACTS_DIR}/${env.KIE_SANDBOX_ACCELERATOR_QUARKUS_ZIP_FILE}" . + """.trim() + } + } + } + + stage('Sign artifacts for Apache release') { + when { + expression { !params.DRY_RUN && params.RELEASE_CANDIDATE_VERSION != '' } + } + steps { + dir("${env.RELEASE_ARTIFACTS_DIR}") { + script { + releaseUtils.setupSigningKey("${pipelineVars.asfReleaseGPGKeyCredentialsId}") + releaseUtils.signArtifact("${env.KIE_SANDBOX_ACCELERATOR_QUARKUS_ZIP_FILE}") + } + } + } + } + + stage('Publish Release Candidate artifacts') { + when { + expression { !params.DRY_RUN && params.RELEASE_CANDIDATE_VERSION != '' } + } + steps { + script { + releaseUtils.publishArtifacts( + "${env.RELEASE_ARTIFACTS_DIR}", + "${pipelineVars.asfReleaseStagingRepository}", + "${params.RELEASE_CANDIDATE_VERSION}", + "${pipelineVars.asfReleaseSVNStagingCredentialsId}" + ) + } + } + } + } + + post { + always { + cleanWs(deleteDirs: true) + } + } +} diff --git a/packages/cors-proxy/README.md b/packages/cors-proxy/README.md index 120aa0e6ce3..85ade3d1604 100644 --- a/packages/cors-proxy/README.md +++ b/packages/cors-proxy/README.md @@ -19,19 +19,14 @@ This package contains a `cors-proxy`, which is a simple Node.js application intended to be used to solve CORS issues while connecting our front end tools (online-editor, serverless-logic-web-tools) with external services (GitHub, Bitbucket, OpenShift, Kubernetes...) -# Build - -```bash -$ pnpm @kie-tools/cors-proxy... build:prod -``` - # Configuration The `cors-proxy` can be configured via environment variables: -- _CORS_PROXY_HTTP_PORT_: Sets the HTTP Port the proxy should listen to -- _CORS_PROXY_ORIGIN_: Sets the value of the 'Access-Control-Allow-Origin' header, defaults to `*` -- _CORS_PROXY_VERBOSE_: Allows the proxy to run in verbose mode... useful to trace requests on development environments. Defaults to `false` +- CORS_PROXY_HTTP_PORT: Sets the HTTP Port the proxy should listen to +- CORS_PROXY_ORIGIN: Sets the value of the 'Access-Control-Allow-Origin' header. Defaults to `*`. +- CORS_PROXY_VERBOSE: Allows the proxy to run in verbose mode... useful to trace requests on development environments. Defaults to `false` +- CORS_PROXY_USE_HTTP_FOR_HOSTS: Comma-separated list of hosts that should use the `http` protocol for proxied requests. Defaults to an empty list. For example: @@ -39,6 +34,13 @@ For example: $ export CORS_PROXY_HTTP_PORT=8080 $ export CORS_PROXY_ORIGIN=* $ export CORS_PROXY_VERBOSE=false +$ export CORS_PROXY_USE_HTTP_FOR_HOSTS="localhost:8080,localhost:8081" +``` + +# Build + +```bash +$ pnpm -F @kie-tools/cors-proxy... build:prod ``` # Running `cors-proxy` @@ -52,7 +54,7 @@ $ node ./dist/index.js # Running `cors-proxy` in dev mode. ```bash -$ pnpm @kie-tools/cors-proxy start +$ pnpm -F @kie-tools/cors-proxy start ``` You can also use the following envs to configure `cors-proxy` when starting in dev-mode: @@ -61,6 +63,7 @@ You can also use the following envs to configure `cors-proxy` when starting in d $ export CORS_PROXY__port=* $ export CORS_PROXY__origin=* $ export CORS_PROXY__verbose=false +$ export CORS_PROXY__useHttpForHosts="localhost:8080,localhost:8081" ``` Default values can be found [here](./env/index.js). diff --git a/packages/cors-proxy/env/index.js b/packages/cors-proxy/env/index.js index 23bdd2cea57..41803812c85 100644 --- a/packages/cors-proxy/env/index.js +++ b/packages/cors-proxy/env/index.js @@ -33,6 +33,10 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { default: true, description: "Allows the proxy to run in verbose mode... useful to trace requests on development environments", }, + CORS_PROXY__useHttpForHosts: { + default: true, + description: "Use `http` as default protocol for proxied requests. If `false`, `https` is used.", + }, }), get env() { return { @@ -41,6 +45,7 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { port: getOrDefault(this.vars.CORS_PROXY__port), origin: getOrDefault(this.vars.CORS_PROXY__origin), verbose: getOrDefault(this.vars.CORS_PROXY__verbose), + useHttpForHosts: getOrDefault(this.vars.CORS_PROXY__useHttpForHosts), }, }, }; diff --git a/packages/cors-proxy/package.json b/packages/cors-proxy/package.json index cf2296006ca..2ac6327c043 100644 --- a/packages/cors-proxy/package.json +++ b/packages/cors-proxy/package.json @@ -21,8 +21,8 @@ "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack", "lint": "run-script-if --bool \"$(build-env linters.run)\" --then \"kie-tools--eslint ./src\"", "start": "run-script-os", - "start:darwin:linux": "pnpm build:dev && cross-env CORS_PROXY_HTTP_PORT=$(build-env corsProxy.dev.port) CORS_PROXY_ORIGIN=$(build-env corsProxy.dev.origin) CORS_PROXY_VERBOSE=$(build-env corsProxy.dev.verbose) node dist/index.js", - "start:win32": "pnpm build:dev && pnpm powershell \"cross-env CORS_PROXY_HTTP_PORT=$(build-env corsProxy.dev.port) CORS_PROXY_ORIGIN=$(build-env corsProxy.dev.origin) CORS_PROXY_VERBOSE=$(build-env corsProxy.dev.verbose) node dist/index.js\"", + "start:darwin:linux": "pnpm build:dev && cross-env CORS_PROXY_USE_HTTP_FOR_HOSTS=$(build-env corsProxy.dev.useHttpForHosts) CORS_PROXY_HTTP_PORT=$(build-env corsProxy.dev.port) CORS_PROXY_ORIGIN=$(build-env corsProxy.dev.origin) CORS_PROXY_VERBOSE=$(build-env corsProxy.dev.verbose) node dist/index.js", + "start:win32": "pnpm build:dev && pnpm powershell \"cross-env CORS_PROXY_USE_HTTP_FOR_HOSTS=$(build-env corsProxy.dev.useHttpForHosts) CORS_PROXY_HTTP_PORT=$(build-env corsProxy.dev.port) CORS_PROXY_ORIGIN=$(build-env corsProxy.dev.origin) CORS_PROXY_VERBOSE=$(build-env corsProxy.dev.verbose) node dist/index.js\"", "test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose --passWithNoTests\"" }, "dependencies": { diff --git a/packages/cors-proxy/src/index.ts b/packages/cors-proxy/src/index.ts index 6b99a295b47..f3d273f45d2 100644 --- a/packages/cors-proxy/src/index.ts +++ b/packages/cors-proxy/src/index.ts @@ -32,6 +32,7 @@ export const run = () => { port: getPort(), origin: process.env.CORS_PROXY_ORIGIN ?? "*", verbose: process.env.CORS_PROXY_VERBOSE === "true", + hostsToUseHttp: (process.env.CORS_PROXY_USE_HTTP_FOR_HOSTS || undefined)?.split(",") ?? [], }); }; diff --git a/packages/cors-proxy/src/proxy/ExpressCorsProxy.ts b/packages/cors-proxy/src/proxy/ExpressCorsProxy.ts index df12beb6dbd..a09d8379a0a 100644 --- a/packages/cors-proxy/src/proxy/ExpressCorsProxy.ts +++ b/packages/cors-proxy/src/proxy/ExpressCorsProxy.ts @@ -23,7 +23,6 @@ import { Request, Response } from "express"; import { GIT_CORS_CONFIG, isGitOperation } from "./git"; import { CorsProxyHeaderKeys, CorsConfig, CorsProxy } from "@kie-tools/cors-proxy-api/dist"; -const HTTPS_PROTOCOL = "https:"; const BANNED_PROXY_HEADERS = [ "origin", "host", @@ -38,6 +37,7 @@ export class ExpressCorsProxy implements CorsProxy { private readonly args: { origin: string; verbose: boolean; + hostsToUseHttp: string[]; } ) { this.logger = new Logger(args.verbose); @@ -135,16 +135,17 @@ export class ExpressCorsProxy implements CorsProxy { private resolveRequestInfo(request: Request): ProxyRequestInfo { const targetUrl: string = (request.headers[CorsProxyHeaderKeys.TARGET_URL] as string) ?? request.url; - if (!targetUrl || targetUrl == "/") { - throw new Error("Couldn't resolve the target url..."); + throw new Error("Couldn't resolve the target URL..."); } - const proxyUrl = targetUrl.startsWith("/") ? `https:/${targetUrl}` : undefined; + const proxyUrl = new URL(`protocol://${targetUrl.substring(1)}`); + const protocol = this.args.hostsToUseHttp.includes(proxyUrl.host) ? "http" : "https"; + const proxyUrlString = targetUrl.startsWith("/") ? `${protocol}:/${targetUrl}` : undefined; return new ProxyRequestInfo({ targetUrl, - proxyUrl, + proxyUrl: proxyUrlString, corsConfig: this.resolveCorsConfig(targetUrl, request), insecurelyDisableTLSCertificateValidation: request.headers[CorsProxyHeaderKeys.INSECURELY_DISABLE_TLS_CERTIFICATE_VALIDATION] === "true", @@ -152,7 +153,7 @@ export class ExpressCorsProxy implements CorsProxy { } private getProxyAgent(info: ProxyRequestInfo): https.Agent | undefined { - if (info.insecurelyDisableTLSCertificateValidation && info.proxyUrl.protocol === HTTPS_PROTOCOL) { + if (info.insecurelyDisableTLSCertificateValidation && info.proxyUrl.protocol === "https:") { return new https.Agent({ rejectUnauthorized: false, }); diff --git a/packages/cors-proxy/src/proxy/server.ts b/packages/cors-proxy/src/proxy/server.ts index 12f90fdbd32..b8ee416e31b 100644 --- a/packages/cors-proxy/src/proxy/server.ts +++ b/packages/cors-proxy/src/proxy/server.ts @@ -26,10 +26,17 @@ export type ServerArgs = { port: number; origin: string; verbose: boolean; + hostsToUseHttp: string[]; }; export const startServer = (args: ServerArgs): void => { - console.log("Starting Kie-Tools Cors-Proxy..."); + console.log("Starting CORS proxy..."); + console.log("===================================================="); + console.log(`Origin: ${args.origin}`); + console.log(`Port: ${args.port}`); + console.log(`Verbose: ${args.verbose}`); + console.log(`Hosts to proxy with HTTP: ${args.hostsToUseHttp}`); + console.log("===================================================="); const app: express.Express = express(); @@ -64,11 +71,11 @@ export const startServer = (args: ServerArgs): void => { @kie-tools/cors-proxy

@kie-tools/cors-proxy

-

This is a Cors-Proxy software intended to be used to proxy requests .

-

The source code is hosted on Github at @kie-tools/cors-proxy

-

It can also be installed from npm with npm install @kie-tools/cors-proxy

+

This is a CORS proxy software intended to be used to proxy requests.

+

The source code is hosted on GitHub at @kie-tools/cors-proxy

+

It can also be installed from NPM with npm install @kie-tools/cors-proxy

`); }); - app.listen(args.port, () => console.log(`Kie-Tools Cors-Proxy listening in port ${args.port}`)); + app.listen(args.port, () => console.log(`CORS proxy listening at port ${args.port}`)); }; diff --git a/packages/kie-sandbox-accelerator-quarkus/ARCHITECTURE.md b/packages/kie-sandbox-accelerator-quarkus/ARCHITECTURE.md new file mode 100644 index 00000000000..395c74b9472 --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/ARCHITECTURE.md @@ -0,0 +1,35 @@ + + +# @kie-tools/kie-sandbox-accelerator-quarkus (architecture) + +This package is not a normal Maven package, as its purpose is not to produce a JAR or a container image, but rather, source code to be used as a KIE Sandbox Accelerator. Therefore, its pom.xml file does not depend on `@kie-tools/maven-base`. + +The source code template is hosted at `git-repo-content-src` and contains a `pom.xml.envsubst` file, which is interpolated with versions parametrized during the build itself. + +Final artifacts are at the `./dist/git-repo-content` folder, and can be copied and pushed to a Git repository. + +During development, a naive HTTP server supporting `git backend-http` (`./dev-server/server.mjs`) serves this content as a bare Git repository, as well as static content. This mimics GitHub's (and other Git providers) bare repo and raw files serving capabilities. + +Testing is done by pretending to use it as a user would, running a Maven build and checking it if succeeds. + +### References and credits + +- https://github.com/fuubi/node-git-http-backend +- https://git-scm.com/book/en/v2/Git-on-the-Server-Smart-HTTP +- https://git-scm.com/docs/git-http-backend +- https://github.com/isomorphic-git/isomorphic-git/blob/main/src/managers/GitRemoteHTTP.js#L135 diff --git a/packages/kie-sandbox-accelerator-quarkus/DEV.md b/packages/kie-sandbox-accelerator-quarkus/DEV.md new file mode 100644 index 00000000000..ed8ef954fac --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/DEV.md @@ -0,0 +1,20 @@ + + +# @kie-tools/kie-sandbox-accelerator-quarkus (dev) + +Developing this package requires you to actually run KIE Sandbox (`../online-editor`), so you can see it being applied on top of a new Workspace in there. Follow the development instructions on KIE Sandbox directly and rebuild this package after you make changes to it. diff --git a/packages/kie-sandbox-accelerator-quarkus/README.md b/packages/kie-sandbox-accelerator-quarkus/README.md new file mode 100644 index 00000000000..883745723ba --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/README.md @@ -0,0 +1,53 @@ + + +# @kie-tools/kie-sandbox-accelerator-quarkus + +This package contains the source code of a KIE Sandbox Accelerator for Quarkus projects. + +--- + +See: + +- [ARCHITECTURE.md](./ARCHITECTURE.md) for more details on how it's implemented; and +- [DEV.md](./DEV.md) for details on how to develop it. + +--- + +Apache KIE (incubating) is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the name of Apache Incubator. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. + +Some of the incubating project’s releases may not be fully compliant with ASF +policy. For example, releases may have incomplete or un-reviewed licensing +conditions. What follows is a list of known issues the project is currently +aware of (note that this list, by definition, is likely to be incomplete): + +- Hibernate, an LGPL project, is being used. Hibernate is in the process of + relicensing to ASL v2 +- Some files, particularly test files, and those not supporting comments, may + be missing the ASF Licensing Header + +If you are planning to incorporate this work into your product/project, please +be aware that you will need to conduct a thorough licensing review to determine +the overall implications of including this work. For the current status of this +project through the Apache Incubator visit: +https://incubator.apache.org/projects/kie.html diff --git a/packages/kie-sandbox-accelerator-quarkus/dev-server/server.mjs b/packages/kie-sandbox-accelerator-quarkus/dev-server/server.mjs new file mode 100644 index 00000000000..0ef20ba8bb4 --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/dev-server/server.mjs @@ -0,0 +1,209 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import * as __http from "http"; +import * as __url from "url"; +import * as __path from "path"; +import * as __fs from "fs"; +import { spawn as __spawn } from "child_process"; +import __serveStatic from "serve-static"; +import __finalhandler from "finalhandler"; + +// +// +// +// validate args + +const portArg = process.argv[2]; +const port = Number.parseInt(portArg); +if (isNaN(port)) { + console.error(`[git-repo-http-dev-server] Invalid port number '${portArg}'.`); + printUsage(); + process.exit(1); +} + +const contentRootArg = process.argv[3]; +const contentRoot = __path.resolve(contentRootArg); +if (!__fs.existsSync(contentRoot)) { + console.error(`[git-repo-http-dev-server] Can't serve content from non-existent directory '${contentRoot}'.`); + printUsage(); + process.exit(1); +} + +// +// +// +// main + +const serveAsStaticContent = __serveStatic(contentRoot); + +__http + .createServer((req, res) => { + // bare git repos + if (req.url?.split("/")[1].endsWith(".git")) { + console.log(`[git-repo-http-dev-server] Received request for '${req.url}'...`); + console.log(`[git-repo-http-dev-server] Serving as "smart" HTTP for Git.`); + serveAsGitSmartHttp(req, res); + } + // static content + else { + console.log(`[git-repo-http-dev-server] Received request for '${req.url}'...`); + console.log("[git-repo-http-dev-server] Serving as static content."); + serveAsStaticContent(req, res, __finalhandler(req, res)); + } + }) + .listen(port, () => { + printSummary(); + }); + +// +// +// +// functions + +function serveAsGitSmartHttp(req, res) { + const gitHttpBackend = __spawn("git", ["http-backend"], { env: getEnvForGitHttpBackend(req) }); + + req.pipe(gitHttpBackend.stdin); + + const buffers = { + header: [], + body: [], + completedHeader: false, + }; + + gitHttpBackend.stdout.on("data", (chunk) => writeData(chunk, buffers, res)); + gitHttpBackend.on("close", () => { + res.end(); + }); +} + +const gitHttpBackendVariableNames = [ + "QUERY_STRING", + "REMOTE_USER", + "CONTENT_LENGTH", + "HTTP_CONTENT_ENCODING", + "REMOTE_USER", + "REMOTE_ADDR", + "GIT_COMMITTER_NAME", + "GIT_COMMITTER_EMAIL", + "CONTENT_TYPE", + "PATH_INFO", + "GIT_PROJECT_ROOT", + "PATH_TRANSLATED", + "SERVER_PROTOCOL", + "REQUEST_METHOD", + "GIT_HTTP_EXPORT_ALL", + "GIT_HTTP_MAX_REQUEST_BUFFER", +]; + +function getEnvForGitHttpBackend(req) { + const url = __url.parse(req.url); + const envVars = {}; + + for (let header in req.headers) { + const name = header.toUpperCase().replace(/-/g, "_"); + if (gitHttpBackendVariableNames.includes(name)) { + envVars[name] = req.headers[header]; + } + } + + envVars["GIT_PROJECT_ROOT"] = contentRoot; + envVars["PATH_TRANSLATED"] = contentRoot + url.pathname; + envVars["PATH_INFO"] = url.pathname; + envVars["REQUEST_METHOD"] = req.method; + envVars["GIT_HTTP_EXPORT_ALL"] = "1"; + envVars["QUERY_STRING"] = url.query; + + return envVars; +} + +// +// +// +// plumbing methods + +function writeData(chunk, buffers, res) { + if (buffers.completedHeader) { + res.write(chunk); + } else { + buffers.completedHeader = readMaybeHeaderBuffer(chunk, buffers); + if (buffers.completedHeader) { + writeHeader(buffers.header, res); + writeBody(buffers.body, res); + } + } +} + +function writeHeader(header, res) { + const headerLines = Buffer.concat(header).toString().split("\r\n"); + for (let headerLine of headerLines) { + const headerSplit = headerLine.split(":"); + const headerKey = headerSplit[0]; + const headerVal = headerSplit[1]; + res.setHeader(headerKey, headerVal); + } +} + +function writeBody(body, res) { + body.forEach((b) => res.write(b)); +} + +function readMaybeHeaderBuffer(nextBuffer, buffers) { + const length = Buffer.from("\r\n\r\n", "utf-8").length; + const offset = nextBuffer.indexOf("\r\n\r\n", 0, "utf-8"); + if (offset <= 0) { + return false; + } + + const headerLines = nextBuffer.slice(0, offset); + buffers.header.push(headerLines); + buffers.body.push(nextBuffer.slice(offset + length)); + return true; +} + +// logs + +function printSummary() { + const dirs = __fs.readdirSync(contentRoot); + console.log(`[git-repo-http-dev-server] Starting...`); + + const bareGitRepoDirs = dirs.filter((s) => s.endsWith(".git")); + console.log(`[git-repo-http-dev-server] Found ${bareGitRepoDirs.length} bare Git repo(s):`); + bareGitRepoDirs.forEach((d) => + console.log( + `[git-repo-http-dev-server] ./${__path.join(__path.relative(".", contentRoot), d)} (clone with 'git clone http://localhost:${port}/${d}')` + ) + ); + + const staticContentDirs = dirs.filter((s) => !s.endsWith(".git")); + console.log(`[git-repo-http-dev-server] Found ${staticContentDirs.length} static content dir(s):`); + staticContentDirs.forEach((d) => + console.log( + `[git-repo-http-dev-server] ./${__path.join(__path.relative(".", contentRoot), d)}/ (access via http://localhost:${port}/${d}/*)` + ) + ); + + console.log(`[git-repo-http-dev-server] Listening to HTTP port ${port}.`); + console.log(`[git-repo-http-dev-server] ========================================`); +} + +function printUsage() { + console.error(`[git-repo-http-dev-server] Usage: node server.mjs [port] [content-root-path]`); +} diff --git a/packages/kie-sandbox-accelerator-quarkus/env/index.js b/packages/kie-sandbox-accelerator-quarkus/env/index.js new file mode 100644 index 00000000000..cd50365f8af --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/env/index.js @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +const { varsWithName, composeEnv } = require("@kie-tools-scripts/build-env"); + +module.exports = composeEnv([require("@kie-tools/root-env/env"), require("@kie-tools/jbpm-quarkus-devui/env")], { + vars: varsWithName({}), + get env() { + return { + kieSandboxAcceleratorQuarkus: { + dev: { + port: "8787", + }, + }, + }; + }, +}); diff --git a/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/README.md b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/README.md new file mode 100644 index 00000000000..ee677fc79bb --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/README.md @@ -0,0 +1,3 @@ +# Apache KIE Sandbox Quarkus Accelerator + +Welcome to your Apache KIE Sandbox Quarkus Accelerator project! diff --git a/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/pom.xml.envsubst b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/pom.xml.envsubst new file mode 100644 index 00000000000..4a78677c9a5 --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/pom.xml.envsubst @@ -0,0 +1,254 @@ + + + 4.0.0 + + + org.acme.your-groupId + your-artifactId + 1.0-SNAPSHOT + + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + + false + + + + apache.snapshots + Apache Snapshot Repository + https://repository.apache.org/snapshots + + false + + + true + never + + + + + + 17 + 17 + UTF-8 + UTF-8 + + + $ENVSUBST__VERSION_QUARKUS + $ENVSUBST__VERSION_KOGITO + $ENVSUBST__VERSION_JBPM_QUARKUS_DEVUI_BOM + + + + + + io.quarkus.platform + quarkus-bom + ${version.quarkus} + pom + import + + + + org.kie.kogito + kogito-bom + ${version.kogito} + pom + import + + + org.kie.kogito + kogito-quarkus-bom + ${version.kogito} + pom + import + + + org.kie.kogito + kogito-kie-bom + ${version.kogito} + pom + import + + + org.kie.kogito + kogito-apps-bom + ${version.kogito} + pom + import + + + org.drools + drools-bom + ${version.kogito} + pom + import + + + org.jbpm + jbpm-quarkus-devui-bom + ${version.jbpm-quarkus-devui-bom} + pom + import + + + + + + + + org.jbpm + jbpm-with-drools-quarkus + + + org.kie + kie-addons-quarkus-process-management + + + org.kie + kogito-addons-quarkus-jobs-management + + + org.kie + kie-addons-quarkus-process-svg + + + org.kie + kie-addons-quarkus-source-files + + + org.kie + kogito-addons-quarkus-data-index-jpa + + + org.kie + kogito-addons-quarkus-jobs + + + org.kie + kogito-addons-quarkus-data-audit + + + + org.kie + kie-addons-quarkus-persistence-jdbc + + + org.kie.kogito + jobs-service-storage-jpa + + + org.kie + kogito-addons-quarkus-data-audit-jpa + + + + org.jbpm + jbpm-quarkus-devui + + + io.quarkus + quarkus-jdbc-h2 + + + + + + io.quarkus + quarkus-resteasy + + + io.quarkus + quarkus-resteasy-jackson + + + io.quarkus + quarkus-jdbc-postgresql + + + io.quarkus + quarkus-agroal + + + + + + io.quarkus + quarkus-smallrye-openapi + + + io.quarkus + quarkus-smallrye-health + + + + + + io.quarkus + quarkus-junit5 + test + + + io.rest-assured + rest-assured + test + + + + + + + + + ${project.artifactId} + + + io.quarkus + quarkus-maven-plugin + ${version.quarkus} + + + + build + + + + + + + + + + container + + container + + + + io.quarkus + quarkus-container-image-jib + + + + + \ No newline at end of file diff --git a/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/src/main/resources/application.properties b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/src/main/resources/application.properties new file mode 100644 index 00000000000..f107e2fd8b7 --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/git-repo-content-src/src/main/resources/application.properties @@ -0,0 +1,101 @@ +############### +# Persistence # +############### + + +# Tells the Kogito runtime what kind of persistence is configured. +kogito.persistence.type=jdbc + +# Apache KIE provides a separate Flyway subsystem that allows Kogito's internal tables to be created and migrated +# without interfering with your application's Flyway, if you're using it. +# +# This property enables/disables running this isolated Flyway mechanism automatically when the application starts. +# If you want more control over when/how/who executes changes to your database, disable it and run the SQL scripts manually. +%prod.kie.flyway.enabled=false + +%prod.quarkus.datasource.db-kind=postgresql +%prod.quarkus.datasource.username=kogito-user +%prod.quarkus.datasource.password=kogito-pass +%prod.quarkus.datasource.jdbc.url=${QUARKUS_DATASOURCE_JDBC_URL:jdbc:postgresql://0.0.0.0:5432/kogito} +%prod.quarkus.datasource.reactive.url=${QUARKUS_DATASOURCE_REACTIVE_URL:postgresql://0.0.0.0:5432/kogito} + +# Dev +%dev.kie.flyway.enabled=true +%dev.quarkus.datasource.db-kind=h2 +%dev.quarkus.datasource.username=kogito +%dev.quarkus.datasource.jdbc.url=jdbc:h2:mem:default;NON_KEYWORDS=VALUE,KEY + + + + +############ +# Security # +############ + +%prod.kogito.auth.enabled=true +%prod.quarkus.oidc.enabled=true +%prod.quarkus.oidc.discovery-enabled=true +%prod.quarkus.oidc.auth-server-url= +%prod.quarkus.oidc.client-id= +%prod.quarkus.oidc.credentials.secret= + +%prod.quarkus.oidc.application-type=service +%prod.quarkus.http.auth.permission.authenticated.paths=/* +%prod.quarkus.http.auth.permission.authenticated.policy=authenticated +%prod.quarkus.http.auth.permission.public.paths=/q/*,/docs/openapi.json +%prod.quarkus.http.auth.permission.public.policy=permit + +%prod.quarkus.http.cors=false +%prod.quarkus.http.cors.origins= + +# Dev +%dev.kogito.auth.enabled=false +%dev.quarkus.oidc.enabled=false +%dev.quarkus.http.cors=true +%dev.quarkus.http.cors.origins=* + + + + +############ +# Services # +############ + +# These properties are residual from Distributed Architecture, where Data-Index, Data-Audit, +# and Jobs Service are external to the Kogito Runtime application. +# +# They are still necessary, but won't be anymore in future releases. + +kogito.service.url=http://0.0.0.0:8080 +kogito.jobs-service.url=http://0.0.0.0:8080 +kogito.data-index.url=http://0.0.0.0:8080 + + + + +#################### +# Containerization # +#################### + +# Profile to pack the application into a container image. +# To use it run a Maven build with the `container` profile (-Pcontainer) + +%container.quarkus.container-image.build=true +%container.quarkus.container-image.push=false +%container.quarkus.container-image.group=${USER} +%container.quarkus.container-image.registry=dev.local +%container.quarkus.container-image.tag=${project.version} +%container.quarkus.container-image.name= + + + + +############# +# Misc. dev # +############# + +%dev.quarkus.smallrye-openapi.path=/docs/openapi.json +%dev.quarkus.http.test-port=0 +%dev.quarkus.dev-ui.cors.enabled=false +%dev.quarkus.swagger-ui.always-include=true +%dev.quarkus.kogito.data-index.graphql.ui.always-include=true \ No newline at end of file diff --git a/packages/kie-sandbox-accelerator-quarkus/package.json b/packages/kie-sandbox-accelerator-quarkus/package.json new file mode 100644 index 00000000000..7aef77f6aea --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/package.json @@ -0,0 +1,43 @@ +{ + "private": true, + "name": "@kie-tools/kie-sandbox-accelerator-quarkus", + "version": "0.0.0", + "description": "", + "license": "Apache-2.0", + "homepage": "https://github.com/apache/incubator-kie-tools", + "repository": { + "type": "git", + "url": "https://github.com/apache/incubator-kie-tools.git" + }, + "bugs": { + "url": "https://github.com/apache/incubator-kie-tools/issues" + }, + "scripts": { + "_build": "run-script-os", + "_build:darwin:linux": "rimraf ./dist ./dist-dev && pnpm run _build-step:copy-git-repo-content && pnpm run _build-step:interpolate-pom && pnpm run _build-step:setup-git-repo-bare && pnpm run _build-step:setup-git-repo-content", + "_build:win32": "echo Build not supported on Windows.", + "_build-step:copy-git-repo-content": "mkdirp ./dist/git-repo-content && cpy './git-repo-content-src/**' ./dist/git-repo-content/", + "_build-step:interpolate-pom": "ENVSUBST__VERSION_QUARKUS=\"$(build-env versions.quarkus)\" ENVSUBST__VERSION_KOGITO=\"$(build-env versions.kogito)\" ENVSUBST__VERSION_JBPM_QUARKUS_DEVUI_BOM=\"$(build-env jbpmQuarkusDevuiExtension.version)\" envsubst < ./dist/git-repo-content/pom.xml.envsubst > ./dist/git-repo-content/pom.xml && rm ./dist/git-repo-content/pom.xml.envsubst", + "_build-step:setup-git-repo-bare": "mkdirp ./dist-dev/git-repo-bare.git && cd ./dist-dev/git-repo-bare.git && git init --bare && git --bare update-server-info && mv hooks/post-update.sample hooks/post-update", + "_build-step:setup-git-repo-content": "mkdirp ./dist-dev/git-repo-content && cpy './dist/git-repo-content/**' ./dist-dev/git-repo-content && cd ./dist-dev/git-repo-content && git init --initial-branch main && git remote add repo ../git-repo-bare.git && git add . && git commit -m 'Single commit' && git push repo main", + "build:dev": "pnpm run _build", + "build:prod": "pnpm run _build && pnpm run test", + "start": "node dev-server/server.mjs $(build-env kieSandboxAcceleratorQuarkus.dev.port) ./dist-dev", + "test": "run-script-os", + "test:darwin:linux": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"rimraf ./dist-tests\" \"cp -r ./dist ./dist-tests\" \"cp ./tests/models/empty.bpmn ./dist-tests/git-repo-content/src/main/resources\" \"mvn -f ./dist-tests/git-repo-content clean package\" --finally \"rimraf ./dist-tests\"", + "test:win32": "echo Testing not supported on Windows." + }, + "dependencies": { + "@kie-tools/jbpm-quarkus-devui": "workspace:*" + }, + "devDependencies": { + "@kie-tools/root-env": "workspace:*", + "cpy-cli": "^5.0.0", + "finalhandler": "^1.3.1", + "http-server": "^14.1.1", + "mkdirp": "^3.0.1", + "rimraf": "^3.0.2", + "run-script-os": "^1.1.6", + "serve-static": "^1.16.2" + } +} diff --git a/packages/kie-sandbox-accelerator-quarkus/tests/models/empty.bpmn b/packages/kie-sandbox-accelerator-quarkus/tests/models/empty.bpmn new file mode 100644 index 00000000000..c147f7387af --- /dev/null +++ b/packages/kie-sandbox-accelerator-quarkus/tests/models/empty.bpmn @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + _A5E6F3E9-193E-4465-854B-68EE5A2A05DB + + + + + + + + _7F5BFCF4-E772-4CDF-B964-4B794ACFE73D + _A5E6F3E9-193E-4465-854B-68EE5A2A05DB + System.out.println("Hello"); + + + _7F5BFCF4-E772-4CDF-B964-4B794ACFE73D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ZFYCAINfED22HM9QoxaxqQ + _ZFYCAINfED22HM9QoxaxqQ + + diff --git a/packages/kie-sandbox-distribution/tests/__snapshots__/integrationTest.test.js.snap b/packages/kie-sandbox-distribution/tests/__snapshots__/integrationTest.test.js.snap index 9a0406e899f..83147c7fe06 100644 --- a/packages/kie-sandbox-distribution/tests/__snapshots__/integrationTest.test.js.snap +++ b/packages/kie-sandbox-distribution/tests/__snapshots__/integrationTest.test.js.snap @@ -5,9 +5,9 @@ exports[`Test built images individually cors-proxy homepage 1`] = ` @kie-tools/cors-proxy

@kie-tools/cors-proxy

-

This is a Cors-Proxy software intended to be used to proxy requests .

-

The source code is hosted on Github at @kie-tools/cors-proxy

-

It can also be installed from npm with npm install @kie-tools/cors-proxy

+

This is a CORS proxy software intended to be used to proxy requests.

+

The source code is hosted on GitHub at @kie-tools/cors-proxy

+

It can also be installed from NPM with npm install @kie-tools/cors-proxy

" `; diff --git a/packages/online-editor/README.md b/packages/online-editor/README.md index a4c145085f7..21e221ebc78 100644 --- a/packages/online-editor/README.md +++ b/packages/online-editor/README.md @@ -37,7 +37,7 @@ More suitable for running `e2e-tests` completely. > Before test development, you may need to build `online-editor` as: > > - `kie-tools$ pnpm bootstrap` -> - `kie-tools$ pnpm -r -F @kie-tools/online-editor... build:dev` +> - `kie-tools$ pnpm -F @kie-tools/online-editor... build:dev` ## Testing insecure/invalid TLS certificates with Git providers diff --git a/packages/online-editor/build/defaultEnvJson.ts b/packages/online-editor/build/defaultEnvJson.ts index 55d0a27e9d4..ea5c756130f 100644 --- a/packages/online-editor/build/defaultEnvJson.ts +++ b/packages/online-editor/build/defaultEnvJson.ts @@ -110,9 +110,9 @@ export const defaultEnvJson: EnvJson = { KIE_SANDBOX_ACCELERATORS: [ { name: "Quarkus", - iconUrl: `https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator/raw/${buildEnv.root.version}/quarkus-logo.png`, - gitRepositoryUrl: "https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator", - gitRepositoryGitRef: buildEnv.root.version, + iconUrl: "images/quarkus-logo.png", + gitRepositoryUrl: buildEnv.onlineEditor.accelerators.quarkus.gitRepoUrl, + gitRepositoryGitRef: buildEnv.onlineEditor.accelerators.quarkus.gitRef, dmnDestinationFolder: "src/main/resources/dmn", bpmnDestinationFolder: "src/main/resources/bpmn", otherFilesDestinationFolder: "src/main/resources/others", diff --git a/packages/online-editor/env/index.js b/packages/online-editor/env/index.js index 1992135db40..60793a673c3 100644 --- a/packages/online-editor/env/index.js +++ b/packages/online-editor/env/index.js @@ -21,9 +21,11 @@ const { varsWithName, getOrDefault, composeEnv, str2bool } = require("@kie-tools const rootEnv = require("@kie-tools/root-env/env"); const extendedServicesEnv = require("@kie-tools/extended-services/env"); +const extendedServicesJavaEnv = require("@kie-tools/extended-services-java/env"); const corsProxyEnv = require("@kie-tools/cors-proxy/env"); +const kieSandboxAcceleratorQuarkusEnv = require("@kie-tools/kie-sandbox-accelerator-quarkus/env"); -module.exports = composeEnv([rootEnv, extendedServicesEnv, corsProxyEnv], { +module.exports = composeEnv([rootEnv, extendedServicesJavaEnv, corsProxyEnv, kieSandboxAcceleratorQuarkusEnv], { vars: varsWithName({ ONLINE_EDITOR__buildInfo: { default: `dev (${process.env.USER}) @ ${new Date().toISOString()}`, @@ -55,7 +57,7 @@ module.exports = composeEnv([rootEnv, extendedServicesEnv, corsProxyEnv], { description: "CORS Proxy URL.", }, ONLINE_EDITOR__extendedServicesUrl: { - default: `http://${extendedServicesEnv.env.extendedServices.ip}:${extendedServicesEnv.env.extendedServices.port}`, + default: `http://${extendedServicesJavaEnv.env.extendedServicesJava.host}:${extendedServicesJavaEnv.env.extendedServicesJava.port}`, description: "Extended Services URL.", }, ONLINE_EDITOR__disableExtendedServicesWizard: { @@ -130,12 +132,20 @@ module.exports = composeEnv([rootEnv, extendedServicesEnv, corsProxyEnv], { default: "IfNotPresent", description: "The image pull policy. Can be 'Always', 'IfNotPresent', or 'Never'.", }, + ONLINE_EDITOR__quarkusAcceleratorGitRepoUrl: { + default: `http://localhost:${kieSandboxAcceleratorQuarkusEnv.env.kieSandboxAcceleratorQuarkus.dev.port}/git-repo-bare.git`, + description: "Default Quarkus Accelerator's Git repository URL.", + }, + ONLINE_EDITOR__quarkusAcceleratorGitRef: { + default: "main", + description: "Default Quarkus Accelerator's Git ref to be used when cloning it.", + }, ONLINE_EDITOR_DEV__port: { default: 9001, description: "The development web server port", }, ONLINE_EDITOR_DEV__https: { - default: "true", + default: "false", description: "Tells if the development web server should use https", }, }), @@ -156,6 +166,12 @@ module.exports = composeEnv([rootEnv, extendedServicesEnv, corsProxyEnv], { windows: getOrDefault(this.vars.ONLINE_EDITOR__extendedServicesDownloadUrlWindows), }, }, + accelerators: { + quarkus: { + gitRepoUrl: getOrDefault(this.vars.ONLINE_EDITOR__quarkusAcceleratorGitRepoUrl), + gitRef: getOrDefault(this.vars.ONLINE_EDITOR__quarkusAcceleratorGitRef), + }, + }, appName: getOrDefault(this.vars.ONLINE_EDITOR__appName), extendedServicesUrl: getOrDefault(this.vars.ONLINE_EDITOR__extendedServicesUrl), disableExtendedServicesWizard: str2bool(getOrDefault(this.vars.ONLINE_EDITOR__disableExtendedServicesWizard)), diff --git a/packages/online-editor/package.json b/packages/online-editor/package.json index 086aaa37920..ed8e7fc7700 100644 --- a/packages/online-editor/package.json +++ b/packages/online-editor/package.json @@ -18,13 +18,15 @@ "build:dev": "rimraf dist && webpack --config webpack.config.ts --env dev", "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack && pnpm test-e2e", "lint": "run-script-if --bool \"$(build-env linters.run)\" --then \"kie-tools--eslint ./src\"", - "start": "webpack serve --host 0.0.0.0 --env dev", + "start": "concurrently 'pnpm start:cors-proxy' 'pnpm start:extended-services' 'pnpm start:kie-sandbox' 'pnpm start:kie-sandbox-accelerator-quarkus'", + "start:cors-proxy": "cross-env CORS_PROXY__useHttpForHosts=\"localhost:$(build-env kieSandboxAcceleratorQuarkus.dev.port)\" npm --prefix ./node_modules/@kie-tools/cors-proxy run start", + "start:extended-services": "npm --prefix ./node_modules/@kie-tools/extended-services-java run start", + "start:kie-sandbox": "webpack serve --host 0.0.0.0 --env dev", + "start:kie-sandbox-accelerator-quarkus": "npm --prefix ./node_modules/@kie-tools/kie-sandbox-accelerator-quarkus run start", "test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose\"", "test-e2e": "run-script-if --ignore-errors \"$(build-env endToEndTests.ignoreFailures)\" --bool \"$(build-env endToEndTests.run)\" --then \"pnpm rimraf ./dist-tests-e2e\" \"pnpm test-e2e:run\"", "test-e2e:open": "pnpm exec playwright show-report dist-tests-e2e/reports", - "test-e2e:run": "ONLINE_EDITOR_DEV__https=false pnpm exec playwright test", - "test-e2e:start:cors-proxy": "npm --prefix ./node_modules/@kie-tools/cors-proxy run start", - "test-e2e:start:extended-services": "npm --prefix ./node_modules/@kie-tools/extended-services run start" + "test-e2e:run": "pnpm exec playwright test" }, "dependencies": { "@kie-tools-core/editor": "workspace:*", @@ -63,6 +65,7 @@ "@patternfly/react-tokens": "^4.94.6", "bowser": "^2.10.0", "buffer": "^6.0.3", + "cross-env": "^7.0.3", "deep-object-diff": "^1.1.9", "history": "^4.9.0", "isomorphic-git": "^1.11.1", @@ -87,7 +90,9 @@ "@kie-tools/cors-proxy": "workspace:*", "@kie-tools/eslint": "workspace:*", "@kie-tools/extended-services": "workspace:*", + "@kie-tools/extended-services-java": "workspace:*", "@kie-tools/jest-base": "workspace:*", + "@kie-tools/kie-sandbox-accelerator-quarkus": "workspace:*", "@kie-tools/playwright-base": "workspace:*", "@kie-tools/root-env": "workspace:*", "@kie-tools/stunner-editors": "workspace:*", @@ -107,6 +112,7 @@ "@types/react-virtualized-auto-sizer": "^1.0.1", "@types/react-window": "^1.8.5", "@types/uuid": "^8.3.0", + "concurrently": "^8.2.2", "copy-webpack-plugin": "^11.0.0", "html-replace-webpack-plugin": "^2.6.0", "html-webpack-plugin": "^5.3.2", diff --git a/packages/online-editor/playwright.config.ts b/packages/online-editor/playwright.config.ts index 3c1ac8f65ee..606f8f8ad34 100644 --- a/packages/online-editor/playwright.config.ts +++ b/packages/online-editor/playwright.config.ts @@ -36,19 +36,25 @@ const customConfig = defineConfig({ /* Run your local dev server before starting the tests */ webServer: [ { - command: "pnpm test-e2e:start:cors-proxy", + command: "pnpm start:cors-proxy", url: `http://localhost:${buildEnv.corsProxy.dev.port}/ping`, reuseExistingServer: !process.env.CI || true, stdout: "pipe", }, { - command: "pnpm test-e2e:start:extended-services", - url: `http://localhost:${buildEnv.extendedServices.port}/ping`, + command: "pnpm start:extended-services", + url: `http://localhost:${buildEnv.extendedServicesJava.port}/ping`, reuseExistingServer: !process.env.CI || true, stdout: "pipe", }, { - command: "pnpm start", + command: "pnpm start:kie-sandbox-accelerator-quarkus", + url: `http://localhost:${buildEnv.kieSandboxAcceleratorQuarkus.dev.port}/git-repo-bare.git`, + reuseExistingServer: !process.env.CI || true, + stdout: "pipe", + }, + { + command: "pnpm start:kie-sandbox", url: `http://localhost:${buildEnv.onlineEditor.dev.port}`, reuseExistingServer: !process.env.CI || true, ignoreHTTPSErrors: true, diff --git a/packages/online-editor/static/images/quarkus-logo.png b/packages/online-editor/static/images/quarkus-logo.png new file mode 100644 index 00000000000..e13057d074f Binary files /dev/null and b/packages/online-editor/static/images/quarkus-logo.png differ diff --git a/packages/online-editor/webpack.config.ts b/packages/online-editor/webpack.config.ts index 9c670edd7f1..eee9103ca31 100644 --- a/packages/online-editor/webpack.config.ts +++ b/packages/online-editor/webpack.config.ts @@ -52,7 +52,7 @@ export default async (webpackEnv: any, webpackArgv: any) => { lastCommitHash = childProcess.execSync("git rev-parse --short HEAD").toString().trim(); JSON.stringify(lastCommitHash); } catch (e) { - throw new Error(e); + lastCommitHash = "not-built-inside-git-root"; } return [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 217fdd48396..3f670ab4cdd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3294,7 +3294,7 @@ importers: version: 7.6.13(react@17.0.2) '@storybook/addon-webpack5-compiler-babel': specifier: ^3.0.3 - version: 3.0.3(webpack@5.94.0(webpack-cli@4.10.0)) + version: 3.0.3(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) '@storybook/blocks': specifier: ^7.3.2 version: 7.6.13(@types/react-dom@17.0.8)(@types/react@17.0.21)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) @@ -3309,7 +3309,7 @@ importers: version: 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) '@storybook/react-webpack5': specifier: ^7.3.2 - version: 7.6.13(@babel/core@7.23.0)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) + version: 7.6.13(@babel/core@7.23.0)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) '@types/d3-drag': specifier: ^3.0.3 version: 3.0.7 @@ -3339,7 +3339,7 @@ importers: version: 8.3.0 copy-webpack-plugin: specifier: ^11.0.0 - version: 11.0.0(webpack@5.94.0(webpack-cli@4.10.0)) + version: 11.0.0(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) copyfiles: specifier: ^2.4.1 version: 2.4.1 @@ -3351,16 +3351,16 @@ importers: version: 1.1.9 file-loader: specifier: ^6.2.0 - version: 6.2.0(webpack@5.94.0(webpack-cli@4.10.0)) + version: 6.2.0(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + version: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3)) jest-junit: specifier: ^16.0.0 version: 16.0.0 jest-when: specifier: ^3.6.0 - version: 3.6.0(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3))) + version: 3.6.0(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3))) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -3378,13 +3378,13 @@ importers: version: 7.6.13(encoding@0.1.13) ts-jest: specifier: ^29.1.5 - version: 29.1.5(@babel/core@7.23.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.0))(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)))(typescript@5.5.3) + version: 29.1.5(@babel/core@7.23.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.0))(esbuild@0.18.20)(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3)))(typescript@5.5.3) typescript: specifier: ^5.5.3 version: 5.5.3 webpack: specifier: ^5.94.0 - version: 5.94.0(webpack-cli@4.10.0) + version: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) webpack-cli: specifier: ^4.10.0 version: 4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0) @@ -3550,7 +3550,7 @@ importers: version: 7.6.13(react@17.0.2) '@storybook/addon-webpack5-compiler-babel': specifier: ^3.0.3 - version: 3.0.3(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) + version: 3.0.3(webpack@5.94.0(webpack-cli@4.10.0)) '@storybook/blocks': specifier: ^7.3.2 version: 7.6.13(@types/react-dom@17.0.8)(@types/react@17.0.21)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) @@ -3565,7 +3565,7 @@ importers: version: 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) '@storybook/react-webpack5': specifier: ^7.3.2 - version: 7.6.13(@babel/core@7.23.9)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) + version: 7.6.13(@babel/core@7.23.9)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) '@types/jest-when': specifier: ^3.5.5 version: 3.5.5 @@ -3598,7 +3598,7 @@ importers: version: 9.5.1 html-webpack-plugin: specifier: ^5.3.2 - version: 5.5.3(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) + version: 5.5.3(webpack@5.94.0(webpack-cli@4.10.0)) junit-report-merger: specifier: ^4.0.0 version: 4.0.0 @@ -3619,7 +3619,7 @@ importers: version: 0.11.10 raw-loader: specifier: ^4.0.2 - version: 4.0.2(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) + version: 4.0.2(webpack@5.94.0(webpack-cli@4.10.0)) react: specifier: ^17.0.2 version: 17.0.2 @@ -3640,7 +3640,7 @@ importers: version: 5.5.3 webpack: specifier: ^5.94.0 - version: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) + version: 5.94.0(webpack-cli@4.10.0) webpack-bundle-analyzer: specifier: ^4.10.2 version: 4.10.2 @@ -6091,6 +6091,37 @@ importers: specifier: ^5.9.0 version: 5.9.0 + packages/kie-sandbox-accelerator-quarkus: + dependencies: + '@kie-tools/jbpm-quarkus-devui': + specifier: workspace:* + version: link:../jbpm-quarkus-devui + devDependencies: + '@kie-tools/root-env': + specifier: workspace:* + version: link:../root-env + cpy-cli: + specifier: ^5.0.0 + version: 5.0.0 + finalhandler: + specifier: ^1.3.1 + version: 1.3.1 + http-server: + specifier: ^14.1.1 + version: 14.1.1 + mkdirp: + specifier: ^3.0.1 + version: 3.0.1 + rimraf: + specifier: ^3.0.2 + version: 3.0.2 + run-script-os: + specifier: ^1.1.6 + version: 1.1.6 + serve-static: + specifier: ^1.16.2 + version: 1.16.2 + packages/kie-sandbox-distribution: dependencies: '@kie-tools/cors-proxy-image': @@ -6783,6 +6814,9 @@ importers: buffer: specifier: ^6.0.3 version: 6.0.3 + cross-env: + specifier: ^7.0.3 + version: 7.0.3 deep-object-diff: specifier: ^1.1.9 version: 1.1.9 @@ -6850,9 +6884,15 @@ importers: '@kie-tools/extended-services': specifier: workspace:* version: link:../extended-services + '@kie-tools/extended-services-java': + specifier: workspace:* + version: link:../extended-services-java '@kie-tools/jest-base': specifier: workspace:* version: link:../jest-base + '@kie-tools/kie-sandbox-accelerator-quarkus': + specifier: workspace:* + version: link:../kie-sandbox-accelerator-quarkus '@kie-tools/playwright-base': specifier: workspace:* version: link:../playwright-base @@ -6910,6 +6950,9 @@ importers: '@types/uuid': specifier: ^8.3.0 version: 8.3.0 + concurrently: + specifier: ^8.2.2 + version: 8.2.2 copy-webpack-plugin: specifier: ^11.0.0 version: 11.0.0(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0)) @@ -19981,6 +20024,10 @@ packages: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} + aggregate-error@4.0.1: + resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==} + engines: {node: '>=12'} + ajv-draft-04@1.0.0: resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} peerDependencies: @@ -20299,6 +20346,10 @@ packages: resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} + arrify@3.0.0: + resolution: {integrity: sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==} + engines: {node: '>=12'} + as-table@1.0.55: resolution: {integrity: sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==} @@ -21061,6 +21112,10 @@ packages: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} + clean-stack@4.2.0: + resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} + engines: {node: '>=12'} + cli-boxes@1.0.0: resolution: {integrity: sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg==} engines: {node: '>=0.10.0'} @@ -21426,6 +21481,10 @@ packages: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} + corser@2.0.1: + resolution: {integrity: sha512-utCYNzRSQIZNPIcGZdQc92UVJYAhtGAteCFg0yRaFm8f0P+CPtyGyHXJcGXnffjCybUCEx3FQ2G7U3/o9eIkVQ==} + engines: {node: '>= 0.4.0'} + cosmiconfig-typescript-loader@4.4.0: resolution: {integrity: sha512-BabizFdC3wBHhbI4kJh0VkQP9GkBfoHPydD0COMce1nJ1kJAB3F2TmJ/I7diULBKtmEWSwEbuN/KDtgnmUUVmw==} engines: {node: '>=v14.21.3'} @@ -21456,10 +21515,23 @@ packages: typescript: optional: true + cp-file@10.0.0: + resolution: {integrity: sha512-vy2Vi1r2epK5WqxOLnskeKeZkdZvTKfFZQCplE3XWsP+SUJyd5XAUFC9lFgTjjXJF2GMne/UML14iEmkAaDfFg==} + engines: {node: '>=14.16'} + cpr@3.0.1: resolution: {integrity: sha512-Xch4PXQ/KC8lJ+KfJ9JI6eG/nmppLrPPWg5Q+vh65Qr9EjuJEubxh/H/Le1TmCZ7+Xv7iJuNRqapyOFZB+wsxA==} hasBin: true + cpy-cli@5.0.0: + resolution: {integrity: sha512-fb+DZYbL9KHc0BC4NYqGRrDIJZPXUmjjtqdw4XRRg8iV8dIfghUX/WiL+q4/B/KFTy3sK6jsbUhBaz0/Hxg7IQ==} + engines: {node: '>=16'} + hasBin: true + + cpy@10.1.0: + resolution: {integrity: sha512-VC2Gs20JcTyeQob6UViBLnyP0bYHkBh6EiKzot9vi2DmeGlFT9Wd7VG3NBrkNx/jYvFBeyDOMMHdHQhbtKLgHQ==} + engines: {node: '>=16'} + crc-32@1.2.0: resolution: {integrity: sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==} engines: {node: '>=0.8'} @@ -22680,6 +22752,10 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + escodegen@2.1.0: resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} engines: {node: '>=6.0'} @@ -23467,6 +23543,10 @@ packages: resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + globby@13.2.2: + resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + globby@14.0.2: resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} @@ -23792,6 +23872,11 @@ packages: resolution: {integrity: sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==} engines: {node: '>=8.0.0'} + http-server@14.1.1: + resolution: {integrity: sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==} + engines: {node: '>=12'} + hasBin: true + http-signature@1.3.6: resolution: {integrity: sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw==} engines: {node: '>=0.10'} @@ -23937,6 +24022,10 @@ packages: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} + indent-string@5.0.0: + resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} + engines: {node: '>=12'} + individual@3.0.0: resolution: {integrity: sha512-rUY5vtT748NMRbEMrTNiFfy29BgGZwGXUi2NFUVMWQrogSLzlJvQV9eeMWi+g1aVaQ53tpyLAQtd5x/JH0Nh1g==} @@ -24807,6 +24896,10 @@ packages: engines: {node: ^12.20.0 || >=14} hasBin: true + junk@4.0.1: + resolution: {integrity: sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ==} + engines: {node: '>=12.20'} + just-debounce-it@3.0.1: resolution: {integrity: sha512-6EQWOpRV8fm/ame6XvGBSxvsjoMbqj7JS9TV/4Q9aOXt9DQw22GBfTGP6gTAqcBNN/PbzlwtwH7jtM0k9oe9pg==} @@ -25392,6 +25485,10 @@ packages: memoizerific@1.11.3: resolution: {integrity: sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog==} + meow@12.1.1: + resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} + engines: {node: '>=16.10'} + merge-class-names@1.4.2: resolution: {integrity: sha512-bOl98VzwCGi25Gcn3xKxnR5p/WrhWFQB59MS/aGENcmUc6iSm96yrFDF0XSNurX9qN4LbJm0R9kfvsQ17i8zCw==} @@ -25779,6 +25876,9 @@ packages: neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + nested-error-stacks@2.1.1: + resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} + nice-napi@1.0.2: resolution: {integrity: sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==} os: ['!win32'] @@ -26180,6 +26280,10 @@ packages: resolution: {integrity: sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==} engines: {node: '>=8'} + p-event@5.0.1: + resolution: {integrity: sha512-dd589iCQ7m1L0bmC5NLlVYfy3TbBEsMUfWx9PyAgPeIcFZ/E2yaTZ4Rz4MiBmmJShviiftHVXOqfnfzJ6kyMrQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-every@2.0.0: resolution: {integrity: sha512-MCz9DqD5opPC48Zsd+BHm56O/HfhYIQQtupfDzhXoVgQdg/Ux4F8/JcdRuQ+arq7zD5fB6zP3axbH3d9Nr8dlw==} engines: {node: '>=8'} @@ -26188,6 +26292,10 @@ packages: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} + p-filter@3.0.0: + resolution: {integrity: sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-finally@1.0.0: resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} @@ -26232,6 +26340,14 @@ packages: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} + p-map@5.5.0: + resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==} + engines: {node: '>=12'} + + p-map@6.0.0: + resolution: {integrity: sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==} + engines: {node: '>=16'} + p-memoize@4.0.1: resolution: {integrity: sha512-km0sP12uE0dOZ5qP+s7kGVf07QngxyG0gS8sYFvFWhqlgzOsSy+m71aUejf/0akxj5W7gE//2G74qTv6b4iMog==} engines: {node: '>=10'} @@ -26260,6 +26376,10 @@ packages: resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} engines: {node: '>=8'} + p-timeout@5.1.0: + resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} + engines: {node: '>=12'} + p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} @@ -27795,10 +27915,12 @@ packages: rimraf@2.5.4: resolution: {integrity: sha512-Lw7SHMjssciQb/rRz7JyPIy9+bbUshEucPoLRvWqy09vC5zQixl8Uet+Zl+SROBB/JMWHJRdCk1qdxNWHNMvlQ==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rimraf@2.6.3: resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rimraf@2.7.1: @@ -27987,6 +28109,9 @@ packages: scuid@1.1.0: resolution: {integrity: sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg==} + secure-compare@3.0.1: + resolution: {integrity: sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==} + seek-bzip@1.0.6: resolution: {integrity: sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==} hasBin: true @@ -29264,6 +29389,10 @@ packages: resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} engines: {node: '>=0.10.0'} + union@0.5.0: + resolution: {integrity: sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==} + engines: {node: '>= 0.8.0'} + unique-filename@1.1.1: resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==} @@ -37701,7 +37830,7 @@ snapshots: jest-haste-map: 25.5.1 jest-regex-util: 25.2.6 jest-util: 25.5.0 - micromatch: 4.0.5 + micromatch: 4.0.8 pirates: 4.0.6 realpath-native: 2.0.0 slash: 3.0.0 @@ -37723,7 +37852,7 @@ snapshots: jest-haste-map: 29.7.0 jest-regex-util: 29.6.3 jest-util: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 pirates: 4.0.6 slash: 3.0.0 write-file-atomic: 4.0.2 @@ -40199,7 +40328,7 @@ snapshots: - uglify-js - webpack-cli - '@storybook/builder-webpack5@7.6.13(encoding@0.1.13)(esbuild@0.18.20)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))': + '@storybook/builder-webpack5@7.6.13(encoding@0.1.13)(esbuild@0.18.20)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))': dependencies: '@babel/core': 7.24.9 '@storybook/channels': 7.6.13 @@ -40249,6 +40378,56 @@ snapshots: - uglify-js - webpack-cli + '@storybook/builder-webpack5@7.6.13(encoding@0.1.13)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))': + dependencies: + '@babel/core': 7.24.9 + '@storybook/channels': 7.6.13 + '@storybook/client-logger': 7.6.13 + '@storybook/core-common': 7.6.13(encoding@0.1.13) + '@storybook/core-events': 7.6.13 + '@storybook/core-webpack': 7.6.13(encoding@0.1.13) + '@storybook/node-logger': 7.6.13 + '@storybook/preview': 7.6.13 + '@storybook/preview-api': 7.6.13 + '@swc/core': 1.3.92 + '@types/node': 18.17.18 + '@types/semver': 7.5.2 + babel-loader: 9.1.3(@babel/core@7.24.9)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + browser-assert: 1.2.1 + case-sensitive-paths-webpack-plugin: 2.4.0 + cjs-module-lexer: 1.2.3 + constants-browserify: 1.0.0 + css-loader: 6.7.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + es-module-lexer: 1.4.1 + express: 4.21.1 + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.5.3)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + fs-extra: 11.1.1 + html-webpack-plugin: 5.5.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + magic-string: 0.30.7 + path-browserify: 1.0.1 + process: 0.11.10 + semver: 7.5.4 + style-loader: 3.3.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + swc-loader: 0.2.3(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + terser-webpack-plugin: 5.3.10(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + ts-dedent: 2.2.0 + url: 0.11.3 + util: 0.12.5 + util-deprecate: 1.0.2 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + webpack-dev-middleware: 6.1.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + webpack-hot-middleware: 2.25.4 + webpack-virtual-modules: 0.5.0 + optionalDependencies: + typescript: 5.5.3 + transitivePeerDependencies: + - '@swc/helpers' + - encoding + - esbuild + - supports-color + - uglify-js + - webpack-cli + '@storybook/builder-webpack5@7.6.13(encoding@0.1.13)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))': dependencies: '@babel/core': 7.24.9 @@ -41083,16 +41262,16 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/preset-react-webpack@7.6.13(@babel/core@7.23.0)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': + '@storybook/preset-react-webpack@7.6.13(@babel/core@7.23.0)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': dependencies: '@babel/preset-flow': 7.22.15(@babel/core@7.23.0) '@babel/preset-react': 7.22.15(@babel/core@7.23.0) - '@pmmmwh/react-refresh-webpack-plugin': 0.5.11(@types/webpack@4.41.39)(react-refresh@0.14.0)(type-fest@4.26.1)(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)(webpack@5.94.0(webpack-cli@4.10.0)) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.11(@types/webpack@4.41.39)(react-refresh@0.14.0)(type-fest@4.26.1)(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) '@storybook/core-webpack': 7.6.13(encoding@0.1.13) '@storybook/docs-tools': 7.6.13(encoding@0.1.13) '@storybook/node-logger': 7.6.13 '@storybook/react': 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.3)(webpack@5.94.0(webpack-cli@4.10.0)) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.3)(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) '@types/node': 18.17.18 '@types/semver': 7.5.2 babel-plugin-add-react-displayname: 0.0.5 @@ -41103,7 +41282,7 @@ snapshots: react-dom: 17.0.2(react@17.0.2) react-refresh: 0.14.0 semver: 7.5.4 - webpack: 5.94.0(webpack-cli@4.10.0) + webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) optionalDependencies: '@babel/core': 7.23.0 typescript: 5.5.3 @@ -41121,16 +41300,16 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/preset-react-webpack@7.6.13(@babel/core@7.23.9)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': + '@storybook/preset-react-webpack@7.6.13(@babel/core@7.23.9)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': dependencies: '@babel/preset-flow': 7.22.15(@babel/core@7.23.9) '@babel/preset-react': 7.22.15(@babel/core@7.23.9) - '@pmmmwh/react-refresh-webpack-plugin': 0.5.11(@types/webpack@4.41.39)(react-refresh@0.14.0)(type-fest@4.26.1)(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.11(@types/webpack@4.41.39)(react-refresh@0.14.0)(type-fest@4.26.1)(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)(webpack@5.94.0(webpack-cli@4.10.0)) '@storybook/core-webpack': 7.6.13(encoding@0.1.13) '@storybook/docs-tools': 7.6.13(encoding@0.1.13) '@storybook/node-logger': 7.6.13 '@storybook/react': 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.3)(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.3)(webpack@5.94.0(webpack-cli@4.10.0)) '@types/node': 18.17.18 '@types/semver': 7.5.2 babel-plugin-add-react-displayname: 0.0.5 @@ -41141,7 +41320,7 @@ snapshots: react-dom: 17.0.2(react@17.0.2) react-refresh: 0.14.0 semver: 7.5.4 - webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) + webpack: 5.94.0(webpack-cli@4.10.0) optionalDependencies: '@babel/core': 7.23.9 typescript: 5.5.3 @@ -41203,7 +41382,7 @@ snapshots: endent: 2.1.0 find-cache-dir: 3.3.1 flat-cache: 3.0.4 - micromatch: 4.0.5 + micromatch: 4.0.8 react-docgen-typescript: 2.2.2(typescript@5.5.3) tslib: 2.6.2 typescript: 5.5.3 @@ -41217,7 +41396,7 @@ snapshots: endent: 2.1.0 find-cache-dir: 3.3.1 flat-cache: 3.0.4 - micromatch: 4.0.5 + micromatch: 4.0.8 react-docgen-typescript: 2.2.2(typescript@5.5.3) tslib: 2.6.2 typescript: 5.5.3 @@ -41231,7 +41410,7 @@ snapshots: endent: 2.1.0 find-cache-dir: 3.3.1 flat-cache: 3.0.4 - micromatch: 4.0.5 + micromatch: 4.0.8 react-docgen-typescript: 2.2.2(typescript@5.5.3) tslib: 2.6.2 typescript: 5.5.3 @@ -41331,10 +41510,10 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/react-webpack5@7.6.13(@babel/core@7.23.0)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': + '@storybook/react-webpack5@7.6.13(@babel/core@7.23.0)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': dependencies: - '@storybook/builder-webpack5': 7.6.13(encoding@0.1.13)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0)) - '@storybook/preset-react-webpack': 7.6.13(@babel/core@7.23.0)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) + '@storybook/builder-webpack5': 7.6.13(encoding@0.1.13)(esbuild@0.18.20)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0)) + '@storybook/preset-react-webpack': 7.6.13(@babel/core@7.23.0)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) '@storybook/react': 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) '@types/node': 18.17.18 react: 17.0.2 @@ -41357,10 +41536,10 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/react-webpack5@7.6.13(@babel/core@7.23.9)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': + '@storybook/react-webpack5@7.6.13(@babel/core@7.23.9)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4)': dependencies: - '@storybook/builder-webpack5': 7.6.13(encoding@0.1.13)(esbuild@0.18.20)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) - '@storybook/preset-react-webpack': 7.6.13(@babel/core@7.23.9)(@swc/core@1.3.92)(@types/webpack@4.41.39)(encoding@0.1.13)(esbuild@0.18.20)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) + '@storybook/builder-webpack5': 7.6.13(encoding@0.1.13)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + '@storybook/preset-react-webpack': 7.6.13(@babel/core@7.23.9)(@types/webpack@4.41.39)(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(type-fest@4.26.1)(typescript@5.5.3)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))(webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.94.0))(webpack-hot-middleware@2.25.4) '@storybook/react': 7.6.13(encoding@0.1.13)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(typescript@5.5.3) '@types/node': 18.17.18 react: 17.0.2 @@ -43267,6 +43446,11 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 + aggregate-error@4.0.1: + dependencies: + clean-stack: 4.2.0 + indent-string: 5.0.0 + ajv-draft-04@1.0.0(ajv@8.17.1): optionalDependencies: ajv: 8.17.1 @@ -43695,6 +43879,8 @@ snapshots: is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.3 + arrify@3.0.0: {} + as-table@1.0.55: dependencies: printable-characters: 1.0.42 @@ -43968,6 +44154,13 @@ snapshots: schema-utils: 4.2.0 webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + babel-loader@9.1.3(@babel/core@7.24.9)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + '@babel/core': 7.24.9 + find-cache-dir: 4.0.0 + schema-utils: 4.2.0 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + babel-loader@9.1.3(@babel/core@7.24.9)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: '@babel/core': 7.24.9 @@ -45139,6 +45332,10 @@ snapshots: clean-stack@2.2.0: {} + clean-stack@4.2.0: + dependencies: + escape-string-regexp: 5.0.0 + cli-boxes@1.0.0: {} cli-boxes@2.2.1: {} @@ -45539,6 +45736,8 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 + corser@2.0.1: {} + cosmiconfig-typescript-loader@4.4.0(@types/node@22.5.2)(cosmiconfig@7.0.1)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3))(typescript@5.5.3): dependencies: '@types/node': 22.5.2 @@ -45578,6 +45777,12 @@ snapshots: optionalDependencies: typescript: 5.5.3 + cp-file@10.0.0: + dependencies: + graceful-fs: 4.2.11 + nested-error-stacks: 2.1.1 + p-event: 5.0.1 + cpr@3.0.1: dependencies: graceful-fs: 4.2.10 @@ -45585,6 +45790,22 @@ snapshots: mkdirp: 0.5.6 rimraf: 2.7.1 + cpy-cli@5.0.0: + dependencies: + cpy: 10.1.0 + meow: 12.1.1 + + cpy@10.1.0: + dependencies: + arrify: 3.0.0 + cp-file: 10.0.0 + globby: 13.2.2 + junk: 4.0.1 + micromatch: 4.0.8 + nested-error-stacks: 2.1.1 + p-filter: 3.0.0 + p-map: 6.0.0 + crc-32@1.2.0: dependencies: exit-on-epipe: 1.0.1 @@ -45844,6 +46065,18 @@ snapshots: semver: 7.6.2 webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + css-loader@6.7.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + icss-utils: 5.1.0(postcss@8.4.38) + postcss: 8.4.38 + postcss-modules-extract-imports: 3.0.0(postcss@8.4.38) + postcss-modules-local-by-default: 4.0.0(postcss@8.4.38) + postcss-modules-scope: 3.0.0(postcss@8.4.38) + postcss-modules-values: 4.0.0(postcss@8.4.38) + postcss-value-parser: 4.2.0 + semver: 7.6.2 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + css-loader@6.7.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: icss-utils: 5.1.0(postcss@8.4.38) @@ -47276,6 +47509,8 @@ snapshots: escape-string-regexp@4.0.0: {} + escape-string-regexp@5.0.0: {} + escodegen@2.1.0: dependencies: esprima: 4.0.1 @@ -48091,6 +48326,23 @@ snapshots: typescript: 5.5.3 webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.5.3)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + '@babel/code-frame': 7.23.5 + chalk: 4.1.2 + chokidar: 3.5.3 + cosmiconfig: 7.0.1 + deepmerge: 4.2.2 + fs-extra: 10.1.0 + memfs: 3.5.1 + minimatch: 3.1.2 + node-abort-controller: 3.1.1 + schema-utils: 3.3.0 + semver: 7.5.4 + tapable: 2.2.1 + typescript: 5.5.3 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.5.3)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: '@babel/code-frame': 7.23.5 @@ -48430,6 +48682,14 @@ snapshots: merge2: 1.4.1 slash: 4.0.0 + globby@13.2.2: + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.3.2 + ignore: 5.3.1 + merge2: 1.4.1 + slash: 4.0.0 + globby@14.0.2: dependencies: '@sindresorhus/merge-streams': 2.3.0 @@ -48773,6 +49033,15 @@ snapshots: tapable: 2.2.1 webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + html-webpack-plugin@5.5.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 + lodash: 4.17.21 + pretty-error: 4.0.0 + tapable: 2.2.1 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + html-webpack-plugin@5.5.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: '@types/html-minifier-terser': 6.1.0 @@ -48927,6 +49196,25 @@ snapshots: transitivePeerDependencies: - debug + http-server@14.1.1: + dependencies: + basic-auth: 2.0.1 + chalk: 4.1.2 + corser: 2.0.1 + he: 1.2.0 + html-encoding-sniffer: 3.0.0 + http-proxy: 1.18.1 + mime: 1.6.0 + minimist: 1.2.8 + opener: 1.5.2 + portfinder: 1.0.32 + secure-compare: 3.0.1 + union: 0.5.0 + url-join: 4.0.1 + transitivePeerDependencies: + - debug + - supports-color + http-signature@1.3.6: dependencies: assert-plus: 1.0.0 @@ -49071,6 +49359,8 @@ snapshots: indent-string@4.0.0: {} + indent-string@5.0.0: {} + individual@3.0.0: {} infer-owner@1.0.4: {} @@ -49716,7 +50006,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49747,7 +50037,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49778,7 +50068,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49809,7 +50099,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49840,7 +50130,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49871,7 +50161,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49902,7 +50192,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49933,7 +50223,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49964,7 +50254,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -49995,7 +50285,7 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 @@ -50069,7 +50359,7 @@ snapshots: jest-serializer: 25.5.0 jest-util: 25.5.0 jest-worker: 25.5.0 - micromatch: 4.0.5 + micromatch: 4.0.8 sane: 4.1.0 walker: 1.0.8 which: 2.0.2 @@ -50089,7 +50379,7 @@ snapshots: jest-regex-util: 29.6.3 jest-util: 29.7.0 jest-worker: 29.7.0 - micromatch: 4.0.5 + micromatch: 4.0.8 walker: 1.0.8 optionalDependencies: fsevents: 2.3.2 @@ -50120,7 +50410,7 @@ snapshots: '@types/stack-utils': 2.0.0 chalk: 4.1.2 graceful-fs: 4.2.11 - micromatch: 4.0.5 + micromatch: 4.0.8 pretty-format: 29.7.0 slash: 3.0.0 stack-utils: 2.0.4 @@ -50283,10 +50573,6 @@ snapshots: dependencies: jest: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3)) - jest-when@3.6.0(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3))): - dependencies: - jest: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) - jest-when@3.6.0(jest@29.7.0(@types/node@22.5.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3))): dependencies: jest: 29.7.0(@types/node@22.5.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3)) @@ -50479,7 +50765,7 @@ snapshots: chalk: 4.1.2 flow-parser: 0.218.0 graceful-fs: 4.2.11 - micromatch: 4.0.5 + micromatch: 4.0.8 neo-async: 2.6.2 node-dir: 0.1.17 recast: 0.23.4 @@ -50680,6 +50966,8 @@ snapshots: fast-glob: 3.2.11 xmlbuilder2: 3.0.2 + junk@4.0.1: {} + just-debounce-it@3.0.1: {} just-once@2.0.1: {} @@ -51402,6 +51690,8 @@ snapshots: dependencies: map-or-similar: 1.5.0 + meow@12.1.1: {} + merge-class-names@1.4.2: {} merge-descriptors@1.0.1: {} @@ -51824,6 +52114,8 @@ snapshots: neo-async@2.6.2: {} + nested-error-stacks@2.1.1: {} + nice-napi@1.0.2: dependencies: node-addon-api: 3.2.1 @@ -52351,6 +52643,10 @@ snapshots: p-defer@3.0.0: {} + p-event@5.0.1: + dependencies: + p-timeout: 5.1.0 + p-every@2.0.0: dependencies: p-map: 2.1.0 @@ -52359,6 +52655,10 @@ snapshots: dependencies: p-map: 2.1.0 + p-filter@3.0.0: + dependencies: + p-map: 5.5.0 + p-finally@1.0.0: {} p-is-promise@3.0.0: {} @@ -52397,6 +52697,12 @@ snapshots: dependencies: aggregate-error: 3.1.0 + p-map@5.5.0: + dependencies: + aggregate-error: 4.0.1 + + p-map@6.0.0: {} + p-memoize@4.0.1: dependencies: mem: 6.1.1 @@ -52429,6 +52735,8 @@ snapshots: dependencies: p-finally: 1.0.0 + p-timeout@5.1.0: {} + p-try@2.2.0: {} package-json-from-dist@1.0.0: {} @@ -53302,12 +53610,6 @@ snapshots: iconv-lite: 0.4.24 unpipe: 1.0.0 - raw-loader@4.0.2(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)): - dependencies: - loader-utils: 2.0.4 - schema-utils: 3.3.0 - webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) - raw-loader@4.0.2(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0)): dependencies: loader-utils: 2.0.4 @@ -54465,6 +54767,8 @@ snapshots: scuid@1.1.0: {} + secure-compare@3.0.1: {} + seek-bzip@1.0.6: dependencies: commander: 2.20.3 @@ -55271,6 +55575,10 @@ snapshots: dependencies: webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + style-loader@3.3.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + style-loader@3.3.3(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0)) @@ -55380,6 +55688,11 @@ snapshots: '@swc/core': 1.3.92 webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + swc-loader@0.2.3(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + '@swc/core': 1.3.92 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + swc-loader@0.2.3(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: '@swc/core': 1.3.92 @@ -55530,6 +55843,17 @@ snapshots: '@swc/core': 1.3.92 esbuild: 0.18.20 + terser-webpack-plugin@5.3.10(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + jest-worker: 27.5.1 + schema-utils: 3.3.0 + serialize-javascript: 6.0.2 + terser: 5.31.6 + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + optionalDependencies: + '@swc/core': 1.3.92 + terser-webpack-plugin@5.3.10(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: '@jridgewell/trace-mapping': 0.3.25 @@ -55872,11 +56196,11 @@ snapshots: '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.18.10) - ts-jest@29.1.5(@babel/core@7.23.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.0))(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)))(typescript@5.5.3): + ts-jest@29.1.5(@babel/core@7.23.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.0))(esbuild@0.18.20)(jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3)))(typescript@5.5.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + jest: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@20.14.2)(typescript@5.5.3)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -55889,6 +56213,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.23.0) + esbuild: 0.18.20 ts-jest@29.1.5(@babel/core@7.23.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.0))(jest@29.7.0(@types/node@22.5.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3)))(typescript@5.5.3): dependencies: @@ -56431,6 +56756,10 @@ snapshots: is-extendable: 0.1.1 set-value: 2.0.1 + union@0.5.0: + dependencies: + qs: 6.13.0 + unique-filename@1.1.1: dependencies: unique-slug: 2.0.2 @@ -56580,7 +56909,7 @@ snapshots: urlpattern-polyfill@6.0.2: dependencies: - braces: 3.0.2 + braces: 3.0.3 urlpattern-polyfill@8.0.2: {} @@ -57142,6 +57471,16 @@ snapshots: optionalDependencies: webpack: 5.94.0(@swc/core@1.3.92)(esbuild@0.18.20) + webpack-dev-middleware@6.1.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))): + dependencies: + colorette: 2.0.20 + memfs: 3.5.1 + mime-types: 2.1.35 + range-parser: 1.2.1 + schema-utils: 4.2.0 + optionalDependencies: + webpack: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)) + webpack-dev-middleware@6.1.1(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0))): dependencies: colorette: 2.0.20 @@ -57441,6 +57780,38 @@ snapshots: - esbuild - uglify-js + webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0)): + dependencies: + '@types/estree': 1.0.5 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/wasm-edit': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + acorn: 8.12.1 + acorn-import-attributes: 1.9.5(acorn@8.12.1) + browserslist: 4.23.3 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.17.1 + es-module-lexer: 1.5.4 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.10(@swc/core@1.3.92)(webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0))) + watchpack: 2.4.2 + webpack-sources: 3.2.3 + optionalDependencies: + webpack-cli: 4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.94.0) + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + webpack@5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0(webpack-dev-server@4.15.1)(webpack@5.94.0)): dependencies: '@types/estree': 1.0.5 diff --git a/repo/graph.dot b/repo/graph.dot index 3e22c2ef251..be8cdef7a2e 100644 --- a/repo/graph.dot +++ b/repo/graph.dot @@ -131,6 +131,7 @@ digraph G { "kie-editors-dev-vscode-extension" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/pmml-editor" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/vscode-extension-common-test-helpers" [ color = "blue", fontcolor = "blue", style = "rounded" ]; + "@kie-tools/kie-sandbox-accelerator-quarkus" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/kie-sandbox-distribution" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/kie-sandbox-extended-services-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/kie-sandbox-webapp-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; @@ -430,6 +431,7 @@ digraph G { "kie-editors-dev-vscode-extension" -> "@kie-tools/vscode-extension-common-test-helpers" [ style = "dashed", color = "black" ]; "@kie-tools/kie-editors-standalone" -> "@kie-tools/kie-bc-editors" [ style = "dashed", color = "blue" ]; "@kie-tools/kie-editors-standalone" -> "@kie-tools/stunner-editors" [ style = "dashed", color = "blue" ]; + "@kie-tools/kie-sandbox-accelerator-quarkus" -> "@kie-tools/jbpm-quarkus-devui" [ style = "solid", color = "black" ]; "@kie-tools/kie-sandbox-distribution" -> "@kie-tools/cors-proxy-image" [ style = "solid", color = "black" ]; "@kie-tools/kie-sandbox-distribution" -> "@kie-tools/kie-sandbox-extended-services-image" [ style = "solid", color = "black" ]; "@kie-tools/kie-sandbox-distribution" -> "@kie-tools/kie-sandbox-webapp-image" [ style = "solid", color = "black" ]; @@ -479,6 +481,8 @@ digraph G { "@kie-tools/online-editor" -> "@kie-tools/unitables-dmn" [ style = "solid", color = "black" ]; "@kie-tools/online-editor" -> "@kie-tools/cors-proxy" [ style = "dashed", color = "black" ]; "@kie-tools/online-editor" -> "@kie-tools/extended-services" [ style = "dashed", color = "black" ]; + "@kie-tools/online-editor" -> "@kie-tools/extended-services-java" [ style = "dashed", color = "black" ]; + "@kie-tools/online-editor" -> "@kie-tools/kie-sandbox-accelerator-quarkus" [ style = "dashed", color = "black" ]; "@kie-tools/online-editor" -> "@kie-tools/stunner-editors" [ style = "dashed", color = "black" ]; "@kie-tools-core/operating-system" -> "@kie-tools/eslint" [ style = "dashed", color = "purple" ]; "@kie-tools-core/operating-system" -> "@kie-tools/root-env" [ style = "dashed", color = "purple" ]; diff --git a/repo/graph.json b/repo/graph.json index 0f3378f7b52..bb53965ede8 100644 --- a/repo/graph.json +++ b/repo/graph.json @@ -141,6 +141,7 @@ { "id": "kie-editors-dev-vscode-extension" }, { "id": "@kie-tools/pmml-editor" }, { "id": "@kie-tools/vscode-extension-common-test-helpers" }, + { "id": "@kie-tools/kie-sandbox-accelerator-quarkus" }, { "id": "@kie-tools/kie-sandbox-distribution" }, { "id": "@kie-tools/kie-sandbox-extended-services-image" }, { "id": "@kie-tools/kie-sandbox-webapp-image" }, @@ -1744,6 +1745,11 @@ "target": "@kie-tools/tsconfig", "weight": 1 }, + { + "source": "@kie-tools/kie-sandbox-accelerator-quarkus", + "target": "@kie-tools/jbpm-quarkus-devui", + "weight": 1 + }, { "source": "@kie-tools/kie-sandbox-distribution", "target": "@kie-tools/cors-proxy-image", @@ -1834,6 +1840,16 @@ "target": "@kie-tools/extended-services", "weight": 1 }, + { + "source": "@kie-tools/online-editor", + "target": "@kie-tools/extended-services-java", + "weight": 1 + }, + { + "source": "@kie-tools/online-editor", + "target": "@kie-tools/kie-sandbox-accelerator-quarkus", + "weight": 1 + }, { "source": "@kie-tools/online-editor", "target": "@kie-tools/stunner-editors", @@ -2661,6 +2677,7 @@ ["@kie-tools/kie-bc-editors", "packages/kie-bc-editors"], ["kie-editors-dev-vscode-extension", "packages/kie-editors-dev-vscode-extension"], ["@kie-tools/kie-editors-standalone", "packages/kie-editors-standalone"], + ["@kie-tools/kie-sandbox-accelerator-quarkus", "packages/kie-sandbox-accelerator-quarkus"], ["@kie-tools/kie-sandbox-distribution", "packages/kie-sandbox-distribution"], ["@kie-tools/kie-sandbox-extended-services-image", "packages/kie-sandbox-extended-services-image"], ["@kie-tools/kie-sandbox-fs", "packages/kie-sandbox-fs"],