From 3deefbfc9baa916beb4bc8f604032dae73eddf41 Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Mon, 2 Sep 2024 15:43:58 +0530 Subject: [PATCH 1/8] Landing page for data index --- packages/data-index-webapp/package.json | 35 ++ packages/data-index-webapp/src/index.html | 49 +++ packages/data-index-webapp/src/styles.css | 120 +++++++ packages/data-index-webapp/static/favicon.svg | 44 +++ packages/data-index-webapp/webpack.config.js | 57 +++ pnpm-lock.yaml | 333 ++++-------------- repo/graph.dot | 2 + repo/graph.json | 7 + 8 files changed, 380 insertions(+), 267 deletions(-) create mode 100644 packages/data-index-webapp/package.json create mode 100644 packages/data-index-webapp/src/index.html create mode 100644 packages/data-index-webapp/src/styles.css create mode 100644 packages/data-index-webapp/static/favicon.svg create mode 100644 packages/data-index-webapp/webpack.config.js diff --git a/packages/data-index-webapp/package.json b/packages/data-index-webapp/package.json new file mode 100644 index 00000000000..fcf92735dfb --- /dev/null +++ b/packages/data-index-webapp/package.json @@ -0,0 +1,35 @@ +{ + "private": true, + "name": "@kie-tools/data-index-webapp", + "version": "1.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" + }, + "types": "./dist/index.d.ts", + "main": "dist/index.js", + "scripts": { + "build:dev": "rimraf dist && webpack --config webpack.config.ts dev", + "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack && pnpm test-e2e", + "lint": "echo 'Linting'", + "start": "webpack serve --host 0.0.0.0 --env dev" + }, + "devDependencies": { + "@kie-tools-core/webpack-base": "workspace:*", + "copy-webpack-plugin": "^11.0.0", + "rimraf": "^3.0.2", + "stream-http": "^3.2.0", + "terser-webpack-plugin": "^5.3.9", + "ts-node": "^10.9.2", + "webpack": "^5.92.1", + "webpack-cli": "^4.10.0", + "webpack-dev-server": "^4.15.1", + "webpack-merge": "^5.9.0" + } +} diff --git a/packages/data-index-webapp/src/index.html b/packages/data-index-webapp/src/index.html new file mode 100644 index 00000000000..e73ec540234 --- /dev/null +++ b/packages/data-index-webapp/src/index.html @@ -0,0 +1,49 @@ + + + + + + + + Data Index Webapp + + + +
+
+ +
+

Your Data Index service is up and working!

+
+

+ Data Index service is a dedicated supporting service that stores the data related to the workflow and process + instances and their associated jobs. This service provides a GraphQL endpoint allowing users to query and + modify that data. +

