update npm packages

This commit is contained in:
Hesabix 2025-08-14 14:41:34 +00:00
parent d87d3ba137
commit dc6e90bb65
4 changed files with 27 additions and 16 deletions

View file

@ -7,6 +7,7 @@
"build": "run-p type-check build-only", "build": "run-p type-check build-only",
"preview": "vite preview", "preview": "vite preview",
"build-only": "vite build --emptyOutDir", "build-only": "vite build --emptyOutDir",
"build-light": "vite build --emptyOutDir --mode production",
"type-check": "vue-tsc --noEmit" "type-check": "vue-tsc --noEmit"
}, },
"dependencies": { "dependencies": {
@ -14,10 +15,10 @@
"@date-io/date-fns-jalali": "^3.2.0", "@date-io/date-fns-jalali": "^3.2.0",
"@mdi/font": "^7.4.47", "@mdi/font": "^7.4.47",
"@monaco-editor/loader": "^1.5.0", "@monaco-editor/loader": "^1.5.0",
"@syncfusion/ej2-vue-dropdowns": "^29.1.38", "@syncfusion/ej2-vue-dropdowns": "^30.2.5",
"@tiptap/extension-text-align": "^2.11.7", "@tiptap/extension-text-align": "^3.2.0",
"@tiptap/starter-kit": "^2.11.7", "@tiptap/starter-kit": "^3.2.0",
"@tiptap/vue-3": "^2.11.7", "@tiptap/vue-3": "^3.2.0",
"@types/dompurify": "^3.0.5", "@types/dompurify": "^3.0.5",
"@vuelidate/core": "^2.0.3", "@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4", "@vuelidate/validators": "^2.0.4",
@ -25,22 +26,24 @@
"@zxing/browser": "^0.1.5", "@zxing/browser": "^0.1.5",
"@zxing/library": "^0.21.3", "@zxing/library": "^0.21.3",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"apexcharts": "^4.6.0", "apexcharts": "^5.3.3",
"axios": "^1.8.4", "axios": "^1.8.4",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"date-fns-jalali": "^3.2.0-0", "date-fns-jalali": "^4.1.0-0",
"dompurify": "^3.2.6", "dompurify": "^3.2.6",
"downloadjs": "^1.4.7", "downloadjs": "^1.4.7",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"glob": "^11.0.3",
"html5-qrcode": "^2.3.8", "html5-qrcode": "^2.3.8",
"jalali-moment": "^3.3.11", "jalali-moment": "^3.3.11",
"libphonenumber-js": "^1.12.7", "libphonenumber-js": "^1.12.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"marked": "^16.1.0", "marked": "^16.1.0",
"maska": "^3.1.1", "maska": "^3.1.1",
"maz-ui": "^3.50.1", "maz-ui": "^4.1.6",
"monaco-editor": "^0.52.2", "monaco-editor": "^0.52.2",
"pinia": "^3.0.2", "pinia": "^3.0.2",
"rimraf": "^6.0.1",
"sweetalert2": "^11.4.8", "sweetalert2": "^11.4.8",
"v-money3": "^3.24.1", "v-money3": "^3.24.1",
"vue": "^3.5.13", "vue": "^3.5.13",
@ -52,7 +55,7 @@
"vue-persian-datetime-picker": "^2.10.4", "vue-persian-datetime-picker": "^2.10.4",
"vue-qrcode-reader": "^5.7.2", "vue-qrcode-reader": "^5.7.2",
"vue-router": "^4.5.0", "vue-router": "^4.5.0",
"vue-select": "^4.0.0-beta.6", "vue-select": "^3.20.4",
"vue-spinner": "^1.0.4", "vue-spinner": "^1.0.4",
"vue3-apexcharts": "^1.8.0", "vue3-apexcharts": "^1.8.0",
"vue3-easy-data-table": "^1.5.47", "vue3-easy-data-table": "^1.5.47",
@ -67,16 +70,17 @@
"devDependencies": { "devDependencies": {
"@types/file-saver": "^2.0.7", "@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.16", "@types/lodash": "^4.17.16",
"@types/node": "^22.14.1", "@types/node": "^24.2.1",
"@vitejs/plugin-vue": "^5.2.3", "@vitejs/plugin-vue": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^4.1.2", "@vitejs/plugin-vue-jsx": "^5.0.1",
"@vue/test-utils": "^2.4.6", "@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.7.0", "@vue/tsconfig": "^0.7.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"sass": "^1.87.0", "sass": "^1.87.0",
"terser": "^5.43.1",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.2", "vite": "^7.1.2",
"vue-tsc": "^2.2.10" "vue-tsc": "^3.0.5"
}, },
"build:pwa": "vue-cli-service build && workbox generateSW workbox-config.js" "build:pwa": "vue-cli-service build && workbox generateSW workbox-config.js"
} }

View file

@ -739,7 +739,7 @@ onMounted(() => {
</script> </script>
<style scoped> <style scoped>
.v-data-table ::v-deep .v-data-table__checkbox { .v-data-table :deep(.v-data-table__checkbox) {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }

View file

@ -735,7 +735,7 @@ onMounted(() => {
</script> </script>
<style scoped> <style scoped>
.v-data-table ::v-deep .v-data-table__checkbox { .v-data-table :deep(.v-data-table__checkbox) {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }

View file

@ -14,6 +14,9 @@ export default defineConfig({
}), }),
vueJsx() vueJsx()
], ],
optimizeDeps: {
include: ['vue', 'vue-router', 'vuetify']
},
resolve: { resolve: {
mainFields: ['browser', 'module', 'main', 'jsnext:main', 'jsnext'], mainFields: ['browser', 'module', 'main', 'jsnext:main', 'jsnext'],
alias: { alias: {
@ -23,13 +26,17 @@ export default defineConfig({
build: { build: {
outDir: '../public_html/u', outDir: '../public_html/u',
chunkSizeWarningLimit: 1600, chunkSizeWarningLimit: 1600,
minify: 'esbuild',
rollupOptions: { rollupOptions: {
input: { input: {
main: resolve(__dirname, 'index.html') main: resolve(__dirname, 'index.html')
}, },
output: { output: {
manualChunks: { manualChunks: {
vendor: ['vue', 'vue-router'] vendor: ['vue', 'vue-router'],
vuetify: ['vuetify'],
charts: ['apexcharts', 'vue3-apexcharts'],
utils: ['lodash', 'axios']
} }
} }
} }