vue2server7 3.0.2 → 4.0.0
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.
- package/frontEnd/vite.config.ts +18 -0
- package/package.json +18 -6
- package/test/docs.zip +0 -0
- package/1992 +0 -1
- package/frontEnd/package-lock.json +0 -3279
- package/frontEnd/package.json +0 -29
- /package/{frontEnd/vite.config.js → test/convert-java-to-ts.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig } from 'vite';
|
|
2
|
+
import vue from '@vitejs/plugin-vue';
|
|
3
|
+
import vueDevTools from 'vite-plugin-vue-devtools';
|
|
4
|
+
import { fileURLToPath, URL } from 'node:url';
|
|
5
|
+
import { resolve } from 'node:path';
|
|
6
|
+
|
|
7
|
+
// https://vitejs.dev/config/
|
|
8
|
+
export default defineConfig({
|
|
9
|
+
plugins: [
|
|
10
|
+
vue(),
|
|
11
|
+
vueDevTools(),
|
|
12
|
+
],
|
|
13
|
+
resolve: {
|
|
14
|
+
alias: {
|
|
15
|
+
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue2server7",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "nodemon --watch src --ext ts --exec \"ts-node src/app.ts\"",
|
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
"typecheck": "tsc --noEmit",
|
|
10
10
|
"lint": "eslint .",
|
|
11
11
|
"test": "npm run build && node --test",
|
|
12
|
-
"front-dev": "
|
|
13
|
-
"front-build": "
|
|
14
|
-
"front-preview": "
|
|
12
|
+
"front-dev": "vite frontEnd",
|
|
13
|
+
"front-build": "vite build frontEnd",
|
|
14
|
+
"front-preview": "vite preview frontEnd",
|
|
15
15
|
"copy-frontend": "rm -rf dist/public && mkdir -p dist/public && cp -R frontEnd/dist/* dist/public/",
|
|
16
16
|
"build:all": "npm run build && npm run front-build && npm run copy-frontend",
|
|
17
|
+
"dev:all": "concurrently \"npm run dev\" \"npm run front-dev\"",
|
|
17
18
|
"发布": "npm publish",
|
|
18
19
|
"修订 ": "npm version patch",
|
|
19
20
|
"次版本": "npm version minor",
|
|
@@ -33,7 +34,14 @@
|
|
|
33
34
|
"dotenv": "^16.6.1",
|
|
34
35
|
"express": "^5.2.1",
|
|
35
36
|
"helmet": "^8.1.0",
|
|
36
|
-
"morgan": "^1.10.1"
|
|
37
|
+
"morgan": "^1.10.1",
|
|
38
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
39
|
+
"axios": "^1.13.2",
|
|
40
|
+
"echarts": "^5.5.1",
|
|
41
|
+
"element-plus": "^2.8.4",
|
|
42
|
+
"sortablejs": "^1.15.6",
|
|
43
|
+
"vue": "^3.5.13",
|
|
44
|
+
"vue-router": "^4.4.5"
|
|
37
45
|
},
|
|
38
46
|
"devDependencies": {
|
|
39
47
|
"@types/cors": "^2.8.19",
|
|
@@ -41,11 +49,15 @@
|
|
|
41
49
|
"@types/morgan": "^1.9.9",
|
|
42
50
|
"@types/node": "^22.10.5",
|
|
43
51
|
"@typescript-eslint/parser": "^8.19.0",
|
|
52
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
44
53
|
"eslint": "^9.18.0",
|
|
45
54
|
"ts-node": "^10.9.2",
|
|
46
55
|
"supertest": "^7.1.4",
|
|
47
56
|
"typescript": "^5.7.3",
|
|
48
|
-
"nodemon": "^3.0.1"
|
|
57
|
+
"nodemon": "^3.0.1",
|
|
58
|
+
"concurrently": "^9.1.0",
|
|
59
|
+
"vite": "^6.0.0",
|
|
60
|
+
"vite-plugin-vue-devtools": "^8.0.6"
|
|
49
61
|
},
|
|
50
62
|
"publishConfig": {
|
|
51
63
|
"access": "public",
|
package/test/docs.zip
ADDED
|
Binary file
|
package/1992
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2222多撒点
|