chore: monorepo scaffolding — pnpm workspaces, biome, tsup, coding conventions

- packages/core, packages/cli, packages/daemon
- biome: noDefaultExport, useNodejsImportProtocol, noStaticOnlyClass
- docs/coding-conventions.md: 函数式优先,type over interface
This commit is contained in:
2026-04-22 06:05:21 +00:00
parent 643c353cc3
commit a7126c453f
19 changed files with 1331 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "nerve",
"private": true,
"scripts": {
"build": "pnpm -r run build",
"check": "biome check .",
"format": "biome format --write ."
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"tsup": "^8.0.0",
"typescript": "^5.5.0"
}
}