Compare commits
1 Commits
renovate/t
...
42431a8d52
Author | SHA1 | Date | |
---|---|---|---|
42431a8d52 |
@@ -27,9 +27,9 @@ steps:
|
||||
restore: true
|
||||
|
||||
- name: test
|
||||
image: 'node:22.17.1-slim'
|
||||
image: 'node:22.11.0-slim'
|
||||
commands:
|
||||
- yarn set version 4.6.0
|
||||
- yarn set version 4.5.1
|
||||
- yarn install
|
||||
- yarn run jest
|
||||
|
||||
|
26
.pnp.loader.mjs
generated
26
.pnp.loader.mjs
generated
@@ -131,7 +131,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
||||
async function maybeLStat(baseFs, p) {
|
||||
try {
|
||||
return await baseFs.lstatPromise(p);
|
||||
} catch {
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -482,7 +482,7 @@ class FakeFS {
|
||||
let current = Buffer.alloc(0);
|
||||
try {
|
||||
current = await this.readFilePromise(p);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
}
|
||||
if (Buffer.compare(current, content) === 0)
|
||||
return;
|
||||
@@ -492,7 +492,7 @@ class FakeFS {
|
||||
let current = ``;
|
||||
try {
|
||||
current = await this.readFilePromise(p, `utf8`);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
}
|
||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||
if (current === normalizedContent)
|
||||
@@ -510,7 +510,7 @@ class FakeFS {
|
||||
let current = Buffer.alloc(0);
|
||||
try {
|
||||
current = this.readFileSync(p);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
}
|
||||
if (Buffer.compare(current, content) === 0)
|
||||
return;
|
||||
@@ -520,7 +520,7 @@ class FakeFS {
|
||||
let current = ``;
|
||||
try {
|
||||
current = this.readFileSync(p, `utf8`);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
}
|
||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||
if (current === normalizedContent)
|
||||
@@ -560,13 +560,13 @@ class FakeFS {
|
||||
let pid;
|
||||
try {
|
||||
[pid] = await this.readJsonPromise(lockPath);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
return Date.now() - startTime < 500;
|
||||
}
|
||||
try {
|
||||
process.kill(pid, 0);
|
||||
return true;
|
||||
} catch {
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@@ -579,7 +579,7 @@ class FakeFS {
|
||||
try {
|
||||
await this.unlinkPromise(lockPath);
|
||||
continue;
|
||||
} catch {
|
||||
} catch (error2) {
|
||||
}
|
||||
}
|
||||
if (Date.now() - startTime < 60 * 1e3) {
|
||||
@@ -599,7 +599,7 @@ class FakeFS {
|
||||
try {
|
||||
await this.closePromise(fd);
|
||||
await this.unlinkPromise(lockPath);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -895,7 +895,7 @@ class ProxiedFS extends FakeFS {
|
||||
watch(p, a, b) {
|
||||
return this.baseFs.watch(
|
||||
this.mapToBase(p),
|
||||
// @ts-expect-error - reason TBS
|
||||
// @ts-expect-error
|
||||
a,
|
||||
b
|
||||
);
|
||||
@@ -903,7 +903,7 @@ class ProxiedFS extends FakeFS {
|
||||
watchFile(p, a, b) {
|
||||
return this.baseFs.watchFile(
|
||||
this.mapToBase(p),
|
||||
// @ts-expect-error - reason TBS
|
||||
// @ts-expect-error
|
||||
a,
|
||||
b
|
||||
);
|
||||
@@ -1323,7 +1323,7 @@ class NodeFS extends BasePortableFakeFS {
|
||||
watch(p, a, b) {
|
||||
return this.realFs.watch(
|
||||
npath.fromPortablePath(p),
|
||||
// @ts-expect-error - reason TBS
|
||||
// @ts-expect-error
|
||||
a,
|
||||
b
|
||||
);
|
||||
@@ -1331,7 +1331,7 @@ class NodeFS extends BasePortableFakeFS {
|
||||
watchFile(p, a, b) {
|
||||
return this.realFs.watchFile(
|
||||
npath.fromPortablePath(p),
|
||||
// @ts-expect-error - reason TBS
|
||||
// @ts-expect-error
|
||||
a,
|
||||
b
|
||||
);
|
||||
|
@@ -1,2 +1,2 @@
|
||||
nodejs 22.17.1
|
||||
nodejs 22.11.0
|
||||
yarn 1.22.22
|
||||
|
934
.yarn/releases/yarn-4.5.1.cjs
vendored
Executable file
934
.yarn/releases/yarn-4.5.1.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
942
.yarn/releases/yarn-4.9.2.cjs
vendored
942
.yarn/releases/yarn-4.9.2.cjs
vendored
File diff suppressed because one or more lines are too long
@@ -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.9.2.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.5.1.cjs
|
||||
|
@@ -1,10 +1,10 @@
|
||||
FROM node:22.17.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.1
|
||||
|
||||
COPY ./Makefile ./
|
||||
COPY ./package.json ./
|
||||
|
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ asdf_install:
|
||||
|
||||
.PHONY: yarn_setup
|
||||
yarn_setup:
|
||||
@yarn set version 4.6.0
|
||||
@yarn set version 4.5.1
|
||||
@yarn init -2
|
||||
@yarn add typescript jest @types/jest ts-node ts-jest
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "clean-architecture",
|
||||
"packageManager": "yarn@4.9.2",
|
||||
"packageManager": "yarn@4.5.1",
|
||||
"dependencies": {
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/node": "^22.7.5",
|
||||
"jest": "^30.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.6.2"
|
||||
|
Reference in New Issue
Block a user