Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
woofers committed Dec 30, 2024
1 parent f3a6d6d commit 6adec39
Show file tree
Hide file tree
Showing 7 changed files with 2,245 additions and 1,165 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},
"homepage": "https://jaxs.onl/use-eye-dropper/",
"devDependencies": {
"prettier": "^3.3.1",
"rimraf": "^5.0.7"
"prettier": "^3.4.2",
"rimraf": "^6.0.1"
},
"pnpm": {
"patchedDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions packages/use-eye-dropper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
],
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@vitest/coverage-istanbul": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/ui": "^2.1.8",
"babel-jest": "^29.7.0",
"jsdom": "^25.0.1",
"microbundle": "^0.15.1",
"picocolors": "^1.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "^5.4.10",
"vitest": "^2.1.4"
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vite": "^6.0.6",
"vitest": "^2.1.8"
}
}
1 change: 0 additions & 1 deletion packages/website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const path = require('path')
module.exports = {
output: 'export',
distDir: 'build',
swcMinify: true,
reactStrictMode: true,
images: {
loader: 'imgix',
Expand Down
22 changes: 11 additions & 11 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@
"dependencies": {
"@stitches/react": "^1.2.8",
"chroma-js": "^3.1.2",
"esbuild": "^0.24.0",
"framer-motion": "^11.2.10",
"hast-util-to-html": "^9.0.1",
"lowlight": "^3.1.0",
"esbuild": "^0.24.2",
"framer-motion": "^11.15.0",
"hast-util-to-html": "^9.0.4",
"lowlight": "^3.3.0",
"mdx-bundler": "^10.0.2",
"next": "^14.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"next": "^15.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.4.0",
"use-eye-dropper": "workspace:*"
},
"devDependencies": {
"@playwright/test": "1.21.1",
"@svgr/webpack": "^8.1.0",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.3",
"eslint": "^9.17.0",
"eslint-config-next": "^15.1.3",
"eslint-webpack-plugin": "^4.2.0",
"file-loader": "^6.2.0",
"gh-pages": "^6.1.1",
"prettier": "^3.3.1",
"prettier": "^3.4.2",
"serve": "^14.2.3",
"serve-handler": "^6.1.5"
}
Expand Down
8 changes: 6 additions & 2 deletions packages/website/src/app/[[...section]]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ export const metadata = {
: new URL('http://localhost:3000/use-eye-dropper')
}

const PageNested = async ({ params }) => {
/**
* @param {{ params: Promise<{ section: string[] }> }} props
*/
const PageNested = async (props) => {
const { section } = await props.params
const { code } = await getMdxContent()
return (
<>
<Root>
<MdxContent code={code} />
</Root>
<Scroll section={params.section?.[0] || ''} />
<Scroll section={section?.[0] || ''} />
</>
)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const RootLayout = ({ children }) => {
<script src={`${baseUrl}/chroma.js`}></script>
<script src={`${baseUrl}/colors.js`}></script>
</head>
<body className="light">
<body className="light" suppressHydrationWarning>
<div
id="__next"
style={{
Expand Down
Loading

0 comments on commit 6adec39

Please sign in to comment.