Skip to content

Commit

Permalink
⬆️ Upgrade dependencies (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
wei authored Sep 7, 2024
1 parent 0b11cc4 commit 5b7ec64
Show file tree
Hide file tree
Showing 8 changed files with 398 additions and 389 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-roses-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"socialify": minor
---

Upgrade dependencies
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn verify
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
# gitmoji as a commit hook
exec < /dev/tty
gitmoji --hook $1 $2
npx gitmoji-cli --hook $1 $2
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
36 changes: 19 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,41 +19,43 @@
"verify": "yarn lint && yarn test && yarn build",
"download-font": "./fonts/download-font.sh",
"postinstall": "cp ./node_modules/yoga-wasm-web/dist/yoga.wasm ./public/yoga.wasm; cp ./node_modules/@resvg/resvg-wasm/index_bg.wasm ./public/resvg_bg.wasm",
"prepare": "is-ci || husky install"
"prepare": "is-ci || husky"
},
"dependencies": {
"@changesets/cli": "^2.27.7",
"@changesets/cli": "^2.27.8",
"@resvg/resvg-wasm": "^2.6.2",
"autoprefixer": "^10.4.19",
"autoprefixer": "^10.4.20",
"badgen": "^3.2.3",
"clsx": "^2.1.1",
"copee": "^1.0.6",
"daisyui": "^2.46.1",
"hero-patterns": "^2.1.0",
"is-ci": "^3.0.1",
"next": "^14.2.3",
"postcss": "^8.4.38",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "^14.2.8",
"postcss": "^8.4.45",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-hot-toast": "^2.4.1",
"react-icons": "^5.2.1",
"satori": "^0.10.13",
"react-icons": "^5.3.0",
"satori": "^0.10.14",
"simple-icons": "^11.13.0",
"styled-jsx": "^5.1.6",
"tailwindcss": "^3.4.3",
"typescript": "~5.4.5",
"use-debounce": "^10.0.0",
"tailwindcss": "^3.4.10",
"typescript": "~5.5.4",
"use-debounce": "^10.0.3",
"yoga-wasm-web": "^0.3.3"
},
"devDependencies": {
"@biomejs/biome": "^1.7.3",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.5",
"@biomejs/biome": "^1.8.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.12",
"graphql": "^16.8.1",
"@types/react": "18.3.5",
"graphql": "^16.9.0",
"graphql-compiler": "^1.7.0",
"husky": "^9.0.11",
"husky": "^9.1.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0"
Expand Down
2 changes: 1 addition & 1 deletion src/components/hooks/use-autofocus.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback } from 'react'

const useAutoFocus = () => {
const inputRef = useCallback((inputElement) => {
const inputRef = useCallback((inputElement: HTMLInputElement) => {
if (inputElement) {
inputElement.focus()
}
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"compilerOptions": {
"target": "es2015",
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"module": "es2020",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
Expand Down
Loading

0 comments on commit 5b7ec64

Please sign in to comment.