Browse Source

Update Node to 16

ghorsington 2 years ago
parent
commit
c1e7aafe8b
7 changed files with 23558 additions and 54 deletions
  1. 1 1
      bot/Dockerfile
  2. 8886 13
      bot/package-lock.json
  3. 1 1
      bot/src/main.ts
  4. 1 1
      docker-compose.yml
  5. 1265 9
      shared/package-lock.json
  6. 2 2
      web/Dockerfile
  7. 13402 27
      web/package-lock.json

+ 1 - 1
bot/Dockerfile

@@ -1,4 +1,4 @@
-FROM node:14-alpine
+FROM node:16-alpine
 
 RUN apk --no-cache add make
 

File diff suppressed because it is too large
+ 8886 - 13
bot/package-lock.json


+ 1 - 1
bot/src/main.ts

@@ -21,7 +21,7 @@ client.bot.on("ready", async () => {
     logger.info("NoctBot is ready");
 });
 
-client.bot.on("message", async m => {
+client.bot.on("messageCreate", async m => {
     if (m.author.id == client.botUser.id)
         return;
 

+ 1 - 1
docker-compose.yml

@@ -73,7 +73,7 @@ services:
       - db-data:/var/lib/postgresql/data
 
   adminer:
-    image: adminer:4.8.0
+    image: adminer:latest
     restart: unless-stopped
     ports:
       - 3030:8080

File diff suppressed because it is too large
+ 1265 - 9
shared/package-lock.json


+ 2 - 2
web/Dockerfile

@@ -1,6 +1,6 @@
-FROM node:14-alpine
+FROM node:16-alpine
 
-RUN apk --no-cache add make
+RUN apk --no-cache add make libc6-compat
 
 WORKDIR /app
 

File diff suppressed because it is too large
+ 13402 - 27
web/package-lock.json