Skip to content

Commit

Permalink
fix(packages): config and add manypkg
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Philibeaux <[email protected]>
  • Loading branch information
philibea committed Aug 22, 2024
1 parent 1dfceb7 commit 460eb27
Show file tree
Hide file tree
Showing 12 changed files with 145 additions and 128 deletions.
2 changes: 1 addition & 1 deletion examples/next-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@babel/core": "7.25.2",
"@types/node": "20.15.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/next-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@babel/core": "7.25.2",
"@types/node": "20.15.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/next-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@babel/core": "7.25.2",
"@types/node": "20.15.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
".md?(x)": [
"pnpm dlx prettier --write '**/*.{md,mdx}'"
],
"**/pnpm-lock.yaml, **/package.json": [
"pnpm-lock.yaml, package.json, **/pnpm-lock.yaml, **/package.json": [
"pnpm exec manypkg check"
]
},
Expand Down Expand Up @@ -82,11 +82,11 @@
"dependencies": {
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-transform-runtime": "7.24.7",
"@babel/plugin-transform-runtime": "7.25.4",
"@babel/preset-env": "7.25.3",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@babel/runtime": "7.25.0",
"@babel/runtime": "7.25.4",
"@biomejs/biome": "1.8.3",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
Expand Down Expand Up @@ -127,7 +127,7 @@
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"@types/node": "20.15.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-datepicker": "6.2.0",
"@types/react-dom": "18.3.0",
"@types/zxcvbn": "4.4.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@types/final-form-focus": "1.1.7",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@utils/test": "workspace:*",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"dependencies": {
"@babel/runtime": "7.25.0",
"@babel/runtime": "7.25.4",
"@ultraviolet/themes": "workspace:*",
"@ultraviolet/ui": "workspace:*",
"react-hook-form": "7.52.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@babel/core": "7.25.2",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@utils/test": "workspace:*",
"react": "18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ export const DynamicIllustration = ({
'data-testid': dataTestId,
className,
}: DynamicIllustrationProps) => {
const theme = useTheme()

console.debug('theme', theme.theme)
const { theme } = useTheme()

return (
<img
className={className}
data-testid={dataTestId}
src={ILLUSTRATIONS[theme.theme === 'light' ? 'light' : 'dark'][name]}
src={ILLUSTRATIONS[theme === 'light' ? 'light' : 'dark'][name]}
alt={name}
width={width}
height={height}
Expand Down
2 changes: 1 addition & 1 deletion packages/plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@babel/core": "7.25.2",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@ultraviolet/illustrations": "workspace:*",
"@utils/test": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@babel/core": "7.25.2",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@types/react": "18.3.3",
"@types/react": "18.3.4",
"@types/react-datepicker": "6.2.0",
"@types/react-dom": "18.3.0",
"@utils/test": "workspace:*",
Expand Down
Loading

0 comments on commit 460eb27

Please sign in to comment.