Skip to content

Commit

Permalink
build: update to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Oct 17, 2024
1 parent c6c9adf commit 019b626
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"mikestead.dotenv",
"orta.vscode-jest",
"shelex.vscode-cy-helper",
"stylelint.vscode-stylelint",
"unifiedjs.vscode-mdx"
]
Expand Down
8 changes: 2 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"css.validate": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.guides.bracketPairs": "active",
"editor.renderWhitespace": "boundary",
"editor.rulers": [100],
"editor.suggest.localityBonus": true,
"editor.wordBasedSuggestions": false,
"editor.wordBasedSuggestions": "off",
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
"eslint.enable": true,
"eslint.validate": ["javascript", "typescript", "typescriptreact"],
Expand All @@ -24,10 +24,6 @@
"out": true,
"storybook-build": true
},
"jest.autoRun": {
"watch": false,
"onSave": "test-file"
},
"less.validate": false,
"scss.validate": false,
"search.exclude": {
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# base
FROM node:16-slim AS base
FROM node:18-slim AS base

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN --mount=type=secret,id=github_token \
USER node

# serve
FROM node:16-slim AS serve
FROM node:18-slim AS serve

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "sshoc-marketplace-frontend",
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"scripts": {
Expand Down Expand Up @@ -46,9 +45,9 @@
"typecheck": "tsc -p tsconfig.json --noEmit",
"validate": "yarn run format && yarn run lint && yarn run typecheck && yarn run test"
},
"packageManager": "[email protected].17",
"packageManager": "[email protected].22",
"engines": {
"node": "14.x||16.x",
"node": "18.x",
"yarn": "1.x"
},
"dependencies": {
Expand Down Expand Up @@ -373,8 +372,5 @@
}
]
}
},
"volta": {
"node": "16.19.0"
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6420,9 +6420,9 @@ camelcase@^6.0.0, camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001317, caniuse-lite@^1.0.30001332:
version "1.0.30001524"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz"
integrity sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==
version "1.0.30001669"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz"
integrity sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==

capital-case@^1.0.4:
version "1.0.4"
Expand Down

0 comments on commit 019b626

Please sign in to comment.