@chen_258/audit-tool 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,149 @@
1
+ {
2
+ "name": "vue-template",
3
+ "type": "module",
4
+ "version": "0.0.0",
5
+ "private": true,
6
+ "packageManager": "pnpm@10.8.0",
7
+ "engines": {
8
+ "node": ">=20.18.0"
9
+ },
10
+ "scripts": {
11
+ "dev": "vite",
12
+ "CICD": "node ./scripts/CICD.mjs",
13
+ "build": "vite build --mode production & node ./scripts/build.mjs",
14
+ "build:linux": "vite build --mode production && node ./scripts/build-linux.mjs",
15
+ "build-only": "vite build --mode production",
16
+ "pages:build": "vite build --mode github",
17
+ "preview": "vite preview",
18
+ "type-check": "vue-tsc --noEmit",
19
+ "lint-check": "eslint --inspect-config",
20
+ "lint:eslint": "eslint . --fix",
21
+ "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
22
+ "prepare": "node .husky/install.mjs",
23
+ "lint-staged": "lint-staged",
24
+ "commit": "git-cz"
25
+ },
26
+ "postcss": {
27
+ "plugins": {
28
+ "tailwindcss": {},
29
+ "autoprefixer": {}
30
+ }
31
+ },
32
+ "lint-staged": {
33
+ "*.{js,jsx,ts,tsx,vue}": [
34
+ "eslint --fix --no-warn-ignored"
35
+ ],
36
+ "*.{css,scss,less,vue}": [
37
+ "stylelint --fix"
38
+ ]
39
+ },
40
+ "config": {
41
+ "commitizen": {
42
+ "path": "cz-customizable"
43
+ },
44
+ "cz-customizable": {
45
+ "config": ".cz-config.cjs"
46
+ }
47
+ },
48
+ "dependencies": {
49
+ "@element-plus/icons-vue": "^2.3.1",
50
+ "@moluoxixi/keepallalive": "1.3.8",
51
+ "@sentry/vite-plugin": "^3.5.0",
52
+ "@sentry/vue": "^9.27.0",
53
+ "@tato30/vue-pdf": "^2.0.1",
54
+ "axios": "^1.9.0",
55
+ "big.js": "^7.0.1",
56
+ "crypto-js": "^4.2.0",
57
+ "element-plus": "2.11.1",
58
+ "file-saver": "^2.0.5",
59
+ "locale": "link:element-plus/es/locale",
60
+ "lodash": "^4.17.21",
61
+ "moment": "^2.30.1",
62
+ "pinia": "2.3.0",
63
+ "pinia-plugin-persistedstate": "^4.2.0",
64
+ "radash": "^12.1.0",
65
+ "rxjs": "^7.8.1",
66
+ "sortablejs": "^1.15.6",
67
+ "uuid": "^11.1.0",
68
+ "vite-plugin-qiankun": "^1.0.15",
69
+ "vue": "^3.5.13",
70
+ "vue-i18n": "^11.1.1",
71
+ "vue-router": "4.5.0",
72
+ "vue3-count-to": "^1.1.2",
73
+ "vxe-table": "4.13.39",
74
+ "xlsx": "^0.18.5"
75
+ },
76
+ "devDependencies": {
77
+ "@antfu/eslint-config": "^4.16.1",
78
+ "@commitlint/cli": "^19.8.0",
79
+ "@commitlint/config-conventional": "^19.8.0",
80
+ "@moluoxixi/eslintconfig": "^0.0.4",
81
+ "@moluoxixi/viteconfig": "^0.0.16",
82
+ "@tailwindcss/postcss": "^4.1.5",
83
+ "@types/big.js": "^6.2.2",
84
+ "@types/crypto-js": "^4.2.2",
85
+ "@types/file-saver": "^2.0.7",
86
+ "@types/lodash": "^4.17.17",
87
+ "@types/node": "^22.14.0",
88
+ "@types/sortablejs": "^1.15.8",
89
+ "@types/uuid": "^10.0.0",
90
+ "@vitejs/plugin-vue": "^5.2.3",
91
+ "@vitejs/plugin-vue-jsx": "^4.1.2",
92
+ "@vue-macros/volar": "^3.0.0-beta.15",
93
+ "autoprefixer": "^10.4.21",
94
+ "chalk": "4.1.2",
95
+ "commitizen": "^4.3.1",
96
+ "compressing": "^1.10.1",
97
+ "cz-customizable": "^7.4.0",
98
+ "dotenv": "^16.5.0",
99
+ "eslint": "^9.22.0",
100
+ "eslint-plugin-format": "^1.0.1",
101
+ "husky": "^9.1.7",
102
+ "jiti": "^2.4.2",
103
+ "lint-staged": "^15.5.1",
104
+ "npm-run-all2": "^7.0.2",
105
+ "oxlint": "^0.16.0",
106
+ "postcss": "^8.5.3",
107
+ "rollup-plugin-visualizer": "^5.14.0",
108
+ "sass": "^1.87.0",
109
+ "sass-embedded": "^1.87.0",
110
+ "sass-loader": "^16.0.5",
111
+ "tailwindcss": "^4.1.5",
112
+ "typescript": "~5.8.0",
113
+ "unplugin-auto-import": "^19.3.0",
114
+ "unplugin-vue-components": "^28.7.0",
115
+ "vite": "^6.2.4",
116
+ "vite-plugin-cdn-import": "^1.0.1",
117
+ "vite-plugin-compression": "^0.5.1",
118
+ "vite-plugin-html": "^3.2.2",
119
+ "vite-plugin-imagemin": "^0.6.1",
120
+ "vite-plugin-qiankun": "^1.0.15",
121
+ "vite-plugin-vue-devtools": "^7.7.2",
122
+ "vue-tsc": "^2.2.8"
123
+ },
124
+ "author": "1983531544@qq.com",
125
+ "license": "MIT",
126
+ "repository": {
127
+ "type": "git",
128
+ "url": "git+https://github.com/moluoxixi-template/vue-template.git"
129
+ },
130
+ "keywords": [
131
+ "element-plus",
132
+ "ElementPlus",
133
+ "vue",
134
+ "vite",
135
+ "vue3",
136
+ "ts",
137
+ "eslint",
138
+ "commitlint",
139
+ "husky",
140
+ "lint-staged",
141
+ "typescript",
142
+ "vite",
143
+ "pinia",
144
+ "router",
145
+ "sass",
146
+ "tailwindcss",
147
+ "template"
148
+ ]
149
+ }
package/dist/mcp/index.js CHANGED
File without changes
@@ -17,7 +17,7 @@ export function createAuditServer() {
17
17
  }, async ({ project_url }) => {
18
18
  let workDir = null;
19
19
  try {
20
- const workDir = await createWorkDir(); // 创建临时目录
20
+ workDir = await createWorkDir(); // 创建临时目录
21
21
  // 获取本地或者远程工程文件的package.json(标准化扫描结果)
22
22
  const scanResult = await getPageJsonWithPaths(project_url);
23
23
  const { packages: packagesInfo, detectedTypes } = scanResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chen_258/audit-tool",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "main": "./dist/mcp/index.js",
6
6
  "bin": {