1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-27 23:46:39 +01:00

chore: vue updates (#2211)

* chore: updates node modules

* chore: fixes reactivity warning
This commit is contained in:
Amir Raminfar
2023-05-22 11:51:50 -07:00
committed by GitHub
parent e7174dea69
commit 7427d005c8
4 changed files with 57 additions and 2 deletions

View File

@@ -69,6 +69,7 @@
"@types/semver": "^7.5.0",
"@vitejs/plugin-basic-ssl": "^1.0.1",
"@vitejs/plugin-vue": "4.2.3",
"@vue-macros/reactivity-transform": "^0.3.7",
"@vue/compiler-sfc": "^3.3.4",
"@vue/test-utils": "^2.3.2",
"bumpp": "^9.1.0",

46
pnpm-lock.yaml generated
View File

@@ -126,6 +126,9 @@ devDependencies:
'@vitejs/plugin-vue':
specifier: 4.2.3
version: 4.2.3(vite@4.3.8)(vue@3.3.4)
'@vue-macros/reactivity-transform':
specifier: ^0.3.7
version: 0.3.7(vue@3.3.4)
'@vue/compiler-sfc':
specifier: ^3.3.4
version: 3.3.4
@@ -1106,6 +1109,42 @@ packages:
typescript: 5.0.4
dev: true
/@vue-macros/common@1.3.1(vue@3.3.4):
resolution: {integrity: sha512-Lc5aP/8HNJD1XrnvpeNuWcCf82bZdR3auN/chA1b/1rKZgSnmQkH9f33tKO9qLwXSy+u4hpCi8Rw+oUuF1KCeg==}
engines: {node: '>=14.19.0'}
peerDependencies:
vue: ^2.7.0 || ^3.2.25
peerDependenciesMeta:
vue:
optional: true
dependencies:
'@babel/types': 7.21.5
'@rollup/pluginutils': 5.0.2
'@vue/compiler-sfc': 3.3.4
local-pkg: 0.4.3
magic-string-ast: 0.1.2
vue: 3.3.4
transitivePeerDependencies:
- rollup
dev: true
/@vue-macros/reactivity-transform@0.3.7(vue@3.3.4):
resolution: {integrity: sha512-o+u5qstvUjNoaZjr4lUtNf5MuLgQHikvurnk6b2DFd9nB52j+BqOhI22uyn6K6TTAU0i0/PxT5YgwDlwVdvEUw==}
engines: {node: '>=14.19.0'}
peerDependencies:
vue: ^2.7.0 || ^3.2.25
dependencies:
'@babel/parser': 7.21.8
'@vue-macros/common': 1.3.1(vue@3.3.4)
'@vue/compiler-core': 3.3.4
'@vue/shared': 3.3.4
magic-string: 0.30.0
unplugin: 1.3.1
vue: 3.3.4
transitivePeerDependencies:
- rollup
dev: true
/@vue/compiler-core@3.3.4:
resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==}
dependencies:
@@ -3013,6 +3052,13 @@ packages:
yallist: 4.0.0
dev: true
/magic-string-ast@0.1.2:
resolution: {integrity: sha512-P53AZrzq7hclCU6HWj88xNZHmP15DKjMmK/vBytO1qnpYP3ul4IEZlyCE0aU3JRnmgWmZPmoTKj4Bls7v0pMyA==}
engines: {node: '>=14.19.0'}
dependencies:
magic-string: 0.30.0
dev: true
/magic-string@0.30.0:
resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==}
engines: {node: '>=12'}

View File

@@ -17,7 +17,14 @@
"@/*": ["assets/*"]
},
"jsx": "preserve",
"types": ["vitest", "vite/client", "vue/ref-macros", "vite-plugin-pages/client", "vite-plugin-vue-layouts/client"]
"types": [
"vitest",
"vite/client",
"vue/ref-macros",
"vite-plugin-pages/client",
"vite-plugin-vue-layouts/client",
"@vue-macros/reactivity-transform/macros-global"
]
},
"include": ["assets/**/*.ts", "assets/**/*.d.ts", "assets/**/*.vue"],

View File

@@ -1,6 +1,7 @@
import path from "path";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import ReactivityTransform from "@vue-macros/reactivity-transform/vite";
import Icons from "unplugin-icons/vite";
import Components from "unplugin-vue-components/vite";
import AutoImport from "unplugin-auto-import/vite";
@@ -25,8 +26,8 @@ export default defineConfig(() => ({
},
},
plugins: [
ReactivityTransform(),
vue({
reactivityTransform: true,
template: {
compilerOptions: {
whitespace: "preserve",