next start --port 7007

This commit is contained in:
Bitdori (Admin) 2026-07-28 16:52:33 +09:00
parent 10da203964
commit c0f9e87f7e
11 changed files with 163 additions and 8 deletions

13
.editorconfig Executable file
View file

@ -0,0 +1,13 @@
# https://prettier.io/docs/configuration#editorconfig
[*]
# Non-configurable Prettier behaviors
charset = utf-8
insert_final_newline = true
# Caveat: Prettier wont trim trailing whitespace inside template strings, but your editor might.
# trim_trailing_whitespace = true
# Configurable Prettier behaviors
# (change these if your Prettier config differs)
indent_style = space
indent_size = 2

33
.mcp.json Executable file
View file

@ -0,0 +1,33 @@
{
"mcpServers": {
"next-devtools": {
"command": "pnpx",
"args": [
"-y",
"next-devtools-mcp@latest"
],
"env": {
"NEXT_TELEMETRY_DISABLED": "1"
}
},
"chrome-devtools": {
"command": "pnpx",
"args": [
"-y",
"chrome-devtools-mcp@latest",
"--no-usage-statistics"
],
"env": {
"CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS": "1"
}
},
"playwright": {
"command": "pnpx",
"args": [
"-y",
"@playwright/mcp@latest"
],
"url": "http://localhost:8931/mcp"
}
}
}

1
.node-version Normal file
View file

@ -0,0 +1 @@
24

3
.prettierignore Executable file
View file

@ -0,0 +1,3 @@
# Ignore artifacts:
build
coverage

7
.prettierrc Executable file
View file

@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 96
}

65
.vscode/launch.json vendored Executable file
View file

@ -0,0 +1,65 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to chrome",
"port": 9222
},
{
"name": "node",
"type": "node",
"request": "attach",
"port": 9229,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app",
"protocol": "inspector",
"restart": true,
"sourceMaps": true,
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "npm run dev -- --inspect"
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug client-side (Firefox)",
"type": "firefox",
"request": "launch",
"url": "http://localhost:3000",
"reAttach": true,
"pathMappings": [
{
"url": "webpack://_N_E",
"path": "${workspaceFolder}"
}
]
},
{
"name": "Next.js: debug full stack",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/next/dist/bin/next",
"runtimeArgs": ["--inspect"],
"skipFiles": ["<node_internals>/**"],
"serverReadyAction": {
"action": "debugWithEdge",
"killOnServerStop": true,
"pattern": "- Local:.+(https?://.+)",
"uriFormat": "%s",
"webRoot": "${workspaceFolder}"
}
}
]
}

View file

@ -0,0 +1,12 @@
name: Chrome DevTools MCP
version: 0.0.1
schema: v1
mcpServers:
- name: "Chrome DevTools (MCP) "
command: npx
args:
- -y
- chrome-devtools-mcp@latest
- --no-usage-statistics
env:
CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS: "1"

8
mcpServers/playwright-mcp.yaml Executable file
View file

@ -0,0 +1,8 @@
name: Playwright mcpServer
version: 0.0.1
schema: v1
mcpServers:
- name: Browser search
command: npx
args:
- "@playwright/mcp@latest"

View file

@ -3,9 +3,10 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"check": "pnpm i && pnpx next telemetry disable && pnpm i baseline-browser-mapping@latest -D && pnpx browserslist && git remote -v && git branch && node --version && pnpx npm-check-updates",
"dev": "pnpm run check && next dev",
"build": "next build",
"start": "next start",
"start": "pnpm run check && next build && next start --port 7007",
"lint": "eslint"
},
"dependencies": {
@ -18,9 +19,10 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"baseline-browser-mapping": "^2.11.4",
"eslint": "^9",
"eslint-config-next": "16.2.12",
"tailwindcss": "^4",
"typescript": "^5"
}
}
}

3
pnpm-lock.yaml generated
View file

@ -30,6 +30,9 @@ importers:
'@types/react-dom':
specifier: ^19
version: 19.2.3(@types/react@19.2.17)
baseline-browser-mapping:
specifier: ^2.11.4
version: 2.11.4
eslint:
specifier: ^9
version: 9.39.5(jiti@2.7.0)(supports-color@7.2.0)

View file

@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"target": "esnext",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -19,7 +23,9 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": [
"./*"
]
}
},
"include": [
@ -30,5 +36,7 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules"]
}
"exclude": [
"node_modules"
]
}