chore: add website directory to gitignore and update VSCode config

- Add `website/` to .gitignore to exclude website build artifacts
- Add Node.js debug configurations for FutureOSS website in launch.json
- Update VSCode color theme to "Default Dark Modern"
- Refactor plugin loader to simplify dependency and lifecycle plugin loading logic
This commit is contained in:
Falck
2026-04-25 06:43:45 +08:00
parent 2e07e95b02
commit 395cda2e8b
6 changed files with 1314 additions and 479 deletions

55
.vscode/launch.json vendored
View File

@@ -165,6 +165,59 @@
},
"cwd": "${workspaceFolder}",
"python": "${command:python.interpreterPath}"
},
{
"name": "FutureOSS 网站: 启动Node.js服务器",
"type": "node",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/website/src/server.js",
"outFiles": [
"${workspaceFolder}/website/**/*.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": {
"NODE_ENV": "development"
},
"autoAttachChildProcesses": true,
"sourceMaps": true,
"showAsyncStacks": true,
"smartStep": true,
"pauseForSourceMap": true,
"cwd": "${workspaceFolder}/website"
},
{
"name": "FutureOSS 网站: 开发模式启动",
"type": "node",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": {
"NODE_ENV": "development"
},
"autoAttachChildProcesses": true,
"sourceMaps": true,
"cwd": "${workspaceFolder}/website"
},
{
"name": "FutureOSS 网站: 附加到Node.js进程",
"type": "node",
"request": "attach",
"port": 9229,
"skipFiles": [
"<node_internals>/**"
],
"restart": true,
"localRoot": "${workspaceFolder}/website",
"remoteRoot": "${workspaceFolder}/website"
}
],
"inputs": [
@@ -185,4 +238,4 @@
"stopAll": true
}
]
}
}