From 69a29dcf22fe929e96b9682503f3019b64563b40 Mon Sep 17 00:00:00 2001 From: Wowa Date: Wed, 6 Nov 2024 17:32:49 +0100 Subject: [PATCH] chore(utils): change deps from utils to mock-server --- apps/doop/package.json | 1 + apps/doop/src/App.jsx | 2 +- apps/doop/src/components/AppContent.jsx | 2 +- apps/doop/turbo.json | 3 + apps/example/package.json | 1 + apps/example/src/App.jsx | 2 +- apps/example/turbo.json | 9 +- apps/greenhouse/package.json | 2 + .../org-admin/components/teams/AppContent.jsx | 2 +- apps/greenhouse/turbo.json | 16 +- apps/supernova/package.json | 1 + apps/supernova/turbo.json | 3 + package-lock.json | 299 +++++++++++++++++- 13 files changed, 319 insertions(+), 24 deletions(-) diff --git a/apps/doop/package.json b/apps/doop/package.json index c445ce167..819be0d4e 100644 --- a/apps/doop/package.json +++ b/apps/doop/package.json @@ -50,6 +50,7 @@ "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider-v1": "^1.3.2", "@cloudoperators/juno-utils": "*", + "@cloudoperators/juno-mock-server": "*", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/apps/doop/src/App.jsx b/apps/doop/src/App.jsx index cae59a50a..ae084af83 100644 --- a/apps/doop/src/App.jsx +++ b/apps/doop/src/App.jsx @@ -13,7 +13,7 @@ import StoreProvider from "./components/StoreProvider" import AsyncWorker from "./components/AsyncWorker" import { AppShell } from "@cloudoperators/juno-ui-components" import { QueryClientProvider, QueryClient } from "@tanstack/react-query" -import { fetchProxyInitDB } from "@cloudoperators/juno-utils" +import { fetchProxyInitDB } from "@cloudoperators/juno-mock-server" import db from "./db.json" import { useGlobalsActions } from "./components/StoreProvider" diff --git a/apps/doop/src/components/AppContent.jsx b/apps/doop/src/components/AppContent.jsx index 9ffbecf98..a7f51a391 100644 --- a/apps/doop/src/components/AppContent.jsx +++ b/apps/doop/src/components/AppContent.jsx @@ -16,7 +16,7 @@ import { fetchData } from "../lib/apiClient" import { parseError } from "../lib/helpers" import Highlighter from "./Highlighter" import Violations from "./violations/violations" -import { fetchProxy } from "@cloudoperators/juno-utils" +import { fetchProxy } from "@cloudoperators/juno-mock-server" import { useGlobalsMock, useGlobalsEndpoint } from "./StoreProvider" const AppContent = ({ showDebugSeverities }) => { diff --git a/apps/doop/turbo.json b/apps/doop/turbo.json index 26f1bd3d4..4f63632ae 100644 --- a/apps/doop/turbo.json +++ b/apps/doop/turbo.json @@ -6,6 +6,7 @@ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-communicator#build" ] }, @@ -13,6 +14,7 @@ "dependsOn": [ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-communicator#build" ] @@ -21,6 +23,7 @@ "dependsOn": [ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-communicator#build" ] diff --git a/apps/example/package.json b/apps/example/package.json index 00d421875..cd5bf4dbf 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -36,6 +36,7 @@ "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider": "*", "@cloudoperators/juno-utils": "*", + "@cloudoperators/juno-mock-server": "*", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/apps/example/src/App.jsx b/apps/example/src/App.jsx index cd2a72a2c..941509191 100644 --- a/apps/example/src/App.jsx +++ b/apps/example/src/App.jsx @@ -19,7 +19,7 @@ import StoreProvider, { useGlobalsActions, useAuthActions } from "./components/S import { MessagesProvider } from "@cloudoperators/juno-messages-provider" // mock API -import { fetchProxyInitDB } from "@cloudoperators/juno-utils" +import { fetchProxyInitDB } from "@cloudoperators/juno-mock-server" import db from "./db.json" const App = (props = {}) => { diff --git a/apps/example/turbo.json b/apps/example/turbo.json index 67ec21988..8cb3cf1a3 100644 --- a/apps/example/turbo.json +++ b/apps/example/turbo.json @@ -8,7 +8,8 @@ "@cloudoperators/juno-oauth#build", "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-url-state-provider#build", - "@cloudoperators/juno-utils#build" + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] }, "build": { @@ -18,7 +19,8 @@ "@cloudoperators/juno-oauth#build", "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-url-state-provider#build", - "@cloudoperators/juno-utils#build" + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] }, "build:static": { @@ -28,7 +30,8 @@ "@cloudoperators/juno-oauth#build", "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-url-state-provider#build", - "@cloudoperators/juno-utils#build" + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] } } diff --git a/apps/greenhouse/package.json b/apps/greenhouse/package.json index 3c259e1dc..292d424f6 100644 --- a/apps/greenhouse/package.json +++ b/apps/greenhouse/package.json @@ -51,6 +51,8 @@ "@cloudoperators/juno-messages-provider": "*", "@cloudoperators/juno-oauth": "*", "@cloudoperators/juno-ui-components": "*", + "@cloudoperators/juno-mock-server": "*", + "@cloudoperators/juno-utils": "*", "@cloudoperators/juno-url-state-provider-v1": "^1.3.2" } } diff --git a/apps/greenhouse/src/components/core-apps/org-admin/components/teams/AppContent.jsx b/apps/greenhouse/src/components/core-apps/org-admin/components/teams/AppContent.jsx index 8896fc94b..8b84d95cf 100644 --- a/apps/greenhouse/src/components/core-apps/org-admin/components/teams/AppContent.jsx +++ b/apps/greenhouse/src/components/core-apps/org-admin/components/teams/AppContent.jsx @@ -10,7 +10,7 @@ import TeamList from "./components/team/TeamList" import Filter from "./components/filter/Filter" import { useTeamMemberships, useIsMock, useEndpoint, useStoreActions } from "./components/StoreProvider" import { Messages, useActions } from "@cloudoperators/juno-messages-provider" -import { fetchProxy } from "@cloudoperators/juno-utils" +import { fetchProxy } from "@cloudoperators/juno-mock-server" import { parseError } from "./lib/helpers" const AppContent = () => { diff --git a/apps/greenhouse/turbo.json b/apps/greenhouse/turbo.json index 099379ae7..8211c671b 100644 --- a/apps/greenhouse/turbo.json +++ b/apps/greenhouse/turbo.json @@ -9,7 +9,9 @@ "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-app-supernova#build", "@cloudoperators/juno-app-heureka#build", - "@cloudoperators/juno-app-doop#build" + "@cloudoperators/juno-app-doop#build", + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] }, "build": { @@ -20,7 +22,9 @@ "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-app-supernova#build", "@cloudoperators/juno-app-heureka#build", - "@cloudoperators/juno-app-doop#build" + "@cloudoperators/juno-app-doop#build", + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] }, "build:static": { @@ -31,7 +35,9 @@ "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-app-supernova#build", "@cloudoperators/juno-app-heureka#build", - "@cloudoperators/juno-app-doop#build" + "@cloudoperators/juno-app-doop#build", + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] }, "test": { @@ -42,7 +48,9 @@ "@cloudoperators/juno-communicator#build", "@cloudoperators/juno-app-supernova#build", "@cloudoperators/juno-app-heureka#build", - "@cloudoperators/juno-app-doop#build" + "@cloudoperators/juno-app-doop#build", + "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build" ] } } diff --git a/apps/supernova/package.json b/apps/supernova/package.json index 02ce0c2b5..1124e6b91 100644 --- a/apps/supernova/package.json +++ b/apps/supernova/package.json @@ -50,6 +50,7 @@ "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider-v1": "^1.3.2", "@cloudoperators/juno-utils": "*", + "@cloudoperators/juno-mock-server": "*", "react-error-boundary": "^4.0.13", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/apps/supernova/turbo.json b/apps/supernova/turbo.json index 8e80f42f9..b8aa347e2 100644 --- a/apps/supernova/turbo.json +++ b/apps/supernova/turbo.json @@ -6,6 +6,7 @@ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-communicator#build" ] }, @@ -13,6 +14,7 @@ "dependsOn": [ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-communicator#build" ] @@ -21,6 +23,7 @@ "dependsOn": [ "@cloudoperators/juno-ui-components#build", "@cloudoperators/juno-utils#build", + "@cloudoperators/juno-mock-server#build", "@cloudoperators/juno-messages-provider#build", "@cloudoperators/juno-communicator#build" ] diff --git a/package-lock.json b/package-lock.json index 8c987dbbb..f329f6aec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -284,6 +284,7 @@ "dependencies": { "@cloudoperators/juno-communicator": "*", "@cloudoperators/juno-messages-provider": "*", + "@cloudoperators/juno-mock-server": "*", "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider-v1": "^1.3.2", "@cloudoperators/juno-utils": "*", @@ -467,6 +468,7 @@ "dependencies": { "@cloudoperators/juno-communicator": "*", "@cloudoperators/juno-messages-provider": "*", + "@cloudoperators/juno-mock-server": "*", "@cloudoperators/juno-oauth": "*", "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider": "*", @@ -681,16 +683,18 @@ }, "apps/greenhouse": { "name": "@cloudoperators/juno-app-greenhouse", - "version": "0.3.2", + "version": "0.3.3", "license": "Apache-2.0", "dependencies": { "@cloudoperators/juno-app-doop": "*", "@cloudoperators/juno-app-heureka": "*", "@cloudoperators/juno-app-supernova": "*", "@cloudoperators/juno-messages-provider": "*", + "@cloudoperators/juno-mock-server": "*", "@cloudoperators/juno-oauth": "*", "@cloudoperators/juno-ui-components": "*", - "@cloudoperators/juno-url-state-provider-v1": "^1.3.2" + "@cloudoperators/juno-url-state-provider-v1": "^1.3.2", + "@cloudoperators/juno-utils": "*" }, "devDependencies": { "@cloudoperators/juno-config": "*", @@ -826,7 +830,7 @@ }, "apps/heureka": { "name": "@cloudoperators/juno-app-heureka", - "version": "2.9.1", + "version": "2.9.2", "license": "Apache-2.0", "dependencies": { "@cloudoperators/juno-communicator": "*", @@ -1023,6 +1027,7 @@ "dependencies": { "@cloudoperators/juno-communicator": "*", "@cloudoperators/juno-messages-provider": "*", + "@cloudoperators/juno-mock-server": "*", "@cloudoperators/juno-ui-components": "*", "@cloudoperators/juno-url-state-provider-v1": "^1.3.2", "@cloudoperators/juno-utils": "*", @@ -3941,6 +3946,10 @@ "resolved": "packages/messages-provider", "link": true }, + "node_modules/@cloudoperators/juno-mock-server": { + "resolved": "packages/mock-server", + "link": true + }, "node_modules/@cloudoperators/juno-oauth": { "resolved": "packages/oauth", "link": true @@ -12510,11 +12519,10 @@ } }, "node_modules/chai": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", - "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.2.tgz", + "integrity": "sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==", "dev": true, - "license": "MIT", "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", @@ -14919,6 +14927,15 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/expect-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.1.0.tgz", + "integrity": "sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/express": { "version": "4.21.1", "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", @@ -25513,11 +25530,10 @@ "license": "MIT" }, "node_modules/tinyexec": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.0.tgz", - "integrity": "sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==", - "dev": true, - "license": "MIT" + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.1.tgz", + "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", + "dev": true }, "node_modules/tinyglobby": { "version": "0.2.9", @@ -28970,6 +28986,263 @@ } } }, + "packages/mock-server": { + "version": "1.1.0", + "license": "Apache-2.0", + "devDependencies": { + "@cloudoperators/juno-config": "*", + "@types/node": "^20.11.24", + "jsdom": "^24.1.1", + "typescript": "^5.5.4", + "vite": "^5.4.0", + "vite-plugin-dts": "^4.0.3", + "vitest": "^2.0.4" + }, + "engines": { + "node": ">=20.0.0 <21.0.0", + "npm": ">=10.0.0 <11.0.0" + } + }, + "packages/mock-server/node_modules/@vitest/expect": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.4.tgz", + "integrity": "sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA==", + "dev": true, + "dependencies": { + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/@vitest/pretty-format": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.4.tgz", + "integrity": "sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==", + "dev": true, + "dependencies": { + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/@vitest/runner": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.4.tgz", + "integrity": "sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA==", + "dev": true, + "dependencies": { + "@vitest/utils": "2.1.4", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/@vitest/snapshot": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.4.tgz", + "integrity": "sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==", + "dev": true, + "dependencies": { + "@vitest/pretty-format": "2.1.4", + "magic-string": "^0.30.12", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/@vitest/spy": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.4.tgz", + "integrity": "sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg==", + "dev": true, + "dependencies": { + "tinyspy": "^3.0.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/@vitest/ui": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-2.1.4.tgz", + "integrity": "sha512-Zd9e5oU063c+j9N9XzGJagCLNvG71x/2tOme3Js4JEZKX55zsgxhJwUgLI8hkN6NjMLpdJO8d7nVUUuPGAA58Q==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "@vitest/utils": "2.1.4", + "fflate": "^0.8.2", + "flatted": "^3.3.1", + "pathe": "^1.1.2", + "sirv": "^3.0.0", + "tinyglobby": "^0.2.9", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "vitest": "2.1.4" + } + }, + "packages/mock-server/node_modules/@vitest/utils": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.4.tgz", + "integrity": "sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==", + "dev": true, + "dependencies": { + "@vitest/pretty-format": "2.1.4", + "loupe": "^3.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "packages/mock-server/node_modules/sirv": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.0.tgz", + "integrity": "sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==", + "dev": true, + "optional": true, + "peer": true, + "dependencies": { + "@polka/url": "^1.0.0-next.24", + "mrmime": "^2.0.0", + "totalist": "^3.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "packages/mock-server/node_modules/vite-node": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.4.tgz", + "integrity": "sha512-kqa9v+oi4HwkG6g8ufRnb5AeplcRw8jUF6/7/Qz1qRQOXHImG8YnLbB+LLszENwFnoBl9xIf9nVdCFzNd7GQEg==", + "dev": true, + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.3.7", + "pathe": "^1.1.2", + "vite": "^5.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "packages/mock-server/node_modules/vitest": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.4.tgz", + "integrity": "sha512-eDjxbVAJw1UJJCHr5xr/xM86Zx+YxIEXGAR+bmnEID7z9qWfoxpHw0zdobz+TQAFOLT+nEXz3+gx6nUJ7RgmlQ==", + "dev": true, + "dependencies": { + "@vitest/expect": "2.1.4", + "@vitest/mocker": "2.1.4", + "@vitest/pretty-format": "^2.1.4", + "@vitest/runner": "2.1.4", + "@vitest/snapshot": "2.1.4", + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.7.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.4", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.4", + "@vitest/ui": "2.1.4", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "packages/mock-server/node_modules/vitest/node_modules/@vitest/mocker": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.4.tgz", + "integrity": "sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ==", + "dev": true, + "dependencies": { + "@vitest/spy": "2.1.4", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, "packages/oauth": { "name": "@cloudoperators/juno-oauth", "version": "1.3.0", @@ -29600,7 +29873,7 @@ }, "packages/ui-components": { "name": "@cloudoperators/juno-ui-components", - "version": "2.27.0", + "version": "2.28.0", "license": "Apache-2.0", "devDependencies": { "@babel/plugin-transform-parameters": "^7.22.15",