upgrade dependencies

This commit is contained in:
Younes ENNAJI
2025-03-26 04:10:00 +00:00
parent ca6e75ba9d
commit 68d7bfadce
7 changed files with 17 additions and 9 deletions
+9 -1
View File
@@ -47,7 +47,15 @@ update_composer_dependencies() {
check_npm_updates() { check_npm_updates() {
echo -e "${BOLD}${SEARCH} NPM Updates Check${RESET}" echo -e "${BOLD}${SEARCH} NPM Updates Check${RESET}"
if npm run ncu > /dev/null 2>&1; then # Run the commands and capture their exit codes
ncu -u
NCU_EXIT_CODE=$?
npm run ncu --workspaces
NPM_EXIT_CODE=$?
# Check if both commands were successful
if [ $NCU_EXIT_CODE -eq 0 ] && [ $NPM_EXIT_CODE -eq 0 ]; then
echo -e "${CHECK} ${GREEN}NPM check completed successfully${RESET}\n" echo -e "${CHECK} ${GREEN}NPM check completed successfully${RESET}\n"
else else
echo -e "${WARNING} ${YELLOW}NPM check failed, continuing...${RESET}\n" echo -e "${WARNING} ${YELLOW}NPM check failed, continuing...${RESET}\n"
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"dist/main.css": "/dist/main.8afe9004.css", "dist/main.css": "/dist/main.f1c926c2.css",
"dist/main.js": "/dist/main.8b056786.js", "dist/main.js": "/dist/main.8b056786.js",
"dist/455.3a7b4474.css": "/dist/455.3a7b4474.css", "dist/455.3a7b4474.css": "/dist/455.3a7b4474.css",
"dist/455.095e6545.js": "/dist/455.095e6545.js", "dist/455.095e6545.js": "/dist/455.095e6545.js",
+1 -1
View File
@@ -2,7 +2,7 @@
"entrypoints": { "entrypoints": {
"main": { "main": {
"css": [ "css": [
"/dist/main.8afe9004.css" "/dist/main.f1c926c2.css"
], ],
"js": [ "js": [
"/dist/main.8b056786.js" "/dist/main.8b056786.js"
-1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -20,7 +20,7 @@
"noty": "^3.2.0-beta-deprecated", "noty": "^3.2.0-beta-deprecated",
"notyf": "^3.10.0", "notyf": "^3.10.0",
"prismjs": "^1.30.0", "prismjs": "^1.30.0",
"sweetalert2": "^11.6.13", "sweetalert2": "^11.17.2",
"toastr": "^2.1.4" "toastr": "^2.1.4"
}, },
"devDependencies": { "devDependencies": {
@@ -7119,9 +7119,9 @@
} }
}, },
"node_modules/sweetalert2": { "node_modules/sweetalert2": {
"version": "11.6.13", "version": "11.17.2",
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.6.13.tgz", "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.17.2.tgz",
"integrity": "sha512-n5yVF0FNx1lm4XzpPyb1HIaiptzODfVyeCzmB809tpK+1bPdoKoevKOxYjrtId75DV7xuIp4r6cjn8xUAB8dPQ==", "integrity": "sha512-HKxDr1IyV3Lxr3W6sb61qm/p2epFIEdr5EKwteRFHnIg6f8nHFl2kX++DBVz16Mac+fFiU3hMpjq1L6yE2Ge5w==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "individual", "type": "individual",
+1 -1
View File
@@ -24,7 +24,7 @@
"noty": "^3.2.0-beta-deprecated", "noty": "^3.2.0-beta-deprecated",
"notyf": "^3.10.0", "notyf": "^3.10.0",
"prismjs": "^1.30.0", "prismjs": "^1.30.0",
"sweetalert2": "^11.6.13", "sweetalert2": "^11.17.2",
"toastr": "^2.1.4" "toastr": "^2.1.4"
}, },
"devDependencies": { "devDependencies": {