Skip to content

Commit

Permalink
Merge pull request #641 from arrow2nd/update-deps
Browse files Browse the repository at this point in the history
📦 依存関係を更新
  • Loading branch information
arrow2nd authored Dec 19, 2024
2 parents b070750 + 07e8179 commit cfcc354
Show file tree
Hide file tree
Showing 9 changed files with 3,346 additions and 1,227 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ColorButtton 色が指定されていない時の表示は正しいか 1`] = `
exports[`ColorButton 色が指定されていない時の表示は正しいか 1`] = `
<div>
<button
class="mx-1 p-0 rounded-full border-2 border-transparent"
Expand Down
2 changes: 1 addition & 1 deletion components/organisms/search-colors/color-button.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { act, fireEvent, render } from '@testing-library/react'
import ColorButton from './color-button'

describe('ColorButtton', () => {
describe('ColorButton', () => {
const color = {
name: '赤',
hex: '#ff0000'
Expand Down
1 change: 1 addition & 0 deletions components/organisms/search-colors/color-button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from 'react'
import ColorSampleCircle from 'components/atoms/color-sample/circle'
import { SearchColor } from 'types/search-color'

Expand Down
1 change: 1 addition & 0 deletions components/organisms/search-colors/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from 'react'
import { searchColors } from 'data/search-colors'
import ColorButton from './color-button'

Expand Down
14 changes: 14 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { fixupConfigRules } = require('@eslint/compat')
const { FlatCompat } = require('@eslint/eslintrc')
const prettier = require('eslint-config-prettier')

const flatCompat = new FlatCompat()

module.exports = [
...fixupConfigRules(
flatCompat.extends('next/core-web-vitals'),
flatCompat.extends('next/typescript')
),
prettier
]

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/app/api-reference/config/typescript for more information.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@
},
"dependencies": {
"next": "15.1.2",
"react": "18.3.1",
"react": "19.0.0",
"react-device-detect": "^2.2.3",
"react-dom": "18.3.1",
"react-dom": "19.0.0",
"react-github-corner": "^2.5.0",
"react-icons": "^5.0.1",
"react-infinite-scroller": "^1.2.6",
"react-scroll": "^1.9.0",
"use-media": "^1.5.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@playwright/test": "^1.42.1",
"@tailwindcss/forms": "^0.5.7",
"@testing-library/jest-dom": "^6.4.2",
Expand All @@ -32,7 +34,8 @@
"@types/color-convert": "^2.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.0",
"@types/react": "18.3.17",
"@types/react": "19.0.2",
"@types/react-dom": "^19.0.0",
"@types/react-scroll": "^1.8.10",
"autoprefixer": "^10.4.18",
"axios": "^1.6.7",
Expand Down
Loading

0 comments on commit cfcc354

Please sign in to comment.