Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 2b103b4

Browse files
authored
Merge pull request #2 from u-hossy/feat/init-setup
Dependabot有効化のため、一旦merge
2 parents b4c82f4 + 1d55fef commit 2b103b4

File tree

18 files changed

+1679
-0
lines changed

18 files changed

+1679
-0
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily
7+
- package-ecosystem: npm
8+
directory: /frontend/
9+
schedule:
10+
interval: daily

backend/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# バックエンド

frontend/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

frontend/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# フロントエンド

frontend/biome.json

Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
3+
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4+
"files": { "ignoreUnknown": false },
5+
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2 },
6+
"linter": {
7+
"enabled": true,
8+
"rules": { "recommended": false },
9+
"includes": ["**", "!dist"]
10+
},
11+
"javascript": { "formatter": { "quoteStyle": "double" } },
12+
"overrides": [
13+
{
14+
"includes": ["**/*.{ts,tsx}"],
15+
"linter": {
16+
"rules": {
17+
"complexity": {
18+
"noAdjacentSpacesInRegex": "error",
19+
"noExtraBooleanCast": "error",
20+
"noUselessCatch": "error",
21+
"noUselessEscapeInRegex": "error"
22+
},
23+
"correctness": {
24+
"noConstAssign": "error",
25+
"noConstantCondition": "error",
26+
"noEmptyCharacterClassInRegex": "error",
27+
"noEmptyPattern": "error",
28+
"noGlobalObjectCalls": "error",
29+
"noInvalidBuiltinInstantiation": "error",
30+
"noInvalidConstructorSuper": "error",
31+
"noNonoctalDecimalEscape": "error",
32+
"noPrecisionLoss": "error",
33+
"noSelfAssign": "error",
34+
"noSetterReturn": "error",
35+
"noSwitchDeclarations": "error",
36+
"noUndeclaredVariables": "error",
37+
"noUnreachable": "error",
38+
"noUnreachableSuper": "error",
39+
"noUnsafeFinally": "error",
40+
"noUnsafeOptionalChaining": "error",
41+
"noUnusedLabels": "error",
42+
"noUnusedPrivateClassMembers": "error",
43+
"noUnusedVariables": "error",
44+
"useIsNan": "error",
45+
"useValidForDirection": "error",
46+
"useValidTypeof": "error",
47+
"useYield": "error"
48+
},
49+
"suspicious": {
50+
"noAsyncPromiseExecutor": "error",
51+
"noCatchAssign": "error",
52+
"noClassAssign": "error",
53+
"noCompareNegZero": "error",
54+
"noConstantBinaryExpressions": "error",
55+
"noControlCharactersInRegex": "error",
56+
"noDebugger": "error",
57+
"noDuplicateCase": "error",
58+
"noDuplicateClassMembers": "error",
59+
"noDuplicateElseIf": "error",
60+
"noDuplicateObjectKeys": "error",
61+
"noDuplicateParameters": "error",
62+
"noEmptyBlockStatements": "error",
63+
"noFallthroughSwitchClause": "error",
64+
"noFunctionAssign": "error",
65+
"noGlobalAssign": "error",
66+
"noImportAssign": "error",
67+
"noIrregularWhitespace": "error",
68+
"noMisleadingCharacterClass": "error",
69+
"noPrototypeBuiltins": "error",
70+
"noRedeclare": "error",
71+
"noShadowRestrictedNames": "error",
72+
"noSparseArray": "error",
73+
"noUnsafeNegation": "error",
74+
"noUselessRegexBackrefs": "error",
75+
"noWith": "error",
76+
"useGetterReturn": "error"
77+
}
78+
}
79+
}
80+
},
81+
{ "includes": ["**/*.{ts,tsx}"], "javascript": { "globals": [] } },
82+
{
83+
"includes": [
84+
"**/*.{ts,tsx}",
85+
"**/*.ts",
86+
"**/*.{ts,tsx}",
87+
"**/*.tsx",
88+
"**/*.{ts,tsx}",
89+
"**/*.mts",
90+
"**/*.{ts,tsx}",
91+
"**/*.cts"
92+
],
93+
"linter": {
94+
"rules": {
95+
"complexity": { "noArguments": "error" },
96+
"correctness": {
97+
"noConstAssign": "off",
98+
"noGlobalObjectCalls": "off",
99+
"noInvalidBuiltinInstantiation": "off",
100+
"noInvalidConstructorSuper": "off",
101+
"noSetterReturn": "off",
102+
"noUndeclaredVariables": "off",
103+
"noUnreachable": "off",
104+
"noUnreachableSuper": "off"
105+
},
106+
"style": { "useConst": "error" },
107+
"suspicious": {
108+
"noClassAssign": "off",
109+
"noDuplicateClassMembers": "off",
110+
"noDuplicateObjectKeys": "off",
111+
"noDuplicateParameters": "off",
112+
"noFunctionAssign": "off",
113+
"noImportAssign": "off",
114+
"noRedeclare": "off",
115+
"noUnsafeNegation": "off",
116+
"noVar": "error",
117+
"noWith": "off",
118+
"useGetterReturn": "off"
119+
}
120+
}
121+
}
122+
},
123+
{
124+
"includes": ["**/*.{ts,tsx}"],
125+
"linter": {
126+
"rules": {
127+
"complexity": { "noUselessTypeConstraint": "error" },
128+
"correctness": { "noUnusedVariables": "error" },
129+
"style": {
130+
"noCommonJs": "error",
131+
"noNamespace": "error",
132+
"useArrayLiterals": "error",
133+
"useAsConstAssertion": "error"
134+
},
135+
"suspicious": {
136+
"noExplicitAny": "error",
137+
"noExtraNonNullAssertion": "error",
138+
"noMisleadingInstantiator": "error",
139+
"noUnsafeDeclarationMerging": "error",
140+
"useNamespaceKeyword": "error"
141+
}
142+
}
143+
}
144+
},
145+
{
146+
"includes": ["**/*.{ts,tsx}"],
147+
"linter": {
148+
"rules": {
149+
"correctness": {
150+
"useExhaustiveDependencies": "warn",
151+
"useHookAtTopLevel": "error"
152+
}
153+
}
154+
}
155+
},
156+
{ "includes": ["**/*.{ts,tsx}"], "linter": { "rules": {} } },
157+
{
158+
"includes": ["**/*.{ts,tsx}"],
159+
"javascript": {
160+
"globals": [
161+
"onanimationend",
162+
"ongamepadconnected",
163+
"onlostpointercapture",
164+
"onanimationiteration",
165+
"onkeyup",
166+
"onmousedown",
167+
"onanimationstart",
168+
"onslotchange",
169+
"onprogress",
170+
"ontransitionstart",
171+
"onpause",
172+
"onended",
173+
"onpointerover",
174+
"onscrollend",
175+
"onformdata",
176+
"ontransitionrun",
177+
"onanimationcancel",
178+
"ondrag",
179+
"onchange",
180+
"onbeforeinstallprompt",
181+
"onbeforexrselect",
182+
"onmessage",
183+
"ontransitioncancel",
184+
"onpointerdown",
185+
"onabort",
186+
"onpointerout",
187+
"oncuechange",
188+
"ongotpointercapture",
189+
"onscrollsnapchanging",
190+
"onsearch",
191+
"onsubmit",
192+
"onstalled",
193+
"onsuspend",
194+
"onreset",
195+
"onerror",
196+
"onresize",
197+
"onmouseenter",
198+
"ongamepaddisconnected",
199+
"ondragover",
200+
"onbeforetoggle",
201+
"onmouseover",
202+
"onpagehide",
203+
"onmousemove",
204+
"onratechange",
205+
"oncommand",
206+
"onmessageerror",
207+
"onwheel",
208+
"ondevicemotion",
209+
"onauxclick",
210+
"ontransitionend",
211+
"onpaste",
212+
"onpageswap",
213+
"ononline",
214+
"ondeviceorientationabsolute",
215+
"onkeydown",
216+
"onclose",
217+
"onselect",
218+
"onpageshow",
219+
"onpointercancel",
220+
"onbeforematch",
221+
"onpointerrawupdate",
222+
"ondragleave",
223+
"onscrollsnapchange",
224+
"onseeked",
225+
"onwaiting",
226+
"onbeforeunload",
227+
"onplaying",
228+
"onvolumechange",
229+
"ondragend",
230+
"onstorage",
231+
"onloadeddata",
232+
"onfocus",
233+
"onoffline",
234+
"onplay",
235+
"onafterprint",
236+
"onclick",
237+
"oncut",
238+
"onmouseout",
239+
"ondblclick",
240+
"oncanplay",
241+
"onloadstart",
242+
"onappinstalled",
243+
"onpointermove",
244+
"ontoggle",
245+
"oncontextmenu",
246+
"onblur",
247+
"oncancel",
248+
"onbeforeprint",
249+
"oncontextrestored",
250+
"onloadedmetadata",
251+
"onpointerup",
252+
"onlanguagechange",
253+
"oncopy",
254+
"onselectstart",
255+
"onscroll",
256+
"onload",
257+
"ondragstart",
258+
"onbeforeinput",
259+
"oncanplaythrough",
260+
"oninput",
261+
"oninvalid",
262+
"ontimeupdate",
263+
"ondurationchange",
264+
"onselectionchange",
265+
"onmouseup",
266+
"location",
267+
"onkeypress",
268+
"onpointerleave",
269+
"oncontextlost",
270+
"ondrop",
271+
"onsecuritypolicyviolation",
272+
"oncontentvisibilityautostatechange",
273+
"ondeviceorientation",
274+
"onseeking",
275+
"onrejectionhandled",
276+
"onunload",
277+
"onmouseleave",
278+
"onhashchange",
279+
"onpointerenter",
280+
"onmousewheel",
281+
"onunhandledrejection",
282+
"ondragenter",
283+
"onpopstate",
284+
"onpagereveal",
285+
"onemptied"
286+
]
287+
}
288+
}
289+
],
290+
"assist": {
291+
"enabled": true,
292+
"actions": { "source": { "organizeImports": "on" } }
293+
}
294+
}

frontend/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>project-experiment</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

frontend/package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "project-experiment",
3+
"private": true,
4+
"version": "1.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc -b && vite build",
9+
"preview": "vite preview",
10+
"check": "biome check",
11+
"check:fix": "biome check --write"
12+
},
13+
"dependencies": {
14+
"react": "^19.1.1",
15+
"react-dom": "^19.1.1"
16+
},
17+
"devDependencies": {
18+
"@biomejs/biome": "2.2.5",
19+
"@types/node": "^24.6.0",
20+
"@types/react": "^19.1.16",
21+
"@types/react-dom": "^19.1.9",
22+
"@vitejs/plugin-react": "^5.0.4",
23+
"globals": "^16.4.0",
24+
"typescript": "^5.9.3",
25+
"vite": "npm:rolldown-vite@7.1.14"
26+
},
27+
"pnpm": {
28+
"overrides": {
29+
"vite": "npm:rolldown-vite@7.1.14"
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)