upgrade node.

This commit is contained in:
Miroslav Šedivý
2023-09-24 23:11:03 +02:00
parent 8c099abbe1
commit 224e84f9b5
7 changed files with 12043 additions and 7752 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#
# STAGE 1: build static web files
#
FROM node:14 as frontend
FROM node:18-bullseye-slim as frontend
WORKDIR /src
#
+12035 -7746
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -287,7 +287,7 @@ export default class RoomInfo extends Vue {
})
this.stats = stats
this.statsErr = ""
} catch (e: any) {
} catch(e) {
this.statsErr = e
} finally {
this.statsLoading = false
+3 -1
View File
@@ -73,7 +73,9 @@ export default class RoomLink extends Vue {
}
selectAll() {
this.$refs.input.$el.querySelector('input').select();
(this.$refs.input as Vue & {
$el: () => HTMLElement;
}).$el.querySelector('input')?.select();
}
copyToClipboard() {
+1 -1
View File
@@ -22,4 +22,4 @@ docker run --rm -it \
-v "${PWD}/../client:/app" \
--entrypoint="npm" \
--workdir="/app" \
node:14 run lint -- --fix src/api
node:18-bullseye-slim run lint -- --fix src/api
+1 -1
View File
@@ -28,4 +28,4 @@ docker run --rm -it \
--volume "${PWD}/../client:/app" \
--entrypoint="npm" \
--workdir="/app" \
node:14 run serve;
node:18-bullseye-slim run serve;
+1 -1
View File
@@ -22,4 +22,4 @@ docker run --rm -it \
--user="$(id -u):$(id -g)" \
--workdir="/app" \
--entrypoint="npm" \
node:14 run serve;
node:18-bullseye-slim run serve;