Skip to content

Commit f3e6fe9

Browse files
authoredJan 6, 2025··
Merge pull request #495 from navikt/react19
React 19 upgrade
2 parents 308d0a5 + 014e004 commit f3e6fe9

File tree

3 files changed

+951
-8
lines changed

3 files changed

+951
-8
lines changed
 

‎bun.lock

+943
Large diffs are not rendered by default.

‎bun.lockb

-180 KB
Binary file not shown.

‎packages/internarbeidsflate-decorator-v3/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@
1818
"scripts": {
1919
"dev": "bunx --bun vite",
2020
"dev:fullscreen": "VITE_DECORATOR_MODE=fullscreen bunx --bun vite",
21-
"build": "vite build",
21+
"build": "bunx --bun vite build",
2222
"build:watch": "bunx --bun vite build --watch",
2323
"build-and-preview": "bunx --bun vite build && bunx --bun vite preview",
2424
"preview": "bunx --bun vite preview",
2525
"build:preview": "bunx --bun vite build --config preview.vite.config.ts",
2626
"test": "vitest"
2727
},
2828
"devDependencies": {
29-
"@types/react": "^18.3.12",
30-
"@types/react-dom": "^18.3.1",
29+
"@types/react": "^19.0.3",
30+
"@types/react-dom": "^19.0.2",
3131
"@vitejs/plugin-react": "^4.3.4",
3232
"autoprefixer": "^10.4.20",
3333
"concurrently": "^9.1.0",
3434
"msw": "^2.6.6",
3535
"postcss": "^8.4.49",
3636
"postcss-import": "^16.1.0",
37-
"react": "^18.3.1",
38-
"react-dom": "^18.3.1",
37+
"react": "^19.0.0",
38+
"react-dom": "^19.0.0",
3939
"tailwindcss": "^3.4.15",
4040
"typescript": "^5.7.2",
4141
"vite": "^6.0.1",
4242
"vitest": "^2.1.6",
4343
"vitest-websocket-mock": "^0.4.0"
4444
},
4545
"peerDependencies": {
46-
"react": "^18.2.0",
47-
"react-dom": "^18.2.0"
46+
"react": "^18.2.0 || ^19.0.0",
47+
"react-dom": "^18.2.0 || ^19.0.0"
4848
},
4949
"dependencies": {
5050
"@navikt/aksel-icons": "^7.5.3",
@@ -63,4 +63,4 @@
6363
"public"
6464
]
6565
}
66-
}
66+
}

0 commit comments

Comments
 (0)
Please sign in to comment.