+
+ GraphQL docs +
+
+
+ + diff --git a/packages/data-index-webapp/src/styles.css b/packages/data-index-webapp/src/styles.css new file mode 100644 index 00000000000..bd46c423535 --- /dev/null +++ b/packages/data-index-webapp/src/styles.css @@ -0,0 +1,120 @@ +/* Default light mode */ +.body { + margin: 0px; + padding: 0px; +} + +.maindiv { + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + background-color: #fff; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; +} + +.container { + text-align: center; + background-color: #fff; + max-width: 700px; +} + +.logo img { + width: 80px; + height: auto; +} + +h1 { + font-size: 48px; + color: #e44c3b; + padding-left: 15px; +} + +h4 { + font-size: 30px; + color: #c94848; + margin-top: 10px; +} + +p { + font-size: 16px; + color: #1f1e1e; + margin-top: 5px; + margin-bottom: 40px; +} + +.btn { + padding: 10px 20px; + background-color: #e44c3b; + color: #fff; + text-decoration: none; + border-radius: 5px; + font-size: 16px; + transition: background-color 0.3s; +} + +.btn:hover { + background-color: #c73828; +} + +/* Dark mode */ +@media (prefers-color-scheme: dark) { + body { + margin: 0px; + padding: 0px; + } + .maindiv { + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + background-color: #232121; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + } + + .container { + text-align: center; + background-color: #232121; + max-width: 700px; + } + + .logo img { + width: 80px; + height: auto; + } + + h1 { + font-size: 48px; + color: #e44c3b; + padding-left: 15px; + } + + h4 { + font-size: 30px; + color: #fefefe; + margin-top: 10px; + } + + p { + font-size: 16px; + color: #fefefe; + margin-top: 5px; + margin-bottom: 40px; + } + + .btn { + padding: 10px 20px; + background-color: #e44c3b; + color: #fff; + text-decoration: none; + border-radius: 5px; + font-size: 16px; + transition: background-color 0.3s; + } + + .btn:hover { + background-color: #c73828; + } +} diff --git a/packages/data-index-webapp/static/favicon.svg b/packages/data-index-webapp/static/favicon.svg new file mode 100644 index 00000000000..8806924e382 --- /dev/null +++ b/packages/data-index-webapp/static/favicon.svg @@ -0,0 +1,44 @@ + + + + + + + kie_icon_rgb_fullcolor_default + + + + + + + + + diff --git a/packages/data-index-webapp/webpack.config.js b/packages/data-index-webapp/webpack.config.js new file mode 100644 index 00000000000..155b9edeaa7 --- /dev/null +++ b/packages/data-index-webapp/webpack.config.js @@ -0,0 +1,57 @@ +/* + * 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 path = require("path"); +const CopyPlugin = require("copy-webpack-plugin"); +const TerserPlugin = require("terser-webpack-plugin"); +const { merge } = require("webpack-merge"); +const common = require("@kie-tools-core/webpack-base/webpack.common.config"); + +module.exports = async (env = {}) => + merge(common(env), { + entry: {}, + optimization: { + minimizer: [ + new TerserPlugin({ + terserOptions: { + format: { + comments: false, + }, + }, + extractComments: false, + }), + ], + }, + plugins: [ + new CopyPlugin({ + patterns: [ + { from: "./src/index.html", to: "./index.html" }, + { from: "./src/styles.css", to: "./styles.css" }, + { from: "./static/favicon.svg", to: "./favicon.svg" }, + ], + }), + ], + module: {}, + resolve: { + fallback: { + http: require.resolve("stream-http"), + }, + }, + ignoreWarnings: [/Failed to parse source map/], + }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 242398f627b..c47503fc978 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -297,18 +297,6 @@ importers: specifier: ^5.9.0 version: 5.10.0 - examples/dmn-quarkus-example: - devDependencies: - '@kie-tools/maven-config-setup-helper': - specifier: workspace:* - version: link:../../packages/maven-config-setup-helper - '@kie-tools/root-env': - specifier: workspace:* - version: link:../../packages/root-env - run-script-os: - specifier: ^1.1.6 - version: 1.1.6 - examples/drools-process-usertasks-quarkus-example: dependencies: '@kie-tools/jbpm-quarkus-devui': @@ -2949,6 +2937,39 @@ importers: specifier: workspace:* version: link:../root-env + packages/data-index-webapp: + devDependencies: + '@kie-tools-core/webpack-base': + specifier: workspace:* + version: link:../webpack-base + copy-webpack-plugin: + specifier: ^11.0.0 + version: 11.0.0(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) + rimraf: + specifier: ^3.0.2 + version: 3.0.2 + stream-http: + specifier: ^3.2.0 + version: 3.2.0 + terser-webpack-plugin: + specifier: ^5.3.9 + version: 5.3.10(@swc/core@1.3.92)(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) + ts-node: + specifier: ^10.9.2 + version: 10.9.2(@swc/core@1.3.92)(@types/node@22.0.2)(typescript@5.5.3) + webpack: + specifier: ^5.92.1 + version: 5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0) + webpack-cli: + specifier: ^4.10.0 + version: 4.10.0(webpack-dev-server@4.15.1)(webpack@5.92.1) + webpack-dev-server: + specifier: ^4.15.1 + version: 4.15.1(webpack-cli@4.10.0)(webpack@5.92.1) + webpack-merge: + specifier: ^5.9.0 + version: 5.10.0 + packages/dev-deployment-base-image: dependencies: '@kie-tools/maven-base': @@ -12890,7 +12911,7 @@ importers: version: 7.16.11(@babel/core@7.16.12) 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)) + version: 29.7.0(@types/node@22.0.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@22.0.2)) jest-junit: specifier: ^16.0.0 version: 16.0.0 @@ -18470,9 +18491,6 @@ packages: '@types/body-parser@1.19.2': resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} - '@types/bonjour@3.5.10': - resolution: {integrity: sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==} - '@types/bonjour@3.5.13': resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} @@ -18491,9 +18509,6 @@ packages: '@types/component-emitter@1.2.11': resolution: {integrity: sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==} - '@types/connect-history-api-fallback@1.3.5': - resolution: {integrity: sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==} - '@types/connect-history-api-fallback@1.5.4': resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} @@ -18723,9 +18738,6 @@ packages: '@types/http-proxy@1.17.14': resolution: {integrity: sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==} - '@types/http-proxy@1.17.8': - resolution: {integrity: sha512-5kPLG5BKpWYkw/LVOGWpiq3nEVqxiN32rTgI53Sk12/xHFQ2rG3ehI9IO+O3W2QoKeyB92dJkoka8SUm6BX1pA==} - '@types/inquirer@7.3.3': resolution: {integrity: sha512-HhxyLejTHMfohAuhRun4csWigAMjXTmRyiJTU1Y/I1xmggikFMkOUoMQRlFm+zQcPEGHSs3io/0FAmNZf8EymQ==} @@ -18939,9 +18951,6 @@ packages: '@types/send@0.17.1': resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} - '@types/serve-index@1.9.1': - resolution: {integrity: sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==} - '@types/serve-index@1.9.4': resolution: {integrity: sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==} @@ -18966,9 +18975,6 @@ packages: '@types/sizzle@2.3.2': resolution: {integrity: sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==} - '@types/sockjs@0.3.33': - resolution: {integrity: sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==} - '@types/sockjs@0.3.36': resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} @@ -19731,9 +19737,6 @@ packages: array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - array-flatten@2.1.2: - resolution: {integrity: sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==} - array-includes@3.1.6: resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==} engines: {node: '>= 0.4'} @@ -20098,9 +20101,6 @@ packages: bole@4.0.0: resolution: {integrity: sha512-Bk/2qoyOSlwU1dnDFk/oPM2FCNKAlYlBHfpAgwGX+K9HUtxSvmIAQCmMWMOvE6BlHHRCwsH1MxJe/r1ieodxqQ==} - bonjour-service@1.1.1: - resolution: {integrity: sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg==} - bonjour-service@1.2.1: resolution: {integrity: sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==} @@ -21516,9 +21516,6 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} - dns-equal@1.0.0: - resolution: {integrity: sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==} - dns-packet@5.6.0: resolution: {integrity: sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ==} engines: {node: '>=6'} @@ -23222,10 +23219,6 @@ packages: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} - ipaddr.js@2.0.1: - resolution: {integrity: sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==} - engines: {node: '>= 10'} - ipaddr.js@2.2.0: resolution: {integrity: sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==} engines: {node: '>= 10'} @@ -24109,9 +24102,6 @@ packages: resolution: {integrity: sha512-OlT0qgHj0W7hJQdc0HzbdYUpK3LcMaKg43yqeEsUsq1gCAldfzEaMyhifNylMud3dWglPQ+5Jt6sFyIr3XTdvg==} engines: {node: '>=14'} - launch-editor@2.6.0: - resolution: {integrity: sha512-JpDCcQnyAAzZZaZ7vEiSqL690w7dAEyLao+KC96zBplnYbJS7TYNjvM3M7y3dGz+v7aIsJk3hllWuc0kWAjyRQ==} - launch-editor@2.8.0: resolution: {integrity: sha512-vJranOAJrI/llyWGRQqiDM+adrw+k83fvmmx3+nV47g3+36xM15jE+zyZ6Ffel02+xSvuM0b2GDRosXZkbb6wA==} @@ -26947,10 +26937,6 @@ packages: resolution: {integrity: sha512-GNbrkCHmy249ai885wgXqTfqL2lZnclUH/P8pwTDIqzyFxU3YhDiN7p/c9tMFA4NhgRdEBO2QCG+CWmG7xr/Mw==} engines: {node: '>= 14.21.0'} - selfsigned@2.1.1: - resolution: {integrity: sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==} - engines: {node: '>=10'} - selfsigned@2.4.1: resolution: {integrity: sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==} engines: {node: '>=10'} @@ -31208,6 +31194,7 @@ snapshots: dependencies: '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.24.8 + optional: true '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.24.9)': dependencies: @@ -36400,43 +36387,6 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2))': - dependencies: - '@jest/console': 29.7.0 - '@jest/reporters': 29.7.0(node-notifier@8.0.2) - '@jest/test-result': 29.7.0 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - '@types/node': 20.14.2 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - ci-info: 3.3.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) - jest-haste-map: 29.7.0 - jest-message-util: 29.7.0 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-resolve-dependencies: 29.7.0 - jest-runner: 29.7.0 - jest-runtime: 29.7.0 - jest-snapshot: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - jest-watcher: 29.7.0 - micromatch: 4.0.5 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-ansi: 6.0.1 - optionalDependencies: - node-notifier: 8.0.2 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - ts-node - '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@22.0.2)(typescript@5.5.3))': dependencies: '@jest/console': 29.7.0 @@ -40852,10 +40802,6 @@ snapshots: '@types/connect': 3.4.34 '@types/node': 20.14.13 - '@types/bonjour@3.5.10': - dependencies: - '@types/node': 20.14.2 - '@types/bonjour@3.5.13': dependencies: '@types/node': 20.14.13 @@ -40880,11 +40826,6 @@ snapshots: '@types/component-emitter@1.2.11': {} - '@types/connect-history-api-fallback@1.3.5': - dependencies: - '@types/express-serve-static-core': 4.17.35 - '@types/node': 20.14.2 - '@types/connect-history-api-fallback@1.5.4': dependencies: '@types/express-serve-static-core': 4.17.35 @@ -41159,10 +41100,6 @@ snapshots: dependencies: '@types/node': 20.14.13 - '@types/http-proxy@1.17.8': - dependencies: - '@types/node': 20.14.2 - '@types/inquirer@7.3.3': dependencies: '@types/through': 0.0.30 @@ -41403,10 +41340,6 @@ snapshots: '@types/mime': 1.3.2 '@types/node': 20.14.13 - '@types/serve-index@1.9.1': - dependencies: - '@types/express': 4.17.17 - '@types/serve-index@1.9.4': dependencies: '@types/express': 4.17.21 @@ -41438,10 +41371,6 @@ snapshots: '@types/sizzle@2.3.2': {} - '@types/sockjs@0.3.33': - dependencies: - '@types/node': 20.14.2 - '@types/sockjs@0.3.36': dependencies: '@types/node': 20.14.13 @@ -42553,8 +42482,6 @@ snapshots: array-flatten@1.1.1: {} - array-flatten@2.1.2: {} - array-includes@3.1.6: dependencies: call-bind: 1.0.7 @@ -42804,6 +42731,7 @@ snapshots: slash: 3.0.0 transitivePeerDependencies: - supports-color + optional: true babel-jest@29.7.0(@babel/core@7.24.9): dependencies: @@ -43188,6 +43116,7 @@ snapshots: '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) + optional: true babel-preset-current-node-syntax@1.0.1(@babel/core@7.24.9): dependencies: @@ -43264,6 +43193,7 @@ snapshots: '@babel/core': 7.23.9 babel-plugin-jest-hoist: 29.6.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) + optional: true babel-preset-jest@29.6.3(@babel/core@7.24.9): dependencies: @@ -43376,13 +43306,6 @@ snapshots: fast-safe-stringify: 2.1.1 individual: 3.0.0 - bonjour-service@1.1.1: - dependencies: - array-flatten: 2.1.2 - dns-equal: 1.0.0 - fast-deep-equal: 3.1.3 - multicast-dns: 7.2.5 - bonjour-service@1.2.1: dependencies: fast-deep-equal: 3.1.3 @@ -44192,22 +44115,22 @@ snapshots: copy-webpack-plugin@11.0.0(webpack@5.92.1(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)): dependencies: - fast-glob: 3.2.11 + fast-glob: 3.3.2 glob-parent: 6.0.2 globby: 13.1.2 normalize-path: 3.0.0 - schema-utils: 4.0.0 - serialize-javascript: 6.0.1 + schema-utils: 4.2.0 + serialize-javascript: 6.0.2 webpack: 5.92.1(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0) copy-webpack-plugin@11.0.0(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)): dependencies: - fast-glob: 3.2.11 + fast-glob: 3.3.2 glob-parent: 6.0.2 globby: 13.1.2 normalize-path: 3.0.0 - schema-utils: 4.0.0 - serialize-javascript: 6.0.1 + schema-utils: 4.2.0 + serialize-javascript: 6.0.2 webpack: 5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0) copy-webpack-plugin@11.0.0(webpack@5.92.1(webpack-cli@4.10.0)): @@ -44222,12 +44145,12 @@ snapshots: copy-webpack-plugin@11.0.0(webpack@5.92.1): dependencies: - fast-glob: 3.2.11 + fast-glob: 3.3.2 glob-parent: 6.0.2 globby: 13.1.2 normalize-path: 3.0.0 - schema-utils: 4.0.0 - serialize-javascript: 6.0.1 + schema-utils: 4.2.0 + serialize-javascript: 6.0.2 webpack: 5.92.1 copy-webpack-plugin@12.0.2(webpack@5.92.1(esbuild@0.21.5)): @@ -44375,21 +44298,6 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)): - dependencies: - '@jest/types': 29.6.3 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) - jest-util: 29.7.0 - prompts: 2.4.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - create-jest@29.7.0(@types/node@22.0.2): dependencies: '@jest/types': 29.6.3 @@ -45279,8 +45187,6 @@ snapshots: dependencies: path-type: 4.0.0 - dns-equal@1.0.0: {} - dns-packet@5.6.0: dependencies: '@leichtgewicht/ip-codec': 2.0.4 @@ -47318,18 +47224,6 @@ snapshots: transitivePeerDependencies: - supports-color - http-proxy-middleware@2.0.6(@types/express@4.17.17): - dependencies: - '@types/http-proxy': 1.17.8 - http-proxy: 1.18.1 - is-glob: 4.0.3 - is-plain-obj: 3.0.0 - micromatch: 4.0.5 - optionalDependencies: - '@types/express': 4.17.17 - transitivePeerDependencies: - - debug - http-proxy-middleware@2.0.6(@types/express@4.17.21): dependencies: '@types/http-proxy': 1.17.14 @@ -47597,8 +47491,6 @@ snapshots: ipaddr.js@1.9.1: {} - ipaddr.js@2.0.1: {} - ipaddr.js@2.2.0: {} is-absolute-url@3.0.3: {} @@ -47996,27 +47888,6 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)): - dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) - '@jest/test-result': 29.7.0 - '@jest/types': 29.6.3 - chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) - exit: 0.1.2 - import-local: 3.0.2 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) - jest-util: 29.7.0 - jest-validate: 29.7.0 - yargs: 17.7.2 - optionalDependencies: - node-notifier: 8.0.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - jest-cli@29.7.0(@types/node@22.0.2): dependencies: '@jest/core': 29.7.0 @@ -48212,37 +48083,6 @@ snapshots: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)): - dependencies: - '@babel/core': 7.23.9 - '@jest/test-sequencer': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.23.9) - chalk: 4.1.2 - ci-info: 3.3.2 - deepmerge: 4.2.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.7.0 - jest-environment-node: 29.7.0 - jest-get-type: 29.6.3 - jest-regex-util: 29.6.3 - jest-resolve: 29.7.0 - jest-runner: 29.7.0 - jest-util: 29.7.0 - jest-validate: 29.7.0 - micromatch: 4.0.5 - parse-json: 5.2.0 - pretty-format: 29.7.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - optionalDependencies: - '@types/node': 20.14.2 - ts-node: 10.9.2(@types/node@20.14.2) - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@22.0.2)(typescript@5.5.3)): dependencies: '@babel/core': 7.24.9 @@ -48711,20 +48551,6 @@ snapshots: - supports-color - ts-node - jest@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)): - dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) - '@jest/types': 29.6.3 - import-local: 3.0.2 - jest-cli: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) - optionalDependencies: - node-notifier: 8.0.2 - transitivePeerDependencies: - - '@types/node' - - babel-plugin-macros - - supports-color - - ts-node - jest@29.7.0(@types/node@22.0.2): dependencies: '@jest/core': 29.7.0 @@ -49307,11 +49133,6 @@ snapshots: '@kubernetes-models/validate': 3.0.0 tslib: 2.5.0 - launch-editor@2.6.0: - dependencies: - picocolors: 1.0.0 - shell-quote: 1.8.1 - launch-editor@2.8.0: dependencies: picocolors: 1.0.1 @@ -52622,10 +52443,6 @@ snapshots: - bufferutil - utf-8-validate - selfsigned@2.1.1: - dependencies: - node-forge: 1.3.1 - selfsigned@2.4.1: dependencies: '@types/node-forge': 1.3.11 @@ -54157,24 +53974,6 @@ snapshots: optionalDependencies: '@swc/core': 1.3.92 - ts-node@10.9.2(@types/node@20.14.2): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.3 - '@types/node': 20.14.2 - acorn: 8.10.0 - acorn-walk: 8.2.0 - arg: 4.1.0 - create-require: 1.1.1 - diff: 4.0.1 - make-error: 1.3.6 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - optional: true - ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3): dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -55195,7 +54994,7 @@ snapshots: ws: 8.18.0 optionalDependencies: webpack: 5.92.1(webpack-cli@4.10.0) - webpack-cli: 4.10.0(webpack-bundle-analyzer@4.10.2)(webpack-dev-server@4.15.1)(webpack@5.92.1) + webpack-cli: 4.10.0(webpack-dev-server@4.15.1)(webpack@5.92.1) transitivePeerDependencies: - bufferutil - debug @@ -55204,36 +55003,36 @@ snapshots: webpack-dev-server@4.15.1(webpack@5.92.1): dependencies: - '@types/bonjour': 3.5.10 - '@types/connect-history-api-fallback': 1.3.5 - '@types/express': 4.17.17 - '@types/serve-index': 1.9.1 - '@types/serve-static': 1.13.10 - '@types/sockjs': 0.3.33 - '@types/ws': 8.5.5 + '@types/bonjour': 3.5.13 + '@types/connect-history-api-fallback': 1.5.4 + '@types/express': 4.17.21 + '@types/serve-index': 1.9.4 + '@types/serve-static': 1.15.7 + '@types/sockjs': 0.3.36 + '@types/ws': 8.5.12 ansi-html-community: 0.0.8 - bonjour-service: 1.1.1 - chokidar: 3.5.3 - colorette: 2.0.16 + bonjour-service: 1.2.1 + chokidar: 3.6.0 + colorette: 2.0.20 compression: 1.7.4 connect-history-api-fallback: 2.0.0 default-gateway: 6.0.3 express: 4.19.2 graceful-fs: 4.2.11 - html-entities: 2.3.2 - http-proxy-middleware: 2.0.6(@types/express@4.17.17) - ipaddr.js: 2.0.1 - launch-editor: 2.6.0 + html-entities: 2.5.2 + http-proxy-middleware: 2.0.6(@types/express@4.17.21) + ipaddr.js: 2.2.0 + launch-editor: 2.8.0 open: 8.4.0 p-retry: 4.6.1 rimraf: 3.0.2 - schema-utils: 4.0.0 - selfsigned: 2.1.1 + schema-utils: 4.2.0 + selfsigned: 2.4.1 serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 webpack-dev-middleware: 5.3.3(webpack@5.92.1) - ws: 8.13.0 + ws: 8.18.0 optionalDependencies: webpack: 5.92.1 transitivePeerDependencies: @@ -55599,7 +55398,7 @@ snapshots: watchpack: 2.4.1 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.92.1) + webpack-cli: 4.10.0(webpack-dev-server@4.15.1)(webpack@5.92.1) transitivePeerDependencies: - '@swc/core' - esbuild diff --git a/repo/graph.dot b/repo/graph.dot index efd2bb30d14..39d42416a31 100644 --- a/repo/graph.dot +++ b/repo/graph.dot @@ -88,6 +88,7 @@ digraph G { "@kie-tools/i18n-common-dictionary" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dashbuilder-viewer-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dashbuilder-viewer-image-env" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; + "@kie-tools/data-index-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dev-deployment-base-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dev-deployment-upload-service" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dev-deployment-dmn-form-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; @@ -313,6 +314,7 @@ digraph G { "@kie-tools/dashbuilder-viewer-image" -> "@kie-tools/dashbuilder-viewer-deployment-webapp" [ style = "dashed", color = "black" ]; "@kie-tools/dashbuilder-viewer-image" -> "@kie-tools/dashbuilder-viewer-image-env" [ style = "dashed", color = "black" ]; "@kie-tools/dashbuilder-viewer-image-env" -> "@kie-tools/root-env" [ style = "dashed", color = "black" ]; + "@kie-tools/data-index-webapp" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "black" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/maven-base" [ style = "solid", color = "black" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/dev-deployment-upload-service" [ style = "dashed", color = "black" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/image-builder" [ style = "dashed", color = "black" ]; diff --git a/repo/graph.json b/repo/graph.json index e4b48b3d7e2..675e757c5de 100644 --- a/repo/graph.json +++ b/repo/graph.json @@ -110,6 +110,7 @@ { "id": "@kie-tools/kie-sandbox-fs" }, { "id": "@kie-tools/dashbuilder-viewer-image" }, { "id": "@kie-tools/dashbuilder-viewer-image-env" }, + { "id": "@kie-tools/data-index-webapp" }, { "id": "@kie-tools/dev-deployment-base-image" }, { "id": "@kie-tools/dev-deployment-upload-service" }, { "id": "@kie-tools/dev-deployment-dmn-form-webapp" }, @@ -1367,6 +1368,11 @@ "target": "@kie-tools/root-env", "weight": 1 }, + { + "source": "@kie-tools/data-index-webapp", + "target": "@kie-tools-core/webpack-base", + "weight": 1 + }, { "source": "@kie-tools/dev-deployment-base-image", "target": "@kie-tools/maven-base", @@ -2435,6 +2441,7 @@ ["@kie-tools/dashbuilder-viewer-deployment-webapp", "packages/dashbuilder-viewer-deployment-webapp"], ["@kie-tools/dashbuilder-viewer-image", "packages/dashbuilder-viewer-image"], ["@kie-tools/dashbuilder-viewer-image-env", "packages/dashbuilder-viewer-image-env"], + ["@kie-tools/data-index-webapp", "packages/data-index-webapp"], ["@kie-tools/dev-deployment-base-image", "packages/dev-deployment-base-image"], ["@kie-tools/dev-deployment-dmn-form-webapp", "packages/dev-deployment-dmn-form-webapp"], ["@kie-tools/dev-deployment-dmn-form-webapp-image", "packages/dev-deployment-dmn-form-webapp-image"], From 06bf5d96594d54068c010548c7c43666ba4130ba Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Tue, 3 Sep 2024 16:23:35 +0530 Subject: [PATCH 2/8] Resolved suggested changes --- packages/data-index-webapp/env/index.js | 33 ++++++++++++++++++++ packages/data-index-webapp/package.json | 10 +++--- packages/data-index-webapp/src/index.html | 3 +- packages/data-index-webapp/src/styles.css | 14 ++++----- packages/data-index-webapp/webpack.config.js | 15 ++++++--- pnpm-lock.yaml | 6 ++-- repo/graph.dot | 4 +-- 7 files changed, 62 insertions(+), 23 deletions(-) create mode 100644 packages/data-index-webapp/env/index.js diff --git a/packages/data-index-webapp/env/index.js b/packages/data-index-webapp/env/index.js new file mode 100644 index 00000000000..412e818725f --- /dev/null +++ b/packages/data-index-webapp/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, getOrDefault, composeEnv } = require("@kie-tools-scripts/build-env"); + +module.exports = composeEnv([require("@kie-tools/root-env/env")], { + vars: varsWithName({}), + get env() { + return { + dataIndexWebapp: { + dev: { + port: 9024, + }, + }, + }; + }, +}); diff --git a/packages/data-index-webapp/package.json b/packages/data-index-webapp/package.json index fcf92735dfb..4f28df0936e 100644 --- a/packages/data-index-webapp/package.json +++ b/packages/data-index-webapp/package.json @@ -1,9 +1,9 @@ { - "private": true, "name": "@kie-tools/data-index-webapp", - "version": "1.0.0", + "version": "0.0.0", "description": "", "license": "Apache-2.0", + "keywords": [], "homepage": "https://github.com/apache/incubator-kie-tools", "repository": { "type": "git", @@ -15,16 +15,16 @@ "types": "./dist/index.d.ts", "main": "dist/index.js", "scripts": { - "build:dev": "rimraf dist && webpack --config webpack.config.ts dev", - "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack && pnpm test-e2e", + "build:dev": "rimraf dist && webpack --env dev", + "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack", "lint": "echo 'Linting'", "start": "webpack serve --host 0.0.0.0 --env dev" }, "devDependencies": { "@kie-tools-core/webpack-base": "workspace:*", + "@kie-tools/root-env": "workspace:*", "copy-webpack-plugin": "^11.0.0", "rimraf": "^3.0.2", - "stream-http": "^3.2.0", "terser-webpack-plugin": "^5.3.9", "ts-node": "^10.9.2", "webpack": "^5.92.1", diff --git a/packages/data-index-webapp/src/index.html b/packages/data-index-webapp/src/index.html index e73ec540234..1456f070217 100644 --- a/packages/data-index-webapp/src/index.html +++ b/packages/data-index-webapp/src/index.html @@ -24,6 +24,7 @@ Data Index Webapp +
@@ -41,7 +42,7 @@

Your Data Index service is up and working!

modify that data.

- GraphQL docs + GraphQL docs
diff --git a/packages/data-index-webapp/src/styles.css b/packages/data-index-webapp/src/styles.css index bd46c423535..543608f02a9 100644 --- a/packages/data-index-webapp/src/styles.css +++ b/packages/data-index-webapp/src/styles.css @@ -1,11 +1,11 @@ /* Default light mode */ -.body { +/* .body { margin: 0px; padding: 0px; -} +} */ .maindiv { - font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-family: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif; background-color: #fff; color: #fff; display: flex; @@ -86,19 +86,19 @@ p { } h1 { - font-size: 48px; + /* font-size: 48px; */ color: #e44c3b; padding-left: 15px; } h4 { - font-size: 30px; + /* font-size: 30px; */ color: #fefefe; margin-top: 10px; } p { - font-size: 16px; + /* font-size: 16px; */ color: #fefefe; margin-top: 5px; margin-bottom: 40px; @@ -110,7 +110,7 @@ p { color: #fff; text-decoration: none; border-radius: 5px; - font-size: 16px; + /* font-size: 16px; */ transition: background-color 0.3s; } diff --git a/packages/data-index-webapp/webpack.config.js b/packages/data-index-webapp/webpack.config.js index 155b9edeaa7..3ffb17562e0 100644 --- a/packages/data-index-webapp/webpack.config.js +++ b/packages/data-index-webapp/webpack.config.js @@ -17,13 +17,14 @@ * under the License. */ -const path = require("path"); const CopyPlugin = require("copy-webpack-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const { merge } = require("webpack-merge"); const common = require("@kie-tools-core/webpack-base/webpack.common.config"); +const { env } = require("./env"); +const buildEnv = env; -module.exports = async (env = {}) => +module.exports = async (env) => merge(common(env), { entry: {}, optimization: { @@ -49,9 +50,13 @@ module.exports = async (env = {}) => ], module: {}, resolve: { - fallback: { - http: require.resolve("stream-http"), - }, + fallback: {}, }, ignoreWarnings: [/Failed to parse source map/], + devServer: { + static: { + directory: "./dist", + }, + port: buildEnv.dataIndexWebapp.dev.port, + }, }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c47503fc978..bfc611e3854 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2942,15 +2942,15 @@ importers: '@kie-tools-core/webpack-base': specifier: workspace:* version: link:../webpack-base + '@kie-tools/root-env': + specifier: workspace:* + version: link:../root-env copy-webpack-plugin: specifier: ^11.0.0 version: 11.0.0(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) rimraf: specifier: ^3.0.2 version: 3.0.2 - stream-http: - specifier: ^3.2.0 - version: 3.2.0 terser-webpack-plugin: specifier: ^5.3.9 version: 5.3.10(@swc/core@1.3.92)(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) diff --git a/repo/graph.dot b/repo/graph.dot index 39d42416a31..f1737570cc7 100644 --- a/repo/graph.dot +++ b/repo/graph.dot @@ -88,7 +88,7 @@ digraph G { "@kie-tools/i18n-common-dictionary" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dashbuilder-viewer-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dashbuilder-viewer-image-env" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; - "@kie-tools/data-index-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; + "@kie-tools/data-index-webapp" [ color = "blue", fontcolor = "blue", style = "rounded" ]; "@kie-tools/dev-deployment-base-image" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dev-deployment-upload-service" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; "@kie-tools/dev-deployment-dmn-form-webapp" [ color = "black", fontcolor = "black", style = "dashed, rounded" ]; @@ -314,7 +314,7 @@ digraph G { "@kie-tools/dashbuilder-viewer-image" -> "@kie-tools/dashbuilder-viewer-deployment-webapp" [ style = "dashed", color = "black" ]; "@kie-tools/dashbuilder-viewer-image" -> "@kie-tools/dashbuilder-viewer-image-env" [ style = "dashed", color = "black" ]; "@kie-tools/dashbuilder-viewer-image-env" -> "@kie-tools/root-env" [ style = "dashed", color = "black" ]; - "@kie-tools/data-index-webapp" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "black" ]; + "@kie-tools/data-index-webapp" -> "@kie-tools-core/webpack-base" [ style = "dashed", color = "blue" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/maven-base" [ style = "solid", color = "black" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/dev-deployment-upload-service" [ style = "dashed", color = "black" ]; "@kie-tools/dev-deployment-base-image" -> "@kie-tools/image-builder" [ style = "dashed", color = "black" ]; From 9cb7cfa2c86e0f49968f2983fe44dd8616c6df9c Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 4 Sep 2024 11:49:45 +0530 Subject: [PATCH 3/8] Resolved suggested changes in styles.css and package.json --- packages/data-index-webapp/env/index.js | 2 +- packages/data-index-webapp/package.json | 5 ++-- packages/data-index-webapp/src/styles.css | 31 -------------------- packages/data-index-webapp/webpack.config.js | 17 ----------- 4 files changed, 4 insertions(+), 51 deletions(-) diff --git a/packages/data-index-webapp/env/index.js b/packages/data-index-webapp/env/index.js index 412e818725f..596e50c9cdd 100644 --- a/packages/data-index-webapp/env/index.js +++ b/packages/data-index-webapp/env/index.js @@ -25,7 +25,7 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { return { dataIndexWebapp: { dev: { - port: 9024, + port: 9025, }, }, }; diff --git a/packages/data-index-webapp/package.json b/packages/data-index-webapp/package.json index 4f28df0936e..9bfba39fb36 100644 --- a/packages/data-index-webapp/package.json +++ b/packages/data-index-webapp/package.json @@ -18,14 +18,15 @@ "build:dev": "rimraf dist && webpack --env dev", "build:prod": "pnpm lint && pnpm test && rimraf dist && webpack", "lint": "echo 'Linting'", - "start": "webpack serve --host 0.0.0.0 --env dev" + "start": "webpack serve --host 0.0.0.0 --env dev", + "test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose --passWithNoTests\"" }, "devDependencies": { "@kie-tools-core/webpack-base": "workspace:*", "@kie-tools/root-env": "workspace:*", "copy-webpack-plugin": "^11.0.0", + "jest": "^29.7.0", "rimraf": "^3.0.2", - "terser-webpack-plugin": "^5.3.9", "ts-node": "^10.9.2", "webpack": "^5.92.1", "webpack-cli": "^4.10.0", diff --git a/packages/data-index-webapp/src/styles.css b/packages/data-index-webapp/src/styles.css index 543608f02a9..1d7eb8158a6 100644 --- a/packages/data-index-webapp/src/styles.css +++ b/packages/data-index-webapp/src/styles.css @@ -1,9 +1,3 @@ -/* Default light mode */ -/* .body { - margin: 0px; - padding: 0px; -} */ - .maindiv { font-family: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif; background-color: #fff; @@ -58,60 +52,35 @@ p { background-color: #c73828; } -/* Dark mode */ @media (prefers-color-scheme: dark) { body { margin: 0px; padding: 0px; } .maindiv { - font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background-color: #232121; color: #fff; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; } .container { - text-align: center; background-color: #232121; - max-width: 700px; - } - - .logo img { - width: 80px; - height: auto; } h1 { - /* font-size: 48px; */ color: #e44c3b; - padding-left: 15px; } h4 { - /* font-size: 30px; */ color: #fefefe; - margin-top: 10px; } p { - /* font-size: 16px; */ color: #fefefe; - margin-top: 5px; - margin-bottom: 40px; } .btn { - padding: 10px 20px; background-color: #e44c3b; color: #fff; - text-decoration: none; - border-radius: 5px; - /* font-size: 16px; */ - transition: background-color 0.3s; } .btn:hover { diff --git a/packages/data-index-webapp/webpack.config.js b/packages/data-index-webapp/webpack.config.js index 3ffb17562e0..ef01f3ecc63 100644 --- a/packages/data-index-webapp/webpack.config.js +++ b/packages/data-index-webapp/webpack.config.js @@ -18,7 +18,6 @@ */ const CopyPlugin = require("copy-webpack-plugin"); -const TerserPlugin = require("terser-webpack-plugin"); const { merge } = require("webpack-merge"); const common = require("@kie-tools-core/webpack-base/webpack.common.config"); const { env } = require("./env"); @@ -27,18 +26,6 @@ const buildEnv = env; module.exports = async (env) => merge(common(env), { entry: {}, - optimization: { - minimizer: [ - new TerserPlugin({ - terserOptions: { - format: { - comments: false, - }, - }, - extractComments: false, - }), - ], - }, plugins: [ new CopyPlugin({ patterns: [ @@ -48,10 +35,6 @@ module.exports = async (env) => ], }), ], - module: {}, - resolve: { - fallback: {}, - }, ignoreWarnings: [/Failed to parse source map/], devServer: { static: { From 9545999d8f3ceda638ee720c59b13265e46cb4ad Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 4 Sep 2024 15:04:25 +0530 Subject: [PATCH 4/8] cleaning styles.css --- packages/data-index-webapp/env/index.js | 2 +- packages/data-index-webapp/src/styles.css | 20 +++++++------------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/packages/data-index-webapp/env/index.js b/packages/data-index-webapp/env/index.js index 596e50c9cdd..45859a2171b 100644 --- a/packages/data-index-webapp/env/index.js +++ b/packages/data-index-webapp/env/index.js @@ -25,7 +25,7 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { return { dataIndexWebapp: { dev: { - port: 9025, + port: 9026, }, }, }; diff --git a/packages/data-index-webapp/src/styles.css b/packages/data-index-webapp/src/styles.css index 1d7eb8158a6..b7a4ec5cea6 100644 --- a/packages/data-index-webapp/src/styles.css +++ b/packages/data-index-webapp/src/styles.css @@ -1,3 +1,8 @@ +body { + margin: 0px; + padding: 0px; +} + .maindiv { font-family: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif; background-color: #fff; @@ -53,15 +58,7 @@ p { } @media (prefers-color-scheme: dark) { - body { - margin: 0px; - padding: 0px; - } - .maindiv { - background-color: #232121; - color: #fff; - } - + .maindiv, .container { background-color: #232121; } @@ -70,10 +67,7 @@ p { color: #e44c3b; } - h4 { - color: #fefefe; - } - + h4, p { color: #fefefe; } From c5de870d3c85ce291d6a778a38eadf027c89b897 Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 4 Sep 2024 15:09:10 +0530 Subject: [PATCH 5/8] pmplp file --- pnpm-lock.yaml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bfc611e3854..679b6573016 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2948,12 +2948,12 @@ importers: copy-webpack-plugin: specifier: ^11.0.0 version: 11.0.0(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) + jest: + specifier: ^29.7.0 + version: 29.7.0(@types/node@22.0.2)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.0.2)(typescript@5.5.3)) rimraf: specifier: ^3.0.2 version: 3.0.2 - terser-webpack-plugin: - specifier: ^5.3.9 - version: 5.3.10(@swc/core@1.3.92)(webpack@5.92.1(@swc/core@1.3.92)(webpack-cli@4.10.0)) ts-node: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.3.92)(@types/node@22.0.2)(typescript@5.5.3) @@ -36271,7 +36271,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -36500,7 +36500,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -36518,7 +36518,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.14.2 + '@types/node': 20.14.13 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -36540,7 +36540,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -36569,7 +36569,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -36620,7 +36620,7 @@ snapshots: dependencies: '@babel/core': 7.24.9 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.18 + '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -36641,7 +36641,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.1 '@types/istanbul-reports': 3.0.0 - '@types/node': 20.14.2 + '@types/node': 20.14.13 '@types/yargs': 17.0.24 chalk: 4.1.2 @@ -40774,8 +40774,8 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.25.3 + '@babel/types': 7.25.2 '@types/babel__generator': 7.6.1 '@types/babel__template': 7.0.2 '@types/babel__traverse': 7.20.5 @@ -47778,7 +47778,7 @@ snapshots: istanbul-lib-instrument@6.0.2: dependencies: '@babel/core': 7.24.9 - '@babel/parser': 7.23.9 + '@babel/parser': 7.25.3 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 7.6.2 @@ -48325,7 +48325,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.11 @@ -48335,7 +48335,7 @@ snapshots: micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 jest-junit@16.0.0: dependencies: @@ -48371,7 +48371,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 jest-util: 29.7.0 jest-pnp-resolver@1.2.2(jest-resolve@29.7.0): @@ -48406,7 +48406,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -48434,7 +48434,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.1 @@ -48480,7 +48480,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 chalk: 4.1.2 ci-info: 3.3.2 graceful-fs: 4.2.11 @@ -48499,7 +48499,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.2 + '@types/node': 20.14.13 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 From c913fea3221e81709af14b7b75c1f7c502196d5d Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 4 Sep 2024 15:27:11 +0530 Subject: [PATCH 6/8] cleaning css file --- packages/data-index-webapp/src/styles.css | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/data-index-webapp/src/styles.css b/packages/data-index-webapp/src/styles.css index b7a4ec5cea6..618ac178a41 100644 --- a/packages/data-index-webapp/src/styles.css +++ b/packages/data-index-webapp/src/styles.css @@ -63,21 +63,8 @@ p { background-color: #232121; } - h1 { - color: #e44c3b; - } - h4, p { color: #fefefe; } - - .btn { - background-color: #e44c3b; - color: #fff; - } - - .btn:hover { - background-color: #c73828; - } } From b07d6238a5d0fbc6ad14d36aaa320f105eab9bdd Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 11 Sep 2024 10:59:43 +0530 Subject: [PATCH 7/8] resolved pmpl and webpack version update --- packages/data-index-webapp/package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/data-index-webapp/package.json b/packages/data-index-webapp/package.json index 9bfba39fb36..1627e52a3d1 100644 --- a/packages/data-index-webapp/package.json +++ b/packages/data-index-webapp/package.json @@ -28,7 +28,7 @@ "jest": "^29.7.0", "rimraf": "^3.0.2", "ts-node": "^10.9.2", - "webpack": "^5.92.1", + "webpack": "^5.94.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.15.1", "webpack-merge": "^5.9.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b034151771..2eb69ff56eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2958,7 +2958,7 @@ importers: specifier: ^10.9.2 version: 10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3) webpack: - specifier: ^5.92.1 + specifier: ^5.94.0 version: 5.94.0(@swc/core@1.3.92)(webpack-cli@4.10.0) webpack-cli: specifier: ^4.10.0 From 08fe73b8cd7df3dac2f28e6df7597ab4dbd478a3 Mon Sep 17 00:00:00 2001 From: kumaradityaraj Date: Wed, 11 Sep 2024 13:54:33 +0530 Subject: [PATCH 8/8] Resolving pmpl --- pnpm-lock.yaml | 215 ++++++++++++++++++++++++++----------------------- 1 file changed, 112 insertions(+), 103 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2eb69ff56eb..c0ec9299db5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13248,7 +13248,7 @@ importers: version: 7.16.11(@babel/core@7.16.12) jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.13)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)) + version: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) jest-junit: specifier: ^16.0.0 version: 16.0.0 @@ -22585,6 +22585,10 @@ packages: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + engines: {node: '>=6'} + escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -30783,7 +30787,7 @@ snapshots: '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 - picocolors: 1.1.0 + picocolors: 1.0.0 '@babel/compat-data@7.17.7': {} @@ -30897,7 +30901,7 @@ snapshots: '@babel/core@7.24.9': dependencies: - '@ampproject/remapping': 2.3.0 + '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.24.7 '@babel/generator': 7.25.0 '@babel/helper-compilation-targets': 7.25.2 @@ -30908,7 +30912,7 @@ snapshots: '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 convert-source-map: 2.0.0 - debug: 4.3.6 + debug: 4.3.5 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -36772,7 +36776,7 @@ snapshots: '@babel/parser': 7.25.3 '@babel/template': 7.25.0 '@babel/types': 7.25.2 - debug: 4.3.6 + debug: 4.3.5 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -37735,7 +37739,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -37814,21 +37818,21 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13))': + '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0(node-notifier@8.0.2) '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 ansi-escapes: 4.3.2 chalk: 4.1.2 - ci-info: 3.9.0 + ci-info: 3.3.2 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -37840,7 +37844,7 @@ snapshots: jest-util: 29.7.0 jest-validate: 29.7.0 jest-watcher: 29.7.0 - micromatch: 4.0.8 + micromatch: 4.0.5 pretty-format: 29.7.0 slash: 3.0.0 strip-ansi: 6.0.1 @@ -37851,7 +37855,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3))': + '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0(node-notifier@8.0.2) @@ -37865,7 +37869,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -38001,7 +38005,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -38019,7 +38023,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.14.13 + '@types/node': 20.14.2 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -38040,8 +38044,8 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.13 + '@jridgewell/trace-mapping': 0.3.18 + '@types/node': 20.14.2 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -38069,8 +38073,8 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.14.13 + '@jridgewell/trace-mapping': 0.3.18 + '@types/node': 20.14.2 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -38099,7 +38103,7 @@ snapshots: '@jest/source-map@29.6.3': dependencies: - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/trace-mapping': 0.3.18 callsites: 3.1.0 graceful-fs: 4.2.11 @@ -38140,7 +38144,7 @@ snapshots: '@jest/transform@29.7.0': dependencies: - '@babel/core': 7.24.9 + '@babel/core': 7.23.9 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 @@ -38151,7 +38155,7 @@ snapshots: jest-haste-map: 29.7.0 jest-regex-util: 29.6.3 jest-util: 29.7.0 - micromatch: 4.0.8 + micromatch: 4.0.5 pirates: 4.0.6 slash: 3.0.0 write-file-atomic: 4.0.2 @@ -38170,7 +38174,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.1 '@types/istanbul-reports': 3.0.0 - '@types/node': 20.14.13 + '@types/node': 20.14.2 '@types/yargs': 17.0.24 chalk: 4.1.2 @@ -38202,7 +38206,7 @@ snapshots: '@jridgewell/source-map@0.3.3': dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/trace-mapping': 0.3.18 '@jridgewell/source-map@0.3.6': dependencies: @@ -42318,15 +42322,15 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 '@types/babel__generator': 7.6.1 '@types/babel__template': 7.0.2 '@types/babel__traverse': 7.20.5 '@types/babel__generator@7.6.1': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.23.9 '@types/babel__standalone@7.1.7': dependencies: @@ -42334,12 +42338,12 @@ snapshots: '@types/babel__template@7.0.2': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 '@types/babel__traverse@7.20.5': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.23.9 '@types/body-parser@1.19.2': dependencies: @@ -42635,7 +42639,7 @@ snapshots: '@types/graceful-fs@4.1.3': dependencies: - '@types/node': 20.14.13 + '@types/node': 20.14.2 '@types/har-format@1.2.5': {} @@ -43715,7 +43719,7 @@ snapshots: acorn-globals@7.0.1: dependencies: - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk: 8.2.0 acorn-import-attributes@1.9.5(acorn@8.10.0): @@ -43730,9 +43734,9 @@ snapshots: dependencies: acorn: 7.4.1 - acorn-jsx@5.3.2(acorn@8.12.1): + acorn-jsx@5.3.2(acorn@8.10.0): dependencies: - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk@7.2.0: {} @@ -44461,6 +44465,7 @@ snapshots: slash: 3.0.0 transitivePeerDependencies: - supports-color + optional: true babel-loader@9.1.3(@babel/core@7.23.9)(webpack@5.94.0(@swc/core@1.3.92)(esbuild@0.18.20)(webpack-cli@4.10.0)): dependencies: @@ -44532,7 +44537,7 @@ snapshots: babel-plugin-istanbul@6.1.1: dependencies: - '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-plugin-utils': 7.22.5 '@istanbuljs/load-nyc-config': 1.0.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.1.0 @@ -44901,6 +44906,7 @@ snapshots: '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.9) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.9) + optional: true babel-preset-fbjs@3.4.0(@babel/core@7.23.9): dependencies: @@ -44979,6 +44985,7 @@ snapshots: '@babel/core': 7.24.9 babel-plugin-jest-hoist: 29.6.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.9) + optional: true balanced-match@0.4.2: {} @@ -46156,13 +46163,13 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)): + create-jest@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -46171,13 +46178,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)): + create-jest@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -47813,6 +47820,8 @@ snapshots: escalade@3.1.1: {} + escalade@3.1.2: {} + escalade@3.2.0: {} escape-html@1.0.3: {} @@ -47963,8 +47972,8 @@ snapshots: espree@9.6.1: dependencies: - acorn: 8.12.1 - acorn-jsx: 5.3.2(acorn@8.12.1) + acorn: 8.10.0 + acorn-jsx: 5.3.2(acorn@8.10.0) eslint-visitor-keys: 3.4.3 esprima@4.0.1: {} @@ -49999,8 +50008,8 @@ snapshots: istanbul-lib-instrument@5.1.0: dependencies: - '@babel/core': 7.24.9 - '@babel/parser': 7.25.3 + '@babel/core': 7.23.9 + '@babel/parser': 7.23.9 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.1 @@ -50009,11 +50018,11 @@ snapshots: istanbul-lib-instrument@6.0.2: dependencies: - '@babel/core': 7.24.9 - '@babel/parser': 7.25.3 + '@babel/core': 7.24.7 + '@babel/parser': 7.23.9 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 - semver: 7.6.3 + semver: 7.6.2 transitivePeerDependencies: - supports-color @@ -50025,7 +50034,7 @@ snapshots: istanbul-lib-source-maps@4.0.0: dependencies: - debug: 4.3.6 + debug: 4.3.5 istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -50079,7 +50088,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -50099,16 +50108,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.14.13)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)): + jest-cli@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/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)) + create-jest: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) exit: 0.1.2 import-local: 3.0.2 - jest-config: 29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -50120,16 +50129,16 @@ snapshots: - supports-color - ts-node - jest-cli@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-cli@29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)): dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + create-jest: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) exit: 0.1.2 import-local: 3.0.2 - jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + jest-config: 29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -50243,14 +50252,14 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.14.13)(ts-node@10.9.2(@types/node@20.14.13)): + jest-config@29.7.0(@types/node@20.14.2): dependencies: - '@babel/core': 7.24.9 + '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.24.9) + babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 - ci-info: 3.9.0 + ci-info: 3.3.2 deepmerge: 4.2.2 glob: 7.2.3 graceful-fs: 4.2.11 @@ -50262,19 +50271,19 @@ snapshots: jest-runner: 29.7.0 jest-util: 29.7.0 jest-validate: 29.7.0 - micromatch: 4.0.8 + micromatch: 4.0.5 parse-json: 5.2.0 pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.14.13 - ts-node: 10.9.2(@types/node@20.14.13) + '@types/node': 20.14.2 transitivePeerDependencies: - babel-plugin-macros - supports-color + optional: true - jest-config@29.7.0(@types/node@20.14.2): + jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3)): dependencies: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 @@ -50300,12 +50309,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.2 + ts-node: 10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3) transitivePeerDependencies: - babel-plugin-macros - supports-color - optional: true - jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3)): + jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)): dependencies: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 @@ -50331,12 +50340,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.2 - ts-node: 10.9.2(@swc/core@1.3.92)(@types/node@22.5.2)(typescript@5.5.3) + ts-node: 10.9.2(@types/node@20.14.2)(typescript@5.5.3) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)): + jest-config@29.7.0(@types/node@20.14.2)(ts-node@10.9.2(@types/node@20.14.2)): dependencies: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 @@ -50362,7 +50371,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 20.14.2 - ts-node: 10.9.2(@types/node@20.14.2)(typescript@5.5.3) + ts-node: 10.9.2(@types/node@20.14.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -50592,7 +50601,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -50628,17 +50637,17 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.11 jest-regex-util: 29.6.3 jest-util: 29.7.0 jest-worker: 29.7.0 - micromatch: 4.0.8 + micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 jest-junit@16.0.0: dependencies: @@ -50661,12 +50670,12 @@ snapshots: jest-message-util@29.7.0: dependencies: - '@babel/code-frame': 7.24.7 + '@babel/code-frame': 7.23.5 '@jest/types': 29.6.3 '@types/stack-utils': 2.0.0 chalk: 4.1.2 graceful-fs: 4.2.11 - micromatch: 4.0.8 + micromatch: 4.0.5 pretty-format: 29.7.0 slash: 3.0.0 stack-utils: 2.0.4 @@ -50674,7 +50683,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 jest-util: 29.7.0 jest-pnp-resolver@1.2.2(jest-resolve@29.7.0): @@ -50711,7 +50720,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -50739,7 +50748,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.1 @@ -50763,15 +50772,15 @@ snapshots: jest-snapshot@29.7.0: dependencies: - '@babel/core': 7.24.9 - '@babel/generator': 7.25.0 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.24.9) - '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.24.9) - '@babel/types': 7.25.2 + '@babel/core': 7.23.9 + '@babel/generator': 7.23.6 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.9) + '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.9) + '@babel/types': 7.23.9 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.9) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) chalk: 4.1.2 expect: 29.7.0 graceful-fs: 4.2.11 @@ -50782,7 +50791,7 @@ snapshots: jest-util: 29.7.0 natural-compare: 1.4.0 pretty-format: 29.7.0 - semver: 7.6.3 + semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -50797,9 +50806,9 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 chalk: 4.1.2 - ci-info: 3.9.0 + ci-info: 3.3.2 graceful-fs: 4.2.11 picomatch: 2.3.1 @@ -50816,7 +50825,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -50860,17 +50869,17 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 20.14.13 + '@types/node': 20.14.2 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.14.13)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)): + 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/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) '@jest/types': 29.6.3 import-local: 3.0.2 - jest-cli: 29.7.0(@types/node@20.14.13)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.13)) + jest-cli: 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)) optionalDependencies: node-notifier: 8.0.2 transitivePeerDependencies: @@ -50879,12 +50888,12 @@ snapshots: - supports-color - ts-node - 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(@types/node@20.14.2)): dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.5.3)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) '@jest/types': 29.6.3 import-local: 3.0.2 - jest-cli: 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-cli: 29.7.0(@types/node@20.14.2)(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@20.14.2)) optionalDependencies: node-notifier: 8.0.2 transitivePeerDependencies: @@ -56664,7 +56673,7 @@ snapshots: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 '@types/node': 22.5.2 - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.0 create-require: 1.1.1 @@ -56676,14 +56685,14 @@ snapshots: optionalDependencies: '@swc/core': 1.3.92 - ts-node@10.9.2(@types/node@20.14.13): + ts-node@10.9.2(@types/node@20.14.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 20.14.13 + '@types/node': 20.14.2 acorn: 8.12.1 acorn-walk: 8.2.0 arg: 4.1.0 @@ -56702,7 +56711,7 @@ snapshots: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 '@types/node': 20.14.2 - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.0 create-require: 1.1.1 @@ -56721,7 +56730,7 @@ snapshots: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 '@types/node': 22.5.2 - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.0 create-require: 1.1.1 @@ -56739,7 +56748,7 @@ snapshots: '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 '@types/node': 22.5.2 - acorn: 8.12.1 + acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.0 create-require: 1.1.1 @@ -57223,7 +57232,7 @@ snapshots: v8-to-istanbul@9.1.3: dependencies: - '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/trace-mapping': 0.3.18 '@types/istanbul-lib-coverage': 2.0.1 convert-source-map: 2.0.0 @@ -58474,7 +58483,7 @@ snapshots: yargs@17.7.2: dependencies: cliui: 8.0.1 - escalade: 3.2.0 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3