@vuebro/configs 1.1.78 → 1.2.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/dist/vite.config.js +8 -1
- package/package.json +8 -6
- package/tsconfig.json +2 -2
package/dist/vite.config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import unoCSS from "@unocss/vite";
|
|
2
2
|
import vue from "@vitejs/plugin-vue";
|
|
3
|
+
import reactivityTransform from "@vue-macros/reactivity-transform/vite";
|
|
3
4
|
import { defineConfig } from "vite";
|
|
4
5
|
import vueDevTools from "vite-plugin-vue-devtools";
|
|
5
6
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
@@ -7,5 +8,11 @@ export default defineConfig({
|
|
|
7
8
|
define: {
|
|
8
9
|
__APP_VERSION__: JSON.stringify(process.env["npm_package_version"]),
|
|
9
10
|
},
|
|
10
|
-
plugins: [
|
|
11
|
+
plugins: [
|
|
12
|
+
reactivityTransform(),
|
|
13
|
+
vue(),
|
|
14
|
+
vueDevTools(),
|
|
15
|
+
unoCSS(),
|
|
16
|
+
tsconfigPaths(),
|
|
17
|
+
],
|
|
11
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://www.schemastore.org/package.json",
|
|
2
3
|
"name": "@vuebro/configs",
|
|
3
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
4
5
|
"description": "A comprehensive collection of shared configuration files for Vue.js projects with TypeScript, ESLint, Prettier, UnoCSS, and Vite, featuring Pug support",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"vue",
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"@eslint/js": "^9.39.1",
|
|
65
66
|
"@eslint/json": "^0.14.0",
|
|
66
67
|
"@prettier/plugin-pug": "^3.4.2",
|
|
67
|
-
"@tsconfig/strictest": "^2.0.
|
|
68
|
+
"@tsconfig/strictest": "^2.0.8",
|
|
68
69
|
"@unocss/extractor-arbitrary-variants": "^66.5.6",
|
|
69
70
|
"@unocss/extractor-pug": "^66.5.6",
|
|
70
71
|
"@unocss/preset-attributify": "^66.5.6",
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
"@unocss/preset-wind4": "^66.5.6",
|
|
76
77
|
"@unocss/vite": "^66.5.6",
|
|
77
78
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
79
|
+
"@vue-macros/reactivity-transform": "^3.1.1",
|
|
78
80
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
79
81
|
"@vue/language-plugin-pug": "^3.1.3",
|
|
80
82
|
"@vue/tsconfig": "^0.8.1",
|
|
@@ -83,10 +85,10 @@
|
|
|
83
85
|
"eslint-config-prettier": "^10.1.8",
|
|
84
86
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
85
87
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
86
|
-
"eslint-plugin-depend": "^1.
|
|
88
|
+
"eslint-plugin-depend": "^1.4.0",
|
|
87
89
|
"eslint-plugin-import-x": "^4.16.1",
|
|
88
|
-
"eslint-plugin-jsdoc": "^61.1
|
|
89
|
-
"eslint-plugin-package-json": "^0.
|
|
90
|
+
"eslint-plugin-jsdoc": "^61.2.1",
|
|
91
|
+
"eslint-plugin-package-json": "^0.74.0",
|
|
90
92
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
91
93
|
"eslint-plugin-prettier": "^5.5.4",
|
|
92
94
|
"eslint-plugin-vue": "^10.5.1",
|
|
@@ -108,6 +110,6 @@
|
|
|
108
110
|
},
|
|
109
111
|
"devDependencies": {
|
|
110
112
|
"@eslint/config-helpers": "^0.4.2",
|
|
111
|
-
"@types/node": "^24.10.
|
|
113
|
+
"@types/node": "^24.10.1"
|
|
112
114
|
}
|
|
113
115
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://
|
|
2
|
+
"$schema": "https://www.schemastore.org/tsconfig",
|
|
3
3
|
"exclude": ["${configDir}/dist", "${configDir}/node_modules"],
|
|
4
4
|
"extends": [
|
|
5
5
|
"@vue/tsconfig/tsconfig",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"paths": { "@/*": ["${configDir}/src/*"] },
|
|
17
17
|
"removeComments": true,
|
|
18
18
|
"tsBuildInfoFile": "${configDir}/node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
19
|
-
"types": ["vite/client"]
|
|
19
|
+
"types": ["vite/client", "@vue-macros/reactivity-transform/macros-global"]
|
|
20
20
|
},
|
|
21
21
|
"tsc-alias": { "resolveFullPaths": true },
|
|
22
22
|
"vueCompilerOptions": { "plugins": ["@vue/language-plugin-pug"] }
|