Merged in feat/SW-3644-storybook-v10 (pull request #3240)
feat(SW-3644): Storybook v10 * Auto update to Storybook v10 * Add scandic theme and logo * Update yarn.lock * Update formatting of package.json * Update vitest config and playwright plugin * Remove vitest 4 update * Re-added comment * Update the Typography component to explicitly return React.ReactNode * Add an explicit type assertion to the export * Add an explicit type assertion to the export for Checkbox * Explicit return type assertion * Add an explicit type assertion to the export * Update @types/react and fix ts warnings * Updated typings Approved-by: Linus Flood Approved-by: Matilda Landström
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev --turbo",
|
||||
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
|
||||
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
|
||||
"lint": "next typegen && next lint --max-warnings 0 && tsc",
|
||||
"lint:fix": "next typegen && next lint --fix --max-warnings 0 && tsc",
|
||||
"start": "node .next/standalone/server.js",
|
||||
"test:setup": "yarn build && yarn start",
|
||||
"preinstall": "/bin/sh -c \"export $(cat .env.local | grep -v '^#' | xargs)\"",
|
||||
@@ -99,8 +99,8 @@
|
||||
"@types/json-stable-stringify-without-jsonify": "^1.0.2",
|
||||
"@types/jsonwebtoken": "^9",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "19.1.0",
|
||||
"@types/react-dom": "19.1.0",
|
||||
"@types/react": "^19.2.3",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.32.0",
|
||||
"@typescript-eslint/parser": "^8.32.0",
|
||||
"@vitejs/plugin-react": "^5.0.0",
|
||||
@@ -122,9 +122,5 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": "22"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "19.1.0",
|
||||
"@types/react-dom": "19.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user