Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(alerts/ui): Update all dependencies from asset server to public npm #268

Merged
merged 3 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alerts/ui/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/setupTests.js"],
transformIgnorePatterns: [
"node_modules/(?!(juno-ui-components|communicator|messages-provider|utils)/)",
"node_modules/(?!(@cloudoperators/juno-ui-components|@cloudoperators/juno-communicator|@cloudoperators/juno-messages-provider|@cloudoperators/juno-utils|@cloudoperators/juno-url-state-provider-v1)/)",
],
moduleNameMapper: {
// Jest currently doesn't support resources with query parameters.
Expand Down
149 changes: 73 additions & 76 deletions alerts/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 6 additions & 10 deletions alerts/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supernova",
"version": "0.9.19",
"version": "0.9.20",
"author": "UI-Team",
"contributors": [
"Esther Schmitz",
Expand All @@ -27,16 +27,13 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"esbuild": "^0.20.1",
"esbuild-sass-plugin": "^3.0.0",
"immer": "^10.0.0",
"interweave": "^13.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^3.0.0",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -46,22 +43,16 @@
"sass": "^1.77.5",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.5.2"
},
"peerDependencies": {
"@tanstack/react-query": "5.36.2",
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"luxon": "^2.3.0",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"zustand": "4.5.2"
},
"importmapExtras": {
Expand Down Expand Up @@ -109,6 +100,11 @@
},
"appPreview": true,
"dependencies": {
"@cloudoperators/juno-communicator": "^2.2.11",
"@cloudoperators/juno-messages-provider": "^0.1.17",
"@cloudoperators/juno-ui-components": "^2.15.4",
"@cloudoperators/juno-url-state-provider-v1": "^1.3.2",
"@cloudoperators/juno-utils": "^1.1.12",
"react-error-boundary": "^4.0.13"
}
}
4 changes: 2 additions & 2 deletions alerts/ui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import React, { useLayoutEffect } from "react"

import { AppShellProvider, CodeBlock } from "juno-ui-components"
import { AppShellProvider, CodeBlock } from "@cloudoperators/juno-ui-components"
import AppContent from "./AppContent"
import styles from "./styles.scss"
import {
Expand All @@ -16,7 +16,7 @@ import {
StoreProvider,
} from "./hooks/useAppStore"
import AsyncWorker from "./components/AsyncWorker"
import { MessagesProvider } from "messages-provider"
import { MessagesProvider } from "@cloudoperators/juno-messages-provider"
import CustomAppShell from "./components/CustomAppShell"

import { ErrorBoundary } from "react-error-boundary"
Expand Down
Loading
Loading