mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
upgrade node.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# STAGE 1: build static web files
|
||||
#
|
||||
FROM node:14 as frontend
|
||||
FROM node:18-bullseye-slim as frontend
|
||||
WORKDIR /src
|
||||
|
||||
#
|
||||
|
||||
Generated
+10697
-6408
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user