Skip to content

Commit

Permalink
chore(alerts/ui): update packages form assset-server to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
TilmanHaupt committed Jul 30, 2024
1 parent d6fbbe7 commit 8fb0d70
Show file tree
Hide file tree
Showing 18 changed files with 87 additions and 109 deletions.
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
139 changes: 60 additions & 79 deletions alerts/ui/package-lock.json

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

14 changes: 5 additions & 9 deletions alerts/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"luxon": "^3.0.0",
"@cloudoperators/juno-ui-components": ">= 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,21 +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",
"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 @@ -108,7 +100,11 @@
},
"appPreview": true,
"dependencies": {
"@cloudoperators/juno-ui-components": "^2.15.3",
"@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"
}
}
2 changes: 1 addition & 1 deletion alerts/ui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion alerts/ui/src/AppContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import React, { useEffect } from "react"
import { useActions, Messages } from "messages-provider"
import { useActions, Messages } from "@cloudoperators/juno-messages-provider"
import { Container, Spinner, Stack } from "@cloudoperators/juno-ui-components"
import {
useAlertsError,
Expand Down
2 changes: 1 addition & 1 deletion alerts/ui/src/components/Avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import React from "react"
import { Stack } from "juno-ui-components"
import { Stack } from "@cloudoperators/juno-ui-components"

const avatarCss = `
h-8
Expand Down
Loading

0 comments on commit 8fb0d70

Please sign in to comment.