Skip to content

Commit f82caaa

Browse files
taymoor89TilmanHauptguoda-puidokaiteeddahodanoori
authored
chore(juno): dependencies management hackathon 15.10.2025 (#1250)
* chore(heureka): change timestamp * chore(supernova): del luxon * chore(supernova): redo date type * chore(supernova): reduce luxon and delete luxon (#1213) * chore(supernova): luxon killed in alertTimestamp * chore(supernova): reduce luxon in alterttimestamp * chore(supernova): reduce luxon * chore(supernova): del luxon in statusbar * chore(supernova): format statusbar * chore(greenhouse): del luxon * chore(greenhouse): del luxon * chore(carbon): remove wouter (#1211) * remove wouter * remove wouter from lock * remove routing logiv * remove routing logiv * chore(juno): fix conflicting versions (#1215) * chore(core): remove classnames dep (#1216) * chore(carbon): remove classnames dependency * chore(carbon): refactor classnames usage to vanilla js --------- Co-authored-by: Tilman <147151040+TilmanHaupt@users.noreply.github.com> * chore(heureka): replaces lodash with helper functions (#1210) * chore(heureka): change timestamp * chore(supernova): del luxon * chore(supernova): redo date type * chore(heureka): replaces lodash with helper functions * chore(heureka): removes types/lodash package as well * chore(heureka): removes types/lodash package as well * chore(heureka): adds lock file * chore(supernova): reduce luxon and delete luxon (#1213) * chore(supernova): luxon killed in alertTimestamp * chore(supernova): reduce luxon in alterttimestamp * chore(supernova): reduce luxon * chore(supernova): del luxon in statusbar * chore(supernova): format statusbar * chore(greenhouse): del luxon * chore(greenhouse): del luxon * chore(carbon): remove wouter (#1211) * remove wouter * remove wouter from lock * remove routing logiv * remove routing logiv * chore(juno): fix conflicting versions (#1215) * chore(core): remove classnames dep (#1216) * chore(carbon): remove classnames dependency * chore(carbon): refactor classnames usage to vanilla js --------- Co-authored-by: Tilman <147151040+TilmanHaupt@users.noreply.github.com> * chore(heureka): removes map helper function --------- Co-authored-by: TilmanHaupt <tilman.haupt@sap.com> Co-authored-by: Tilman <147151040+TilmanHaupt@users.noreply.github.com> Co-authored-by: Guoda <121792659+guoda-puidokaite@users.noreply.github.com> Co-authored-by: Taimoor Aslam <taimoor.aslam@sap.com> Co-authored-by: Esther Schmitz <edda@users.noreply.github.com> * chore(juno): add changeset --------- Co-authored-by: TilmanHaupt <tilman.haupt@sap.com> Co-authored-by: Tilman <147151040+TilmanHaupt@users.noreply.github.com> Co-authored-by: Guoda <121792659+guoda-puidokaite@users.noreply.github.com> Co-authored-by: Esther Schmitz <edda@users.noreply.github.com> Co-authored-by: Hoda <107242553+hodanoori@users.noreply.github.com>
1 parent a679fdc commit f82caaa

27 files changed

Lines changed: 244 additions & 314 deletions

File tree

.changeset/grumpy-llamas-tickle.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@cloudoperators/juno-app-carbon": patch
3+
---
4+
5+
- Removed `wouter` and `classnames` dependencies.
6+
- Harmonized conflicting versions of dependencies.

.changeset/heavy-dots-mix.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@cloudoperators/juno-app-greenhouse": patch
3+
"@cloudoperators/juno-app-template": patch
4+
"@cloudoperators/juno-app-example": patch
5+
"@cloudoperators/juno-app-doop": patch
6+
"@cloudoperators/juno-ui-components": patch
7+
---
8+
9+
Harmonized conflicting versions of dependencies.

.changeset/pretty-bananas-melt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudoperators/juno-app-heureka": patch
3+
---
4+
5+
Removed `luxon`, `@lodash` and `@types/lodash` dependencies.

.changeset/spicy-stars-know.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@cloudoperators/juno-app-supernova": patch
3+
---
4+
5+
- Removed `luxon` dependency.
6+
- Harmonized conflicting versions of dependencies.

apps/carbon/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@
2929
"@cloudoperators/juno-ui-components": "workspace:*",
3030
"@tailwindcss/vite": "4.1.13",
3131
"@vitejs/plugin-react": "4.7.0",
32-
"classnames": "2.5.1",
3332
"react": "19.1.0",
3433
"react-dom": "19.1.0",
35-
"react-error-boundary": "3.1.4",
36-
"wouter": "3.7.1",
34+
"react-error-boundary": "4.1.2",
3735
"zustand": "4.5.7"
3836
},
3937
"devDependencies": {
@@ -58,7 +56,7 @@
5856
"eslint-plugin-react-hooks": "4.6.2",
5957
"eslint-plugin-tailwindcss": "3.18.0",
6058
"jsdom": "26.1.0",
61-
"prettier": "3.1.1",
59+
"prettier": "3.6.2",
6260
"tailwindcss": "4.1.13",
6361
"typescript": "5.9.2",
6462
"vite": "7.1.7",

apps/carbon/src/components/AppContent/AppContent.tsx

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import React from "react"
10-
import { Redirect, Route, Switch } from "wouter"
1110
import Navigation from "../Navigation"
1211
import Extension from "../Extension/Extension"
1312
import NoExtensionFound from "./NoExtensionFound"
@@ -17,19 +16,10 @@ const AppContent = ({ extensions }: { extensions: Extension[] }) => (
1716
<div className="h-screen flex">
1817
<Navigation extensions={extensions} />
1918
<div className="flex-1 bg-theme-global-bg" data-testid="extension-container">
20-
<Switch>
21-
<Route path="/">
22-
<Redirect to={extensions[0].url} />
23-
</Route>
24-
{extensions.map((extension) => (
25-
<Route key={extension.name} path={extension.url}>
26-
<Extension extension={extension} />
27-
</Route>
28-
))}
29-
<Route>
30-
<NoExtensionFound />
31-
</Route>
32-
</Switch>
19+
{extensions.map((extension) => (
20+
<Extension key={extension.name} extension={extension} />
21+
))}
22+
<NoExtensionFound />
3323
</div>
3424
</div>
3525
)

apps/carbon/src/components/Navigation/NavigationItem.tsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
import React from "react"
77
import { Stack } from "@cloudoperators/juno-ui-components"
8-
import classNames from "classnames"
9-
import { Link, useRoute } from "wouter"
108
import SupernovaIcon from "../../assets/juno_supernova.svg?react"
119
import DoopIcon from "../../assets/juno_doop.svg?react"
1210
import HeurekaIcon from "../../assets/juno_heureka.svg?react"
@@ -24,36 +22,38 @@ const AppIcon = ({ name }: { name: string }) => {
2422

2523
const Border = () => <div className="absolute w-1 h-full top-0 left-0 bg-white" />
2624

27-
const getClassName = (isActive: boolean) =>
28-
classNames("relative px-5 py-3 cursor-pointer", {
29-
"bg-theme-global-bg text-white": isActive,
30-
"hover:text-theme-high": !isActive,
31-
})
25+
const getClassName = (isActive: boolean) => {
26+
return `
27+
relative
28+
px-5
29+
py-3
30+
cursor-pointer
31+
32+
${isActive ? "bg-theme-global-bg text-white" : "hover:text-theme-high"}
33+
`
34+
}
3235

3336
type NavigationItemProps = {
3437
name: string
3538
title: string
3639
url: string
3740
}
3841

39-
const NavigationItem = ({ name, title, url }: NavigationItemProps) => {
40-
const [isActive] = useRoute(url)
42+
const NavigationItem = ({ name, title }: NavigationItemProps) => {
4143
return (
42-
<Link href={url} asChild>
43-
<Stack
44-
key={name}
45-
aria-label={title}
46-
direction="vertical"
47-
alignment="center"
48-
role="link"
49-
tabIndex={0}
50-
className={getClassName(isActive)}
51-
>
52-
{isActive && <Border />}
53-
<AppIcon name={name} />
54-
<span className="select-none break-all text-xs">{title}</span>
55-
</Stack>
56-
</Link>
44+
<Stack
45+
key={name}
46+
aria-label={title}
47+
direction="vertical"
48+
alignment="center"
49+
role="link"
50+
tabIndex={0}
51+
className={getClassName(true)}
52+
>
53+
{<Border />}
54+
<AppIcon name={name} />
55+
<span className="select-none break-all text-xs">{title}</span>
56+
</Stack>
5757
)
5858
}
5959

apps/doop/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"private": true,
1616
"devDependencies": {
1717
"@cloudoperators/juno-config": "workspace:*",
18-
"@tanstack/react-query": "5.62.2",
18+
"@tanstack/react-query": "5.89.0",
1919
"@tailwindcss/vite": "4.1.13",
2020
"@tanstack/router-plugin": "1.133.22",
2121
"@testing-library/jest-dom": "6.8.0",
@@ -25,7 +25,7 @@
2525
"@vitejs/plugin-react": "4.7.0",
2626
"interweave": "13.1.1",
2727
"jsdom": "26.1.0",
28-
"react-markdown": "9.1.0",
28+
"react-markdown": "10.1.0",
2929
"shadow-dom-testing-library": "1.13.1",
3030
"tailwindcss": "4.1.13",
3131
"vite": "7.1.7",

apps/example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"@cloudoperators/juno-config": "workspace:*",
2121
"@svgr/core": "7.0.0",
2222
"@svgr/plugin-jsx": "7.0.0",
23-
"@tanstack/react-query": "5.62.2",
23+
"@tanstack/react-query": "5.89.0",
2424
"@tailwindcss/vite": "4.1.13",
25-
"@testing-library/jest-dom": "6.6.3",
25+
"@testing-library/jest-dom": "6.8.0",
2626
"@testing-library/react": "16.3.0",
2727
"@types/react": "19.1.8",
2828
"@types/react-dom": "19.1.6",

apps/greenhouse/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@
2525
"@types/react-dom": "19.1.6",
2626
"@vitejs/plugin-react": "4.7.0",
2727
"github-markdown-css": "5.8.1",
28-
"immer": "9.0.21",
28+
"immer": "10.1.3",
2929
"interweave": "13.1.1",
3030
"react": "19.1.0",
3131
"react-dom": "19.1.0",
3232
"react-markdown": "10.1.0",
3333
"remark-gfm": " 4.0.1",
3434
"shadow-dom-testing-library": "1.13.1",
3535
"tailwindcss": "4.1.13",
36-
"ts-luxon": "4.6.2",
3736
"vite": "7.1.7",
3837
"vite-plugin-svgr": "4.5.0",
3938
"vitest": "3.2.4",

0 commit comments

Comments
 (0)