Skip to content

Commit cbcfc47

Browse files
AVVSo-v-t
andauthored
fix: update dependencies, run on newer node (#613)
* fix: update dependencies, run on newer node * chore: pnpm 9 * chore: update fake timers * fix: fake timers * fix: rm fake timers --------- Co-authored-by: Oleg Tokar <o.tokar@cappasity.com>
1 parent 79254ca commit cbcfc47

10 files changed

Lines changed: 7029 additions & 5786 deletions

File tree

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
"`npm x -- mdep bin commitlint`" --edit $1

.mdeprc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (os.platform() !== 'darwin') {
1414
} catch (e) { }
1515
}
1616

17-
exports.node = "20.15.1";
17+
exports.node = "20";
1818
exports.in_one = true;
1919
exports.auto_compose = true;
2020
exports.with_local_compose = true;
@@ -36,7 +36,7 @@ exports.extras = {
3636
NCONF_NAMESPACE: 'MS_USERS',
3737
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1,
3838
VIRTUAL_HOST: 'ms-users.local',
39-
VIRTUAL_PORT: 3000,
39+
VIRTUAL_PORT: '3000',
4040
CERT_NAME: 'default',
4141
SKIP_FB: process.env.SKIP_FB,
4242
SKIP_MASTERS: process.env.SKIP_MASTERS,

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ global_job_config:
1818
commands:
1919
- set -e
2020
- sem-version node --lts
21-
- npm install -g pnpm@8
21+
- npm install -g pnpm@9
2222
- checkout
2323
- cache restore node-$(checksum pnpm-lock.yaml)
2424
- pnpm i --frozen-lockfile --prefer-offline --ignore-scripts

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM makeomatic/node:$NODE_VERSION
22

33
ENV NCONF_NAMESPACE=MS_USERS \
4-
NODE_ENV=$NODE_ENV
4+
NODE_ENV=$NODE_ENV \
5+
COREPACK_ENABLE_NETWORK=1
56

67
WORKDIR /src
78

@@ -11,6 +12,7 @@ RUN \
1112
apk --update --upgrade \
1213
add ca-certificates --virtual .buildDeps git ca-certificates openssl g++ make python3 linux-headers \
1314
&& update-ca-certificates \
15+
&& corepack install -g pnpm@9 \
1416
&& chown node:node /src \
1517
&& su node sh -c "cd /src && pnpm fetch --prod" \
1618
&& su node sh -c "rm -rf ~/.cache && pnpm store prune" \

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"consul": "^0.40.0"
3030
},
3131
"dependencies": {
32-
"@faker-js/faker": "^8.4.1",
32+
"@faker-js/faker": "^9.0.3",
3333
"@fastify/deepmerge": "^2.0.0",
3434
"@hapi/bell": "^13.0.2",
3535
"@hapi/boom": "^10.0.1",
@@ -74,7 +74,7 @@
7474
"handlebars": "^4.7.8",
7575
"ioredis": "^4.28.5",
7676
"is": "^3.3.0",
77-
"jose": "^5.7.0",
77+
"jose": "^5.9.4",
7878
"jsonwebtoken": "^9.0.2",
7979
"jwa": "^2.0.0",
8080
"jwks-rsa": "^3.1.0",
@@ -96,16 +96,16 @@
9696
"secure-json-parse": "^2.7.0",
9797
"serialize-error": "^8.1.0",
9898
"serialize-javascript": "^6.0.2",
99-
"sonic-boom": "^4.0.1",
100-
"tough-cookie": "^4.1.4",
101-
"undici": "^6.19.8",
99+
"sonic-boom": "^4.2.0",
100+
"tough-cookie": "^5.0.0",
101+
"undici": "^6.20.1",
102102
"uuid": "^10.0.0",
103103
"yargs": "^17.7.2",
104104
"z32": "^1.1.0",
105105
"zxcvbn": "^4.4.2"
106106
},
107107
"devDependencies": {
108-
"@makeomatic/deploy": "^13.0.7",
108+
"@makeomatic/deploy": "^13.1.0",
109109
"@semantic-release/changelog": "^6.0.3",
110110
"@semantic-release/exec": "^6.0.3",
111111
"@semantic-release/git": "^10.0.1",
@@ -116,12 +116,12 @@
116116
"cross-env": "^7.0.3",
117117
"eslint": "^8.57.0",
118118
"eslint-config-makeomatic": "^6.0.0",
119-
"eslint-plugin-import": "^2.29.1",
119+
"eslint-plugin-import": "^2.31.0",
120120
"eslint-plugin-mocha": "^10.5.0",
121121
"eslint-plugin-promise": "^6.6.0",
122-
"eslint-plugin-unicorn": "^55.0.0",
122+
"eslint-plugin-unicorn": "^56.0.0",
123123
"http-signature": "^1.4.0",
124-
"hyperid": "^3.2.0",
124+
"hyperid": "^3.3.0",
125125
"json": "^11.0.0",
126126
"md5": "^2.3.0",
127127
"mocha": "^10.7.3",
@@ -130,9 +130,9 @@
130130
"request-promise": "^4.2.6",
131131
"rfdc": "^1.4.1",
132132
"rimraf": "^6.0.1",
133-
"semantic-release": "23.0.6",
134-
"sinon": "^18.0.0",
135-
"typescript": "^5.5.4",
133+
"semantic-release": "24.1.2",
134+
"sinon": "^19.0.2",
135+
"typescript": "^5.6.3",
136136
"why-is-node-running": "^3.2.0"
137137
},
138138
"engines": {

0 commit comments

Comments
 (0)