1 Commits

Author SHA1 Message Date
ae8094c9e0 feat: upgrade yarn to 4.5.3 2024-11-25 15:09:46 +00:00
9 changed files with 355 additions and 357 deletions

View File

@@ -27,9 +27,9 @@ steps:
restore: true
- name: test
image: 'node:22.13.1-slim'
image: 'node:22.11.0-slim'
commands:
- yarn set version 4.6.0
- yarn set version 4.5.3
- yarn install
- yarn run jest

74
.pnp.cjs generated
View File

@@ -28,11 +28,11 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./",\
"packageDependencies": [\
["@types/jest", "npm:29.5.14"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.5"],\
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
["typescript", "patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"]\
["typescript", "patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"]\
],\
"linkType": "SOFT"\
}]\
@@ -881,7 +881,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@jest/console", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["jest-message-util", "npm:29.7.0"],\
["jest-util", "npm:29.7.0"],\
@@ -907,7 +907,7 @@ const RAW_RUNTIME_STATE =
["@jest/test-result", "npm:29.7.0"],\
["@jest/transform", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["@types/node-notifier", null],\
["ansi-escapes", "npm:4.3.2"],\
["chalk", "npm:4.1.2"],\
@@ -947,7 +947,7 @@ const RAW_RUNTIME_STATE =
["@jest/environment", "npm:29.7.0"],\
["@jest/fake-timers", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest-mock", "npm:29.7.0"]\
],\
"linkType": "HARD"\
@@ -989,7 +989,7 @@ const RAW_RUNTIME_STATE =
["@jest/fake-timers", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@sinonjs/fake-timers", "npm:10.3.0"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest-message-util", "npm:29.7.0"],\
["jest-mock", "npm:29.7.0"],\
["jest-util", "npm:29.7.0"]\
@@ -1028,7 +1028,7 @@ const RAW_RUNTIME_STATE =
["@jest/transform", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@jridgewell/trace-mapping", "npm:0.3.19"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["@types/node-notifier", null],\
["chalk", "npm:4.1.2"],\
["collect-v8-coverage", "npm:1.0.2"],\
@@ -1136,7 +1136,7 @@ const RAW_RUNTIME_STATE =
["@jest/schemas", "npm:29.6.3"],\
["@types/istanbul-lib-coverage", "npm:2.0.4"],\
["@types/istanbul-reports", "npm:3.0.1"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["@types/yargs", "npm:17.0.24"],\
["chalk", "npm:4.1.2"]\
],\
@@ -1345,7 +1345,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "../../../../cache/others/berry/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-10c0.zip/node_modules/@types/graceful-fs/",\
"packageDependencies": [\
["@types/graceful-fs", "npm:4.1.6"],\
["@types/node", "npm:22.13.3"]\
["@types/node", "npm:22.9.3"]\
],\
"linkType": "HARD"\
}]\
@@ -1391,11 +1391,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@types/node", [\
["npm:22.13.3", {\
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-22.13.3-68c2ecc4a9-10c0.zip/node_modules/@types/node/",\
["npm:22.9.3", {\
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-22.9.3-bc9b3f960a-10c0.zip/node_modules/@types/node/",\
"packageDependencies": [\
["@types/node", "npm:22.13.3"],\
["undici-types", "npm:6.20.0"]\
["@types/node", "npm:22.9.3"],\
["undici-types", "npm:6.19.8"]\
],\
"linkType": "HARD"\
}]\
@@ -1938,11 +1938,11 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["clean-architecture", "workspace:."],\
["@types/jest", "npm:29.5.14"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.5"],\
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
["typescript", "patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"]\
["typescript", "patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"]\
],\
"linkType": "SOFT"\
}]\
@@ -2959,7 +2959,7 @@ const RAW_RUNTIME_STATE =
["@jest/expect", "npm:29.7.0"],\
["@jest/test-result", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["co", "npm:4.6.0"],\
["dedent", "virtual:f7679858c638e2e5ade31901dd2b1e5007918fdc7d84fefb11f4200f46ba2e43b9d662fb793507b517bb1e725144e51f6d68f60f9f6100fd52144f042f58f0bc#npm:1.5.1"],\
@@ -3064,7 +3064,7 @@ const RAW_RUNTIME_STATE =
["@babel/core", "npm:7.22.15"],\
["@jest/test-sequencer", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["@types/ts-node", null],\
["babel-jest", "virtual:939a7fe9ef9185d9378b96533b42cb7bd61bd3e34d0edd537f69a76537c5748d3b4733d3050f6f18ab17ac63143f81e7f121e602a5d38c959251dc0768083e9b#npm:29.7.0"],\
["chalk", "npm:4.1.2"],\
@@ -3151,7 +3151,7 @@ const RAW_RUNTIME_STATE =
["@jest/environment", "npm:29.7.0"],\
["@jest/fake-timers", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest-mock", "npm:29.7.0"],\
["jest-util", "npm:29.7.0"]\
],\
@@ -3174,7 +3174,7 @@ const RAW_RUNTIME_STATE =
["jest-haste-map", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/graceful-fs", "npm:4.1.6"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["anymatch", "npm:3.1.3"],\
["fb-watchman", "npm:2.0.2"],\
["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"],\
@@ -3263,7 +3263,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["jest-mock", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest-util", "npm:29.7.0"]\
],\
"linkType": "HARD"\
@@ -3339,7 +3339,7 @@ const RAW_RUNTIME_STATE =
["@jest/test-result", "npm:29.7.0"],\
["@jest/transform", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["emittery", "npm:0.13.1"],\
["graceful-fs", "npm:4.2.11"],\
@@ -3371,7 +3371,7 @@ const RAW_RUNTIME_STATE =
["@jest/test-result", "npm:29.7.0"],\
["@jest/transform", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["cjs-module-lexer", "npm:1.2.3"],\
["collect-v8-coverage", "npm:1.0.2"],\
@@ -3425,7 +3425,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["jest-util", "npm:29.6.3"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["ci-info", "npm:3.8.0"],\
["graceful-fs", "npm:4.2.11"],\
@@ -3438,7 +3438,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["jest-util", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["chalk", "npm:4.1.2"],\
["ci-info", "npm:3.8.0"],\
["graceful-fs", "npm:4.2.11"],\
@@ -3469,7 +3469,7 @@ const RAW_RUNTIME_STATE =
["jest-watcher", "npm:29.7.0"],\
["@jest/test-result", "npm:29.7.0"],\
["@jest/types", "npm:29.6.3"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["ansi-escapes", "npm:4.3.2"],\
["chalk", "npm:4.1.2"],\
["emittery", "npm:0.13.1"],\
@@ -3484,7 +3484,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "../../../../cache/others/berry/cache/jest-worker-npm-29.7.0-4d3567fed6-10c0.zip/node_modules/jest-worker/",\
"packageDependencies": [\
["jest-worker", "npm:29.7.0"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["jest-util", "npm:29.7.0"],\
["merge-stream", "npm:2.0.0"],\
["supports-color", "npm:8.1.1"]\
@@ -4638,7 +4638,7 @@ const RAW_RUNTIME_STATE =
["lodash.memoize", "npm:4.1.2"],\
["make-error", "npm:1.3.6"],\
["semver", "npm:7.6.3"],\
["typescript", "patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"],\
["typescript", "patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"],\
["yargs-parser", "npm:21.1.1"]\
],\
"packagePeers": [\
@@ -4679,7 +4679,7 @@ const RAW_RUNTIME_STATE =
["@tsconfig/node12", "npm:1.0.11"],\
["@tsconfig/node14", "npm:1.0.3"],\
["@tsconfig/node16", "npm:1.0.4"],\
["@types/node", "npm:22.13.3"],\
["@types/node", "npm:22.9.3"],\
["@types/swc__core", null],\
["@types/swc__wasm", null],\
["@types/typescript", null],\
@@ -4689,7 +4689,7 @@ const RAW_RUNTIME_STATE =
["create-require", "npm:1.1.1"],\
["diff", "npm:4.0.2"],\
["make-error", "npm:1.3.6"],\
["typescript", "patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"],\
["typescript", "patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"],\
["v8-compile-cache-lib", "npm:3.0.1"],\
["yn", "npm:3.1.1"]\
],\
@@ -4724,19 +4724,19 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["typescript", [\
["patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5", {\
"packageLocation": "../../../../cache/others/berry/cache/typescript-patch-6da68bae26-10c0.zip/node_modules/typescript/",\
["patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40", {\
"packageLocation": "../../../../cache/others/berry/cache/typescript-patch-8964a48ba3-10c0.zip/node_modules/typescript/",\
"packageDependencies": [\
["typescript", "patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"]\
["typescript", "patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"]\
],\
"linkType": "HARD"\
}]\
]],\
["undici-types", [\
["npm:6.20.0", {\
"packageLocation": "../../../../cache/others/berry/cache/undici-types-npm-6.20.0-bd21e669af-10c0.zip/node_modules/undici-types/",\
["npm:6.19.8", {\
"packageLocation": "../../../../cache/others/berry/cache/undici-types-npm-6.19.8-9f12285b7a-10c0.zip/node_modules/undici-types/",\
"packageDependencies": [\
["undici-types", "npm:6.20.0"]\
["undici-types", "npm:6.19.8"]\
],\
"linkType": "HARD"\
}]\
@@ -7564,7 +7564,7 @@ class MountFS extends BasePortableFakeFS {
if (this.notMount.has(filePath))
continue;
try {
if (this.typeCheck !== null && (this.baseFs.statSync(filePath).mode & fs.constants.S_IFMT) !== this.typeCheck) {
if (this.typeCheck !== null && (this.baseFs.lstatSync(filePath).mode & fs.constants.S_IFMT) !== this.typeCheck) {
this.notMount.add(filePath);
continue;
}
@@ -10577,7 +10577,6 @@ Require stack:
}
return false;
};
if (!process.features.require_module) {
const originalExtensionJSFunction = require$$0.Module._extensions[`.js`];
require$$0.Module._extensions[`.js`] = function(module, filename) {
if (filename.endsWith(`.js`)) {
@@ -10590,7 +10589,6 @@ Require stack:
}
originalExtensionJSFunction.call(this, module, filename);
};
}
const originalDlopen = process.dlopen;
process.dlopen = function(...args) {
const [module, filename, ...rest] = args;

View File

@@ -1,2 +1,2 @@
nodejs 22.13.1
nodejs 22.11.0
yarn 1.22.22

File diff suppressed because one or more lines are too long

View File

@@ -3,4 +3,4 @@ plugins:
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://go.mskelton.dev/yarn-outdated/v4"
yarnPath: .yarn/releases/yarn-4.6.0.cjs
yarnPath: .yarn/releases/yarn-4.5.3.cjs

View File

@@ -1,10 +1,10 @@
FROM node:22.13.1-slim
FROM node:22.11.0-slim
WORKDIR /opt/app
RUN apt-get update \
&& apt-get -y install make \
&& yarn set version 4.6.0
&& yarn set version 4.5.3
COPY ./Makefile ./
COPY ./package.json ./

View File

@@ -6,7 +6,7 @@ asdf_install:
.PHONY: yarn_setup
yarn_setup:
@yarn set version 4.6.0
@yarn set version 4.5.3
@yarn init -2
@yarn add typescript jest @types/jest ts-node ts-jest

View File

@@ -1,6 +1,6 @@
{
"name": "clean-architecture",
"packageManager": "yarn@4.6.0",
"packageManager": "yarn@4.5.3",
"dependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^22.7.5",

View File

@@ -904,11 +904,11 @@ __metadata:
linkType: hard
"@types/node@npm:*, @types/node@npm:^22.7.5":
version: 22.13.3
resolution: "@types/node@npm:22.13.3"
version: 22.9.3
resolution: "@types/node@npm:22.9.3"
dependencies:
undici-types: "npm:~6.20.0"
checksum: 10c0/9ead161d7575b825a27ba6854718b0464f8ce3662756c0b20d95904fb7d250c7c97c58bf15c4aea96d09b8a3cb8fb45254344d7602bdfb0ea2334c92dd21df26
undici-types: "npm:~6.19.8"
checksum: 10c0/954ec72bf29436ea62425a9563914a9c1e93f97b18194acd51d74d13998a701977547ed2985ed3a0e97211b785436d28377116e5f613bfcf3182d9bd81d784dc
languageName: node
linkType: hard
@@ -3793,29 +3793,29 @@ __metadata:
linkType: hard
"typescript@npm:^5.6.2":
version: 5.7.3
resolution: "typescript@npm:5.7.3"
version: 5.6.3
resolution: "typescript@npm:5.6.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/b7580d716cf1824736cc6e628ab4cd8b51877408ba2be0869d2866da35ef8366dd6ae9eb9d0851470a39be17cbd61df1126f9e211d8799d764ea7431d5435afa
checksum: 10c0/44f61d3fb15c35359bc60399cb8127c30bae554cd555b8e2b46d68fa79d680354b83320ad419ff1b81a0bdf324197b29affe6cc28988cd6a74d4ac60c94f9799
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.6.2#optional!builtin<compat/typescript>":
version: 5.7.3
resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"
version: 5.6.3
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/6fd7e0ed3bf23a81246878c613423730c40e8bdbfec4c6e4d7bf1b847cbb39076e56ad5f50aa9d7ebd89877999abaee216002d3f2818885e41c907caaa192cc4
checksum: 10c0/7c9d2e07c81226d60435939618c91ec2ff0b75fbfa106eec3430f0fcf93a584bc6c73176676f532d78c3594fe28a54b36eb40b3d75593071a7ec91301533ace7
languageName: node
linkType: hard
"undici-types@npm:~6.20.0":
version: 6.20.0
resolution: "undici-types@npm:6.20.0"
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
"undici-types@npm:~6.19.8":
version: 6.19.8
resolution: "undici-types@npm:6.19.8"
checksum: 10c0/078afa5990fba110f6824823ace86073b4638f1d5112ee26e790155f481f2a868cc3e0615505b6f4282bdf74a3d8caad715fd809e870c2bb0704e3ea6082f344
languageName: node
linkType: hard