Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from commercelayer/update-deps
Browse files Browse the repository at this point in the history
Update all deps to latest
  • Loading branch information
pfferrari authored Apr 5, 2024
2 parents 310af8c + 172b37c commit 7a803ae
Show file tree
Hide file tree
Showing 7 changed files with 701 additions and 355 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
"husky": "^9.0.11",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.14.15"
"npm-check-updates": "^16.14.18"
},
"resolutions": {
"ip": "^2.0.1",
"follow-redirects": "^1.15.6"
}
}
28 changes: 14 additions & 14 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@
"prepare": "touch ./public/config.local.js"
},
"dependencies": {
"@commercelayer/app-elements": "1.17.1",
"@commercelayer/sdk": "5.34.1",
"@commercelayer/app-elements": "1.20.1",
"@commercelayer/sdk": "5.36.0",
"@hookform/resolvers": "^3.3.4",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react-hook-form": "^7.51.2",
"swr": "^2.2.5",
"type-fest": "^4.12.0",
"type-fest": "^4.15.0",
"wouter": "^3.1.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@commercelayer/eslint-config-ts-react": "^1.3.0",
"@testing-library/react": "^14.2.1",
"@types/lodash": "^4.14.202",
"@types/node": "20.11.26",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"@commercelayer/eslint-config-ts-react": "^1.4.5",
"@testing-library/react": "^14.2.2",
"@types/lodash": "^4.17.0",
"@types/node": "20.12.4",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"jsdom": "^24.0.0",
"rollup-plugin-external-globals": "^0.9.2",
"typescript": "^5.3.3",
"vite": "^5.1.6",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.3.1"
"typescript": "^5.4.3",
"vite": "^5.2.8",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.4.0"
}
}
3 changes: 1 addition & 2 deletions packages/app/src/components/ListItemCardSkuListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ export const ListItemCardSkuListItem = withSkeletonTemplate<Props>(
({ resource, onQuantityChange, onRemoveClick }): JSX.Element | null => {
return (
<ListItem
tag='div'
icon={
<Avatar
alt={resource?.sku?.name ?? ''}
src={resource?.sku?.image_url as `https://${string}`}
/>
}
alignItems='center'
variant='card'
variant='boxed'
className='bg-white'
>
<div>
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/components/ListItemSku.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const ListItemSku = withSkeletonTemplate<Props>(
({ resource = makeSku(), onSelect }) => {
return (
<ListItem
tag='a'
onClick={(e) => {
e.preventDefault()
if (onSelect != null) {
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/components/ListItemSkuList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const ListItemSkuList = withSkeletonTemplate<Props>(
return (
<ListItem
className='items-center'
tag='div'
onClick={() => {
setLocation(appRoutes.details.makePath({ skuListId: resource.id }))
}}
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/components/ListItemSkuListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const ListItemSkuListItem = withSkeletonTemplate<Props>(
({ resource = makeSkuListItem() }): JSX.Element | null => {
return (
<ListItem
tag='div'
icon={
<Avatar
alt={resource.sku?.name ?? ''}
Expand Down
Loading

0 comments on commit 7a803ae

Please sign in to comment.