next start --port 7007
This commit is contained in:
parent
10da203964
commit
c0f9e87f7e
11 changed files with 163 additions and 8 deletions
13
.editorconfig
Executable file
13
.editorconfig
Executable file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# https://prettier.io/docs/configuration#editorconfig
|
||||||
|
|
||||||
|
[*]
|
||||||
|
# Non-configurable Prettier behaviors
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
||||||
|
# Caveat: Prettier won’t 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
33
.mcp.json
Executable 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
1
.node-version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
24
|
||||||
3
.prettierignore
Executable file
3
.prettierignore
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Ignore artifacts:
|
||||||
|
build
|
||||||
|
coverage
|
||||||
7
.prettierrc
Executable file
7
.prettierrc
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"trailingComma": "es5",
|
||||||
|
"tabWidth": 2,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"printWidth": 96
|
||||||
|
}
|
||||||
65
.vscode/launch.json
vendored
Executable file
65
.vscode/launch.json
vendored
Executable 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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
12
mcpServers/chrome-devtools-mcp.yaml
Executable file
12
mcpServers/chrome-devtools-mcp.yaml
Executable 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
8
mcpServers/playwright-mcp.yaml
Executable file
|
|
@ -0,0 +1,8 @@
|
||||||
|
name: Playwright mcpServer
|
||||||
|
version: 0.0.1
|
||||||
|
schema: v1
|
||||||
|
mcpServers:
|
||||||
|
- name: Browser search
|
||||||
|
command: npx
|
||||||
|
args:
|
||||||
|
- "@playwright/mcp@latest"
|
||||||
|
|
@ -3,9 +3,10 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"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",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "pnpm run check && next build && next start --port 7007",
|
||||||
"lint": "eslint"
|
"lint": "eslint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
@ -18,9 +19,10 @@
|
||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "^19",
|
"@types/react": "^19",
|
||||||
"@types/react-dom": "^19",
|
"@types/react-dom": "^19",
|
||||||
|
"baseline-browser-mapping": "^2.11.4",
|
||||||
"eslint": "^9",
|
"eslint": "^9",
|
||||||
"eslint-config-next": "16.2.12",
|
"eslint-config-next": "16.2.12",
|
||||||
"tailwindcss": "^4",
|
"tailwindcss": "^4",
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
|
|
@ -30,6 +30,9 @@ importers:
|
||||||
'@types/react-dom':
|
'@types/react-dom':
|
||||||
specifier: ^19
|
specifier: ^19
|
||||||
version: 19.2.3(@types/react@19.2.17)
|
version: 19.2.3(@types/react@19.2.17)
|
||||||
|
baseline-browser-mapping:
|
||||||
|
specifier: ^2.11.4
|
||||||
|
version: 2.11.4
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^9
|
specifier: ^9
|
||||||
version: 9.39.5(jiti@2.7.0)(supports-color@7.2.0)
|
version: 9.39.5(jiti@2.7.0)(supports-color@7.2.0)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,11 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2017",
|
"target": "esnext",
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|
@ -19,7 +23,9 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"]
|
"@/*": [
|
||||||
|
"./*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
@ -30,5 +36,7 @@
|
||||||
".next/dev/types/**/*.ts",
|
".next/dev/types/**/*.ts",
|
||||||
"**/*.mts"
|
"**/*.mts"
|
||||||
],
|
],
|
||||||
"exclude": ["node_modules"]
|
"exclude": [
|
||||||
}
|
"node_modules"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue