From eb669e87f16b9a1d1ce68e3940e8a7de47b47261 Mon Sep 17 00:00:00 2001
From: arrow2nd <44780846+arrow2nd@users.noreply.github.com>
Date: Thu, 19 Oct 2023 20:31:35 +0900
Subject: [PATCH 01/50] =?UTF-8?q?=F0=9F=94=A7=20=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next.config.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/next.config.js b/next.config.js
index d83edcb..f89c308 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,10 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
- swcMinify: true,
- experimental: {
- appDir: true
- }
+ swcMinify: true
};
module.exports = nextConfig;
From 3149bcad77d32397ec1bfd519e188928e9d44ee7 Mon Sep 17 00:00:00 2001
From: arrow2nd <44780846+arrow2nd@users.noreply.github.com>
Date: Thu, 19 Oct 2023 20:44:23 +0900
Subject: [PATCH 02/50] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20search=20->=20form?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../__snapshots__/index.test.tsx.snap | 0
components/ui/{search => form}/index.test.tsx | 6 +-
components/ui/form/index.tsx | 39 +++++++
.../ui/{search => form}/input/index.test.tsx | 0
components/ui/form/input/index.tsx | 24 +++++
.../ui/{search => form}/label/index.tsx | 0
.../ui/{search => form}/select/index.test.tsx | 0
.../ui/{search => form}/select/index.tsx | 0
components/ui/index.tsx | 38 ++-----
components/ui/search/index.tsx | 100 ------------------
components/ui/search/input/index.tsx | 50 ---------
11 files changed, 72 insertions(+), 185 deletions(-)
rename components/ui/{search => form}/__snapshots__/index.test.tsx.snap (100%)
rename components/ui/{search => form}/index.test.tsx (93%)
create mode 100644 components/ui/form/index.tsx
rename components/ui/{search => form}/input/index.test.tsx (100%)
create mode 100644 components/ui/form/input/index.tsx
rename components/ui/{search => form}/label/index.tsx (100%)
rename components/ui/{search => form}/select/index.test.tsx (100%)
rename components/ui/{search => form}/select/index.tsx (100%)
delete mode 100644 components/ui/search/index.tsx
delete mode 100644 components/ui/search/input/index.tsx
diff --git a/components/ui/search/__snapshots__/index.test.tsx.snap b/components/ui/form/__snapshots__/index.test.tsx.snap
similarity index 100%
rename from components/ui/search/__snapshots__/index.test.tsx.snap
rename to components/ui/form/__snapshots__/index.test.tsx.snap
diff --git a/components/ui/search/index.test.tsx b/components/ui/form/index.test.tsx
similarity index 93%
rename from components/ui/search/index.test.tsx
rename to components/ui/form/index.test.tsx
index 137c1c1..9a3e0a0 100644
--- a/components/ui/search/index.test.tsx
+++ b/components/ui/form/index.test.tsx
@@ -1,20 +1,20 @@
import { fireEvent, render } from "@testing-library/react";
import { act } from "react-dom/test-utils";
-import Search from "./index";
+import Form from "./index";
describe("Search", () => {
const sleep = () => new Promise((r) => setTimeout(r, 50));
const keyDownEnter = { key: "Enter", code: "Enter", charCode: 13 };
test("見た目が変化していないか", () => {
- const { container } = render(