chore: scaffold pnpm workspace

This commit is contained in:
zeyu.fz
2026-08-15 18:25:13 +08:00
commit 3aedb7b7fb
5 changed files with 36 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
node_modules/
lib/
*.tsbuildinfo
+14
View File
@@ -0,0 +1,14 @@
{
"name": "bailian-kb-workspace",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm -r run build",
"test": "vitest run",
"typecheck": "tsc -b packages/tool-bailian-kb"
},
"devDependencies": {
"typescript": "^5.7.2",
"vitest": "^3.0.0"
}
}
+2
View File
@@ -0,0 +1,2 @@
packages:
- packages/*
+12
View File
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"strict": true,
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"skipLibCheck": true,
"isolatedModules": true,
"verbatimModuleSyntax": true
}
}
+5
View File
@@ -0,0 +1,5 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: { include: ['packages/*/tests/**/*.test.ts'] },
})