Skip to content

Commit

Permalink
feat: upgrade to Node.js 18
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnntropy committed Feb 25, 2024
1 parent 9d1fc53 commit 1c6eb66
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16
FROM node:18

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"

services:
shinoa:
image: node:16
image: node:18
ports:
- 8080:4000
command: /bin/sh -c "yarn && yarn dev"
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@
"repository": "https://github.com/omegavesko/shinoa-next.git",
"author": "Veselin Romić <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/cron": "^2.0.0",
"@types/lodash": "^4.14.168",
"@types/mime-types": "^2.1.0",
"@types/natural": "^5.1.0",
"@types/node": "^16",
"nodemon": "^2.0.7",
"prisma": "3",
"ts-node": "^10.4.0",
"typescript": "^4.2.4"
},
"scripts": {
"dev": "nodemon",
"build": "tsc"
Expand Down Expand Up @@ -43,5 +32,16 @@
"pino": "^8.0.0",
"pino-pretty": "^8.0.0",
"tiny-typed-emitter": "^2.1.0"
},
"devDependencies": {
"@types/cron": "^2.0.0",
"@types/lodash": "^4.14.168",
"@types/mime-types": "^2.1.0",
"@types/natural": "^5.1.0",
"@types/node": "^18",
"nodemon": "^2.0.7",
"prisma": "3",
"ts-node": "^10.4.0",
"typescript": "^4.2.4"
}
}
15 changes: 11 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,12 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b"
integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==

"@types/node@^16":
version "16.11.41"
resolved "https://registry.npmjs.org/@types/node/-/node-16.11.41.tgz#88eb485b1bfdb4c224d878b7832239536aa2f813"
integrity sha512-mqoYK2TnVjdkGk8qXAVGc/x9nSaTpSrFaGFm43BUH3IdoBV0nta6hYaGmdOvIMlbHJbUEVen3gvwpwovAZKNdQ==
"@types/node@^18":
version "18.19.18"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.18.tgz#7526471b28828d1fef1f7e4960fb9477e6e4369c"
integrity sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==
dependencies:
undici-types "~5.26.4"

"@types/qs@*":
version "6.9.7"
Expand Down Expand Up @@ -2997,6 +2999,11 @@ underscore@^1.9.1:
resolved "https://registry.npmjs.org/underscore/-/underscore-1.13.4.tgz#7886b46bbdf07f768e0052f1828e1dcab40c0dee"
integrity sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ==

undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

unique-string@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d"
Expand Down

0 comments on commit 1c6eb66

Please sign in to comment.