Skip to content

Commit

Permalink
Upgrade all dependencies (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDeVries authored Dec 25, 2023
1 parent 1b854b5 commit d7e9f8e
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 61 deletions.
Binary file modified bun.lockb
Binary file not shown.
63 changes: 31 additions & 32 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,47 +19,46 @@
"format:all": "bun format:base ."
},
"dependencies": {
"@storybook/jest": "^0.2.1",
"@storybook/jest": "^0.2.3",
"@yobgob/too-many-hooks": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.22.11",
"@storybook/addon-docs": "^7.3.2",
"@storybook/addon-essentials": "^7.3.2",
"@storybook/addon-interactions": "^7.3.2",
"@storybook/addon-links": "^7.3.2",
"@storybook/blocks": "^7.3.2",
"@storybook/react": "^7.3.2",
"@storybook/react-vite": "^7.3.2",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.0",
"@tailwindcss/forms": "^0.5.5",
"@tailwindcss/typography": "^0.5.9",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vitejs/plugin-react": "^4.0.4",
"autoprefixer": "^10.4.15",
"@babel/core": "^7.23.6",
"@storybook/addon-docs": "^7.6.6",
"@storybook/addon-essentials": "^7.6.6",
"@storybook/addon-interactions": "^7.6.6",
"@storybook/addon-links": "^7.6.6",
"@storybook/blocks": "^7.6.6",
"@storybook/react": "^7.6.6",
"@storybook/react-vite": "^7.6.6",
"@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.1",
"eslint": "^8.47.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-mdx": "^2.2.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-mdx": "^3.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.13",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
"mkdirp": "^3.0.1",
"postcss": "^8.4.31",
"prettier": "^3.0.2",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.3",
"storybook": "^7.3.2",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.9",
"storybook": "^7.6.6",
"tailwindcss": "^3.4.0",
"vite": "^5.0.10"
}
}
8 changes: 4 additions & 4 deletions packages/storybook/src/common/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const Button: React.FC<Props> = ({ variant = 'fill', color, className, ...props
variant === 'fill'
? 'bg-blue-500 text-white hover:underline disabled:bg-slate-500 '
: variant === 'outline'
? 'border-slate-800 bg-white hover:underline disabled:text-slate-600'
: 'hover:bg-slate-100'
? 'border-slate-800 bg-white hover:underline disabled:text-slate-600'
: 'hover:bg-slate-100'
} ${className}`}
style={
variant === 'fill'
? { backgroundColor: color }
: variant === 'outline'
? { borderColor: color }
: { color }
? { borderColor: color }
: { color }
}
{...props}
/>
Expand Down
8 changes: 4 additions & 4 deletions packages/storybook/src/common/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ const Select = <T extends OptionValue>({
variant === 'fill'
? `bg-blue-500 text-white hover:underline disabled:bg-slate-500`
: variant === 'outline'
? `border-slate-800 bg-white hover:underline disabled:text-slate-600`
: 'hover:bg-slate-100'
? `border-slate-800 bg-white hover:underline disabled:text-slate-600`
: 'hover:bg-slate-100'
} ${className}`}
style={
variant === 'fill'
? { backgroundColor: color }
: variant === 'outline'
? { borderColor: color }
: { color }
? { borderColor: color }
: { color }
}
onChange={
onChange
Expand Down
10 changes: 5 additions & 5 deletions packages/storybook/src/stories/UseArray/Burger/Burger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ const Burger: React.FC = () => {
insertLocation === 'top'
? insertAt(0, { type: typedKey, isSelected: false })
: insertLocation === 'bottom'
? push({ type: typedKey, isSelected: false })
: insertAt(insertLocation, {
type: typedKey,
isSelected: false,
})
? push({ type: typedKey, isSelected: false })
: insertAt(insertLocation, {
type: typedKey,
isSelected: false,
})
}}
>
Add {label}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const API: React.FC<Props> = ({ firstName, countryCode }) => {
{predictedAge
? `Predicted age: ${predictedAge}`
: firstName
? 'No age result for entered name and location'
: 'No name entered'}
? 'No age result for entered name and location'
: 'No name entered'}
</p>
</div>
)
Expand Down
25 changes: 12 additions & 13 deletions packages/too-many-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,21 @@
"react": "^18.2.0"
},
"devDependencies": {
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^20.5.6",
"@types/react": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vitejs/plugin-react": "^4.0.4",
"concurrently": "^8.2.1",
"eslint": "^8.47.0",
"@types/lodash.isequal": "^4.5.8",
"@types/react": "^18.2.45",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitejs/plugin-react": "^4.2.1",
"bun-types": "^1.0.20",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
"mkdirp": "^3.0.1",
"prettier": "^3.0.2",
"prettier-plugin-organize-imports": "^3.2.3",
"typescript": "5.2.2",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.2"
"prettier": "^3.1.1",
"prettier-plugin-organize-imports": "^3.2.4",
"vite": "^5.0.10",
"vite-plugin-dts": "^3.6.4"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/too-many-hooks/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"jsx": "react-jsx"
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [{ "path": "./tsconfig.bun.json" }]
}

0 comments on commit d7e9f8e

Please sign in to comment.