Browse Source

fixup: revert to 1.0.0 and node 18

pull/686/head
Philip H. 1 year ago
parent
commit
f8c513f050
  1. 2
      .github/workflows/lint.yml
  2. 12
      Dockerfile
  3. 2
      src/package-lock.json
  4. 2
      src/package.json

2
.github/workflows/lint.yml

@ -3,7 +3,7 @@ name: Lint
on: on:
push: push:
branches: branches:
- development - main
- production - production
pull_request: pull_request:

12
Dockerfile

@ -1,13 +1,5 @@
# There's an issue with node:16-alpine. # There's an issue with node:20-alpine.
# On Raspberry Pi, the following crash happens: # Docker deployment is canceled after 25< minutes.
# #FailureMessage Object: 0x7e87753c
# #
# # Fatal error in , line 0
# # unreachable code
# #
# #
# #
FROM docker.io/library/node:18-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c912eb7241098b920f2fc2d7843183d AS build_node_modules FROM docker.io/library/node:18-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c912eb7241098b920f2fc2d7843183d AS build_node_modules

2
src/package-lock.json

@ -20,7 +20,7 @@
"eslint-config-athom": "^3.1.1" "eslint-config-athom": "^3.1.1"
}, },
"engines": { "engines": {
"node": "14" "node": "18"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": { "node_modules/@aashutoshrathi/word-wrap": {

2
src/package.json

@ -1,7 +1,7 @@
{ {
"release": "11", "release": "11",
"name": "wg-easy", "name": "wg-easy",
"version": "1.0.1", "version": "1.0.0",
"description": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {

Loading…
Cancel
Save