Remove unused vue-sweetalert2 plugin

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaRBJFZKSTA7naHGuQHfnQ
This commit is contained in:
2026-07-04 14:59:31 +08:00
co-authored by Claude Fable 5
parent da2cdb240f
commit b4a6ffe743
3 changed files with 3 additions and 23 deletions
+2 -20
View File
@@ -30,11 +30,11 @@
"pinia-plugin-persistedstate": "^4.7.1",
"primeicons": "^7.0.0",
"primevue": "^4.5.4",
"sweetalert2": "^11.4.4",
"tippy.js": "^6.3.7",
"vue": "^3.5.29",
"vue-chartjs": "^5.3.3",
"vue-router": "^5.0.3",
"vue-sweetalert2": "^5.0.11",
"vue-toast-notification": "^3.1.3",
"vuedraggable": "^4.1.0"
},
@@ -6242,6 +6242,7 @@
"version": "11.4.4",
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.4.tgz",
"integrity": "sha512-9yYWQuRT1v9JNI/paPTSYV+68MHwe9C+HQ/I2jtfaFzoJgYRftWXOs4JqmDSjT7m2m4r8ebMMn8LcxD1Wq9B/w==",
"license": "MIT",
"funding": {
"url": "https://sweetalert2.github.io/#donations"
}
@@ -6945,17 +6946,6 @@
}
}
},
"node_modules/vue-sweetalert2": {
"version": "5.0.11",
"resolved": "https://registry.npmjs.org/vue-sweetalert2/-/vue-sweetalert2-5.0.11.tgz",
"integrity": "sha512-agujdlcNeLb4Fj0/V3qgR7bEVBN8IzWFoDBP/vrSgbEGl9pjMmxnv32V3lxB0SZtQh6tL6R/UZ+C3q8tzsJbNg==",
"dependencies": {
"sweetalert2": "11.4.4"
},
"peerDependencies": {
"vue": "*"
}
},
"node_modules/vue-toast-notification": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/vue-toast-notification/-/vue-toast-notification-3.1.3.tgz",
@@ -11373,14 +11363,6 @@
"yaml": "^2.8.2"
}
},
"vue-sweetalert2": {
"version": "5.0.11",
"resolved": "https://registry.npmjs.org/vue-sweetalert2/-/vue-sweetalert2-5.0.11.tgz",
"integrity": "sha512-agujdlcNeLb4Fj0/V3qgR7bEVBN8IzWFoDBP/vrSgbEGl9pjMmxnv32V3lxB0SZtQh6tL6R/UZ+C3q8tzsJbNg==",
"requires": {
"sweetalert2": "11.4.4"
}
},
"vue-toast-notification": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/vue-toast-notification/-/vue-toast-notification-3.1.3.tgz",
+1 -1
View File
@@ -39,11 +39,11 @@
"pinia-plugin-persistedstate": "^4.7.1",
"primeicons": "^7.0.0",
"primevue": "^4.5.4",
"sweetalert2": "^11.4.4",
"tippy.js": "^6.3.7",
"vue": "^3.5.29",
"vue-chartjs": "^5.3.3",
"vue-router": "^5.0.3",
"vue-sweetalert2": "^5.0.11",
"vue-toast-notification": "^3.1.3",
"vuedraggable": "^4.1.0"
},
-2
View File
@@ -20,7 +20,6 @@ import cytoscape from "cytoscape";
import dagre from "cytoscape-dagre";
import popper from "cytoscape-popper";
import draggable from "vuedraggable";
import VueSweetalert2 from "vue-sweetalert2";
// import CSS
import "./assets/main.css";
@@ -67,7 +66,6 @@ cytoscape.use(popper((ref) => ref));
app.use(pinia);
app.use(router);
app.use(VueSweetalert2);
app.use(ToastPlugin, {
// use `this.$toast` in Vue.js
position: "bottom",