Aggiorna dipendenze e Node.js 20 con fix permessi dist
- Aggiorna Vite: 4.3.9 → 5.4.10 - Aggiorna Vue: 3.2.47 → 3.4.38 - Aggiorna @vitejs/plugin-vue: 4.1.0 → 5.1.4 - Aggiorna vite-plugin-pwa: 0.16.0 → 0.20.5 - Aggiorna Capacitor: 6.0.0 → 6.2.0 - Aggiorna wave-ui: 3.3.0 → 3.17.0 - Aggiorna Node.js nel Dockerfile: 18.x → 20.x (LTS) - Aggiunge fix automatico permessi dist dopo build Docker
This commit is contained in:
@@ -15,8 +15,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
imagemagick \
|
imagemagick \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Installa Node.js 18.x (LTS compatibile con Vite)
|
# Installa Node.js 20.x (LTS)
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
&& apt-get install -y nodejs
|
&& apt-get install -y nodejs
|
||||||
|
|
||||||
# Installa Gradle 8.5
|
# Installa Gradle 8.5
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ docker run --rm \
|
|||||||
-v "$(pwd)/dist:/app/dist" \
|
-v "$(pwd)/dist:/app/dist" \
|
||||||
segnapunti-android-builder
|
segnapunti-android-builder
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Fixing permissions on dist folder..."
|
||||||
|
sudo chown -R $USER:$USER dist
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "========================================="
|
echo "========================================="
|
||||||
echo "Build completed successfully!"
|
echo "Build completed successfully!"
|
||||||
|
|||||||
6205
package-lock.json
generated
6205
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@@ -14,17 +14,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capacitor-community/text-to-speech": "^6.0.0",
|
"@capacitor-community/text-to-speech": "^6.0.0",
|
||||||
"@capacitor/android": "^6.0.0",
|
"@capacitor/android": "^6.2.0",
|
||||||
"@capacitor/app": "^6.0.0",
|
"@capacitor/app": "^6.0.1",
|
||||||
"@capacitor/core": "^6.0.0",
|
"@capacitor/core": "^6.2.0",
|
||||||
"nosleep.js": "^0.12.0",
|
"nosleep.js": "^0.12.0",
|
||||||
"vue": "^3.2.47",
|
"vue": "^3.4.38",
|
||||||
"wave-ui": "^3.3.0"
|
"wave-ui": "^3.17.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@capacitor/cli": "^6.0.0",
|
"@capacitor/cli": "^6.2.0",
|
||||||
"@vitejs/plugin-vue": "^4.1.0",
|
"@vitejs/plugin-vue": "^5.1.4",
|
||||||
"vite": "^4.3.9",
|
"vite": "^5.4.10",
|
||||||
"vite-plugin-pwa": "^0.16.0"
|
"vite-plugin-pwa": "^0.20.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user