Skip to content

Commit

Permalink
chore: start updating npm deps
Browse files Browse the repository at this point in the history
Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul committed Jul 23, 2022
1 parent a73378a commit e3ec22a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Dockerfile
dist/
vendor/
web/node_modules/
tool/lint/node_modules/
.dockerignore
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG VERSION


# web build
FROM node:10 as web-build
FROM node:14-alpine as web-build
RUN npm i -g npm@8
WORKDIR /app
COPY ./web/package*.json ./web/yarn.* ./
RUN npm install
Expand All @@ -14,7 +15,7 @@ RUN npm run build


# go build
FROM golang:1.16.5-alpine as go-build
FROM golang:1.18-alpine as go-build
RUN apk add --update --no-cache git gcc musl-dev make
RUN GO111MODULE=off go get github.com/gobuffalo/packr/v2/packr2
WORKDIR /go/src/moul.io/depviz
Expand All @@ -30,7 +31,7 @@ RUN make install


# minimalist runtime
FROM alpine:3.13.5
FROM alpine:3.16
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="depviz" \
org.label-schema.description="" \
Expand Down
15 changes: 7 additions & 8 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"npm": ">=3"
},
"scripts": {
"preinstall": "node tools/nodeVersionCheck.js",
"start-message": "babel-node tools/startMessage.js",
"prestart": "npm run start-message",
"start": "npm run open:src",
Expand All @@ -31,7 +30,7 @@
"@hot-loader/react-dom": "16.13.0",
"bitmap2vector": "0.0.4",
"blob-to-buffer": "1.2.8",
"core-js": "3.6.5",
"core-js": "3.23.5",
"cytoscape": "3.14.2",
"cytoscape-cola": "2.3.1",
"cytoscape-elk": "valohai/cytoscape.js-elk#modern",
Expand Down Expand Up @@ -76,15 +75,15 @@
"dotenv-webpack": "1.7.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"eslint": "7.0.0",
"eslint-config-airbnb": "18.1.0",
"eslint": "8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "4.1.2",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-watch": "7.0.0",
"file-loader": "6.0.0",
"history": "5.0.0",
Expand Down
10 changes: 0 additions & 10 deletions web/tools/nodeVersionCheck.js

This file was deleted.

0 comments on commit e3ec22a

Please sign in to comment.