Compare commits
1 Commits
renovate/n
...
jpd/feat/u
Author | SHA1 | Date | |
---|---|---|---|
ae8094c9e0
|
@@ -27,9 +27,9 @@ steps:
|
|||||||
restore: true
|
restore: true
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: 'node:22.17.1-slim'
|
image: 'node:22.11.0-slim'
|
||||||
commands:
|
commands:
|
||||||
- yarn set version 4.6.0
|
- yarn set version 4.5.3
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn run jest
|
- 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) {
|
async function maybeLStat(baseFs, p) {
|
||||||
try {
|
try {
|
||||||
return await baseFs.lstatPromise(p);
|
return await baseFs.lstatPromise(p);
|
||||||
} catch {
|
} catch (e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -482,7 +482,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p);
|
current = await this.readFilePromise(p);
|
||||||
} catch {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@@ -492,7 +492,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p, `utf8`);
|
current = await this.readFilePromise(p, `utf8`);
|
||||||
} catch {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@@ -510,7 +510,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p);
|
current = this.readFileSync(p);
|
||||||
} catch {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@@ -520,7 +520,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p, `utf8`);
|
current = this.readFileSync(p, `utf8`);
|
||||||
} catch {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@@ -560,13 +560,13 @@ class FakeFS {
|
|||||||
let pid;
|
let pid;
|
||||||
try {
|
try {
|
||||||
[pid] = await this.readJsonPromise(lockPath);
|
[pid] = await this.readJsonPromise(lockPath);
|
||||||
} catch {
|
} catch (error) {
|
||||||
return Date.now() - startTime < 500;
|
return Date.now() - startTime < 500;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
process.kill(pid, 0);
|
process.kill(pid, 0);
|
||||||
return true;
|
return true;
|
||||||
} catch {
|
} catch (error) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -579,7 +579,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
continue;
|
continue;
|
||||||
} catch {
|
} catch (error2) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Date.now() - startTime < 60 * 1e3) {
|
if (Date.now() - startTime < 60 * 1e3) {
|
||||||
@@ -599,7 +599,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.closePromise(fd);
|
await this.closePromise(fd);
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
} catch {
|
} catch (error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -895,7 +895,7 @@ class ProxiedFS extends FakeFS {
|
|||||||
watch(p, a, b) {
|
watch(p, a, b) {
|
||||||
return this.baseFs.watch(
|
return this.baseFs.watch(
|
||||||
this.mapToBase(p),
|
this.mapToBase(p),
|
||||||
// @ts-expect-error - reason TBS
|
// @ts-expect-error
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@@ -903,7 +903,7 @@ class ProxiedFS extends FakeFS {
|
|||||||
watchFile(p, a, b) {
|
watchFile(p, a, b) {
|
||||||
return this.baseFs.watchFile(
|
return this.baseFs.watchFile(
|
||||||
this.mapToBase(p),
|
this.mapToBase(p),
|
||||||
// @ts-expect-error - reason TBS
|
// @ts-expect-error
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@@ -1323,7 +1323,7 @@ class NodeFS extends BasePortableFakeFS {
|
|||||||
watch(p, a, b) {
|
watch(p, a, b) {
|
||||||
return this.realFs.watch(
|
return this.realFs.watch(
|
||||||
npath.fromPortablePath(p),
|
npath.fromPortablePath(p),
|
||||||
// @ts-expect-error - reason TBS
|
// @ts-expect-error
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@@ -1331,7 +1331,7 @@ class NodeFS extends BasePortableFakeFS {
|
|||||||
watchFile(p, a, b) {
|
watchFile(p, a, b) {
|
||||||
return this.realFs.watchFile(
|
return this.realFs.watchFile(
|
||||||
npath.fromPortablePath(p),
|
npath.fromPortablePath(p),
|
||||||
// @ts-expect-error - reason TBS
|
// @ts-expect-error
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
nodejs 22.17.1
|
nodejs 22.11.0
|
||||||
yarn 1.22.22
|
yarn 1.22.22
|
||||||
|
934
.yarn/releases/yarn-4.5.3.cjs
vendored
Executable file
934
.yarn/releases/yarn-4.5.3.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
|
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
||||||
spec: "https://go.mskelton.dev/yarn-outdated/v4"
|
spec: "https://go.mskelton.dev/yarn-outdated/v4"
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-4.9.2.cjs
|
yarnPath: .yarn/releases/yarn-4.5.3.cjs
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
FROM node:22.17.1-slim
|
FROM node:22.11.0-slim
|
||||||
|
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y install make \
|
&& apt-get -y install make \
|
||||||
&& yarn set version 4.6.0
|
&& yarn set version 4.5.3
|
||||||
|
|
||||||
COPY ./Makefile ./
|
COPY ./Makefile ./
|
||||||
COPY ./package.json ./
|
COPY ./package.json ./
|
||||||
|
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ asdf_install:
|
|||||||
|
|
||||||
.PHONY: yarn_setup
|
.PHONY: yarn_setup
|
||||||
yarn_setup:
|
yarn_setup:
|
||||||
@yarn set version 4.6.0
|
@yarn set version 4.5.3
|
||||||
@yarn init -2
|
@yarn init -2
|
||||||
@yarn add typescript jest @types/jest ts-node ts-jest
|
@yarn add typescript jest @types/jest ts-node ts-jest
|
||||||
|
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "clean-architecture",
|
"name": "clean-architecture",
|
||||||
"packageManager": "yarn@4.9.2",
|
"packageManager": "yarn@4.5.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/jest": "^30.0.0",
|
"@types/jest": "^29.5.13",
|
||||||
"@types/node": "^22.7.5",
|
"@types/node": "^22.7.5",
|
||||||
"jest": "^30.0.0",
|
"jest": "^29.7.0",
|
||||||
"ts-jest": "^29.2.5",
|
"ts-jest": "^29.2.5",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.6.2"
|
"typescript": "^5.6.2"
|
||||||
|
Reference in New Issue
Block a user