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 #70 from commercelayer/update-dependencies
Browse files Browse the repository at this point in the history
Update all dependencies to the latest
  • Loading branch information
marcomontalbano authored Jul 28, 2023
2 parents 156bc5c + a1e6af6 commit fcd51ad
Show file tree
Hide file tree
Showing 7 changed files with 760 additions and 926 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
],
"devDependencies": {
"husky": "^8.0.3",
"lerna": "^7.1.0",
"lint-staged": "^13.2.2",
"npm-check-updates": "^16.10.13"
"lerna": "^7.1.4",
"lint-staged": "^13.2.3",
"npm-check-updates": "^16.10.17"
}
}
26 changes: 13 additions & 13 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
},
"dependencies": {
"@ac-dev/countries-service": "^1.2.0",
"@commercelayer/app-elements": "^0.0.48",
"@commercelayer/app-elements-hook-form": "^0.0.48",
"@commercelayer/sdk": "5.6.0",
"@commercelayer/app-elements": "^0.0.57",
"@commercelayer/app-elements-hook-form": "^0.0.57",
"@commercelayer/sdk": "5.10.0",
"@hookform/resolvers": "^3.1.1",
"lodash": "^4.17.21",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.0",
"react-hook-form": "^7.45.2",
"swr": "^2.2.0",
"type-fest": "^3.12.0",
"type-fest": "^4.0.0",
"wouter": "^2.11.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@commercelayer/eslint-config-ts-react": "^1.0.1",
"@types/lodash": "^4.14.195",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react": "^4.0.1",
"eslint": "^8.43.0",
"@types/lodash": "^4.14.196",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.45.0",
"jsdom": "^22.1.0",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"typescript": "^5.1.6",
"vite": "^4.4.7",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.32.2"
"vitest": "^0.33.0"
}
}
1 change: 1 addition & 0 deletions packages/app/src/components/OrderSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function getOrderStatusBadgeVariant(status: Order['status']): BadgeVariant {
case 'approved':
return 'success-solid'
case 'cancelled':
case 'editing':
case 'draft':
case 'pending':
return 'secondary'
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/PaymentMethod.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Spacer, Text } from '@commercelayer/app-elements'
import { type Order } from '@commercelayer/sdk'
import { type SetNonNullable, type SetRequired } from 'type-fest'
import type { SetNonNullable, SetRequired } from 'type-fest'
import { z } from 'zod'

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/data/attachments.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Attachment } from '@commercelayer/sdk'
import { isEmpty } from 'lodash'
import { type SetNonNullable, type SetRequired } from 'type-fest'
import type { SetNonNullable, SetRequired } from 'type-fest'

export const noteReferenceOrigin = 'app-orders--note' as const
export const refundNoteReferenceOrigin = 'app-orders--refund-note' as const
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/metricsApi/useListCounters.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { presets, type ListType } from '#data/lists'
import { useTokenProvider } from '@commercelayer/app-elements'
import { type FormFullValues } from '@commercelayer/app-elements-hook-form/dist/filters/methods/types'
import type { FormFullValues } from '@commercelayer/app-elements-hook-form/dist/filters/methods/types'
import castArray from 'lodash/castArray'
import useSWR, { type SWRResponse } from 'swr'
import { metricsApiFetcher } from './fetcher'
Expand Down
Loading

0 comments on commit fcd51ad

Please sign in to comment.