Skip to content

Commit

Permalink
chore: update confs, all major dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: rajput-hemant <[email protected]>
  • Loading branch information
rajput-hemant committed Sep 17, 2024
1 parent 98442c0 commit f88d465
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"^[@~]/.*$",
"^[.]"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
"experimentalTernaries": true
}
Binary file modified bun.lockb
Binary file not shown.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"preview": "next build && next start",
"lint": "next lint",
"type-check": "tsc --noEmit",
"fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache --experimental-ternaries",
"fmt": "prettier --write \"**/*.{ts,tsx,mdx,json}\" --cache",
"fmt:check": "prettier --check \"**/*.{ts,tsx,mdx,json}\" --cache",
"ui": "bunx shadcn-ui",
"ui": "bunx shadcn",
"db:generate": "drizzle-kit generate:pg",
"db:migrate": "bun src/lib/db/migrate.ts",
"db:push": "drizzle-kit push:pg",
Expand Down Expand Up @@ -46,8 +46,8 @@
"@upstash/redis": "^1.34.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^0.2.1",
"date-fns": "^3.6.0",
"cmdk": "^1.0.0",
"date-fns": "4.1.0",
"drizzle-orm": "^0.33.0",
"geist": "^1.3.1",
"jiti": "^1.21.6",
Expand All @@ -67,16 +67,16 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@total-typescript/ts-reset": "^0.6.1",
"@types/leaflet": "^1.9.12",
"@types/node": "22.5.5",
"@types/react": "18.3.7",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"autoprefixer": "10.4.20",
"drizzle-kit": "^0.24.2",
"eslint": "8.57.1",
Expand All @@ -95,7 +95,7 @@
},
"lint-staged": {
"*.{ts,tsx,md,mdx}": [
"prettier --write \"**/*.{ts,tsx,mdx}\" --cache --experimental-ternaries"
"prettier --write \"**/*.{ts,tsx,mdx}\" --cache"
],
"*.{ts,tsx,mdx}": [
"eslint --fix ."
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Command = React.forwardRef<
));
Command.displayName = CommandPrimitive.displayName;

interface CommandDialogProps extends DialogProps {}
type CommandDialogProps = DialogProps;

const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
return (
Expand Down
3 changes: 1 addition & 2 deletions src/components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import * as React from "react";

import { cn } from "@/lib/utils";

export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;

const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, readOnly, ...props }, ref) => {
Expand Down

0 comments on commit f88d465

Please sign in to comment.