- 添加 pnpm workspace 和 Turborepo 配置 - 创建 packages/shared 共享类型和工具 - 创建 packages/core-sdk 核心 SDK - 创建 packages/vscode-extension VSCode 插件 - 创建 packages/jetbrains-plugin JetBrains 插件基础结构 - 添加 README 文档
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "ide-data-collector",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "多IDE数据采集插件 Monorepo - 核心SDK与各IDE插件统一管理",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.devops.1msoft.cn/tangweijie/ide-data-collector.git"
|
|
},
|
|
"author": "tangweijie",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"pnpm": ">=8.0.0"
|
|
},
|
|
"packageManager": "pnpm@8.15.0",
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"dev": "turbo run dev",
|
|
"lint": "turbo run lint",
|
|
"test": "turbo run test",
|
|
"clean": "turbo run clean && rm -rf node_modules",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.2.0",
|
|
"prettier": "^3.1.0",
|
|
"turbo": "^1.11.0",
|
|
"typescript": "^5.3.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|
|
|