test: enforce per-directory coverage thresholds
entities + use-cases + controllers must hit 100% (95% branches). Project-wide baseline remains 80/75/80/80. Tightening these directories reflects the architectural intent: these are the pure-logic layers and should be exhaustively tested. Added @vitest/coverage-v8@^3 to core-typescript, auth, blog, marketing-pages, and navigation devDependencies. Excluded from coverage (legitimately untestable): - src/di/bind-production.ts — InversifyJS startup bootstrap - src/application/repositories/** — pure TypeScript interfaces - src/application/services/** — pure TypeScript interfaces (auth) - src/integrations/cms/** — declarative Payload CMS config - src/entities/cookie.ts — pure type aliases (auth) - src/ui/** — React Query helpers, integration-tested in apps Tests added (6 new files / 1 extended): - auth/src/entities/errors.test.ts — UnauthenticatedError, UnauthorizedError, AuthenticationError, InputParseError constructors - blog/src/entities/errors.test.ts — ArticleNotFoundError (default + custom message), InputParseError - marketing-pages/src/entities/errors.test.ts — PageNotFoundError, InputParseError - marketing-pages/src/entities/site-settings.test.ts — siteSettingsSchema (valid, no description, empty name rejection) - navigation/src/entities/header.test.ts — headerItemSchema and headerSchema validation paths - navigation/src/.../payload-header.repository.test.ts — logo relation-object, scalar-id, null, and null-item-field branches for full branch coverage Spec: §6.9
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
"@repo/core-testing": "workspace:*",
|
"@repo/core-testing": "workspace:*",
|
||||||
"@repo/core-typescript": "workspace:*",
|
"@repo/core-typescript": "workspace:*",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
|
"@vitest/coverage-v8": "^3.2.4",
|
||||||
"vitest": "^3.1.0"
|
"vitest": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
39
packages/auth/src/entities/errors.test.ts
Normal file
39
packages/auth/src/entities/errors.test.ts
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import {
|
||||||
|
AuthenticationError,
|
||||||
|
UnauthenticatedError,
|
||||||
|
UnauthorizedError,
|
||||||
|
InputParseError,
|
||||||
|
} from "./errors";
|
||||||
|
|
||||||
|
describe("AuthenticationError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new AuthenticationError("bad credentials");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("bad credentials");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("UnauthenticatedError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new UnauthenticatedError("not logged in");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("not logged in");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("UnauthorizedError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new UnauthorizedError("forbidden");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("forbidden");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("InputParseError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new InputParseError("invalid input");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("invalid input");
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -3,6 +3,47 @@ import { mergeConfig } from "vitest/config";
|
|||||||
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
||||||
|
|
||||||
export default mergeConfig(nodeVitestConfig, {
|
export default mergeConfig(nodeVitestConfig, {
|
||||||
|
test: {
|
||||||
|
coverage: {
|
||||||
|
exclude: [
|
||||||
|
// DI bootstrap — wires InversifyJS at app startup; not unit-testable
|
||||||
|
"src/di/bind-production.ts",
|
||||||
|
// Pure TypeScript interface files — not executable
|
||||||
|
"src/application/repositories/**",
|
||||||
|
"src/application/services/**",
|
||||||
|
// Payload CMS collection config — declarative data, tested via Payload integration
|
||||||
|
"src/integrations/cms/**",
|
||||||
|
// Pure type-alias file — no executable code
|
||||||
|
"src/entities/cookie.ts",
|
||||||
|
// React Query option builders — integration-tested in apps
|
||||||
|
"src/ui/**",
|
||||||
|
],
|
||||||
|
thresholds: {
|
||||||
|
"src/entities/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 100,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/application/use-cases/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/interface-adapters/controllers/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
statements: 80,
|
||||||
|
branches: 75,
|
||||||
|
functions: 80,
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: { "@": path.resolve(__dirname, "./src") },
|
alias: { "@": path.resolve(__dirname, "./src") },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
"@repo/core-testing": "workspace:*",
|
"@repo/core-testing": "workspace:*",
|
||||||
"@repo/core-typescript": "workspace:*",
|
"@repo/core-typescript": "workspace:*",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
|
"@vitest/coverage-v8": "^3.2.4",
|
||||||
"vitest": "^3.1.0"
|
"vitest": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
packages/blog/src/entities/errors.test.ts
Normal file
23
packages/blog/src/entities/errors.test.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { ArticleNotFoundError, InputParseError } from "./errors";
|
||||||
|
|
||||||
|
describe("ArticleNotFoundError", () => {
|
||||||
|
it("uses the default message when none is given", () => {
|
||||||
|
const err = new ArticleNotFoundError();
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("Article not found");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("uses a custom message when provided", () => {
|
||||||
|
const err = new ArticleNotFoundError("could not find article abc");
|
||||||
|
expect(err.message).toBe("could not find article abc");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("InputParseError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new InputParseError("invalid input");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("invalid input");
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -3,6 +3,44 @@ import { mergeConfig } from "vitest/config";
|
|||||||
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
||||||
|
|
||||||
export default mergeConfig(nodeVitestConfig, {
|
export default mergeConfig(nodeVitestConfig, {
|
||||||
|
test: {
|
||||||
|
coverage: {
|
||||||
|
exclude: [
|
||||||
|
// DI bootstrap — wires InversifyJS at app startup; not unit-testable
|
||||||
|
"src/di/bind-production.ts",
|
||||||
|
// Pure TypeScript interface files — not executable
|
||||||
|
"src/application/repositories/**",
|
||||||
|
// Payload CMS collection config — declarative data, tested via Payload integration
|
||||||
|
"src/integrations/cms/**",
|
||||||
|
// React Query option builders — integration-tested in apps
|
||||||
|
"src/ui/**",
|
||||||
|
],
|
||||||
|
thresholds: {
|
||||||
|
"src/entities/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 100,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/application/use-cases/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/interface-adapters/controllers/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
statements: 80,
|
||||||
|
branches: 75,
|
||||||
|
functions: 80,
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: { "@": path.resolve(__dirname, "./src") },
|
alias: { "@": path.resolve(__dirname, "./src") },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"test": "vitest run"
|
"test": "vitest run"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@vitest/coverage-v8": "^3.2.4",
|
||||||
"vitest": "^3.1.0"
|
"vitest": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
"@repo/core-testing": "workspace:*",
|
"@repo/core-testing": "workspace:*",
|
||||||
"@repo/core-typescript": "workspace:*",
|
"@repo/core-typescript": "workspace:*",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
|
"@vitest/coverage-v8": "^3.2.4",
|
||||||
"vitest": "^3.1.0"
|
"vitest": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
packages/marketing-pages/src/entities/errors.test.ts
Normal file
23
packages/marketing-pages/src/entities/errors.test.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { PageNotFoundError, InputParseError } from "./errors";
|
||||||
|
|
||||||
|
describe("PageNotFoundError", () => {
|
||||||
|
it("uses the default message when none is given", () => {
|
||||||
|
const err = new PageNotFoundError();
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("Page not found");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("uses a custom message when provided", () => {
|
||||||
|
const err = new PageNotFoundError("could not find page /about");
|
||||||
|
expect(err.message).toBe("could not find page /about");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("InputParseError", () => {
|
||||||
|
it("is an instance of Error with the given message", () => {
|
||||||
|
const err = new InputParseError("invalid input");
|
||||||
|
expect(err).toBeInstanceOf(Error);
|
||||||
|
expect(err.message).toBe("invalid input");
|
||||||
|
});
|
||||||
|
});
|
||||||
23
packages/marketing-pages/src/entities/site-settings.test.ts
Normal file
23
packages/marketing-pages/src/entities/site-settings.test.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { siteSettingsSchema } from "./site-settings";
|
||||||
|
|
||||||
|
describe("siteSettingsSchema", () => {
|
||||||
|
it("accepts a valid site settings object", () => {
|
||||||
|
const result = siteSettingsSchema.parse({
|
||||||
|
siteName: "My Site",
|
||||||
|
siteDescription: "A great site",
|
||||||
|
});
|
||||||
|
expect(result.siteName).toBe("My Site");
|
||||||
|
expect(result.siteDescription).toBe("A great site");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("accepts site settings without a description", () => {
|
||||||
|
const result = siteSettingsSchema.parse({ siteName: "My Site" });
|
||||||
|
expect(result.siteName).toBe("My Site");
|
||||||
|
expect(result.siteDescription).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("rejects an empty siteName", () => {
|
||||||
|
expect(() => siteSettingsSchema.parse({ siteName: "" })).toThrow();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -3,6 +3,44 @@ import { mergeConfig } from "vitest/config";
|
|||||||
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
||||||
|
|
||||||
export default mergeConfig(nodeVitestConfig, {
|
export default mergeConfig(nodeVitestConfig, {
|
||||||
|
test: {
|
||||||
|
coverage: {
|
||||||
|
exclude: [
|
||||||
|
// DI bootstrap — wires InversifyJS at app startup; not unit-testable
|
||||||
|
"src/di/bind-production.ts",
|
||||||
|
// Pure TypeScript interface files — not executable
|
||||||
|
"src/application/repositories/**",
|
||||||
|
// Payload CMS collection/global config — declarative data, tested via Payload integration
|
||||||
|
"src/integrations/cms/**",
|
||||||
|
// React Query option builders — integration-tested in apps
|
||||||
|
"src/ui/**",
|
||||||
|
],
|
||||||
|
thresholds: {
|
||||||
|
"src/entities/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 100,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/application/use-cases/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/interface-adapters/controllers/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
statements: 80,
|
||||||
|
branches: 75,
|
||||||
|
functions: 80,
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: { "@": path.resolve(__dirname, "./src") },
|
alias: { "@": path.resolve(__dirname, "./src") },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
"@repo/core-testing": "workspace:*",
|
"@repo/core-testing": "workspace:*",
|
||||||
"@repo/core-typescript": "workspace:*",
|
"@repo/core-typescript": "workspace:*",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
|
"@vitest/coverage-v8": "^3.2.4",
|
||||||
"vitest": "^3.1.0"
|
"vitest": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
61
packages/navigation/src/entities/header.test.ts
Normal file
61
packages/navigation/src/entities/header.test.ts
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { headerSchema, headerItemSchema } from "./header";
|
||||||
|
|
||||||
|
describe("headerItemSchema", () => {
|
||||||
|
it("accepts a valid nav item", () => {
|
||||||
|
const result = headerItemSchema.parse({
|
||||||
|
label: "Home",
|
||||||
|
href: "/",
|
||||||
|
});
|
||||||
|
expect(result.label).toBe("Home");
|
||||||
|
expect(result.external).toBe(false);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("accepts an external nav item", () => {
|
||||||
|
const result = headerItemSchema.parse({
|
||||||
|
label: "Blog",
|
||||||
|
href: "https://blog.example.com",
|
||||||
|
external: true,
|
||||||
|
});
|
||||||
|
expect(result.external).toBe(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
it("rejects an empty label", () => {
|
||||||
|
expect(() => headerItemSchema.parse({ label: "", href: "/" })).toThrow();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("rejects a label over 64 chars", () => {
|
||||||
|
expect(() =>
|
||||||
|
headerItemSchema.parse({ label: "x".repeat(65), href: "/" }),
|
||||||
|
).toThrow();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("rejects an empty href", () => {
|
||||||
|
expect(() =>
|
||||||
|
headerItemSchema.parse({ label: "Home", href: "" }),
|
||||||
|
).toThrow();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("headerSchema", () => {
|
||||||
|
it("accepts a valid header with items", () => {
|
||||||
|
const result = headerSchema.parse({
|
||||||
|
items: [{ label: "Home", href: "/" }],
|
||||||
|
});
|
||||||
|
expect(result.items).toHaveLength(1);
|
||||||
|
expect(result.logoId).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("accepts a header with a logoId", () => {
|
||||||
|
const result = headerSchema.parse({
|
||||||
|
logoId: "logo-abc",
|
||||||
|
items: [],
|
||||||
|
});
|
||||||
|
expect(result.logoId).toBe("logo-abc");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("accepts a header with no items", () => {
|
||||||
|
const result = headerSchema.parse({ items: [] });
|
||||||
|
expect(result.items).toHaveLength(0);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { describe, vi } from "vitest";
|
import { describe, it, expect, vi } from "vitest";
|
||||||
import { PayloadHeaderRepository } from "@/infrastructure/repositories/payload-header.repository";
|
import { PayloadHeaderRepository } from "@/infrastructure/repositories/payload-header.repository";
|
||||||
import { headerRepositoryContract, CONTRACT_HEADER_SEED } from "@/__contracts__/header-repository.contract";
|
import { headerRepositoryContract, CONTRACT_HEADER_SEED } from "@/__contracts__/header-repository.contract";
|
||||||
import { stubPayloadConfig } from "@repo/core-testing/payload/stub-config";
|
import { stubPayloadConfig } from "@repo/core-testing/payload/stub-config";
|
||||||
@@ -7,10 +7,10 @@ import { stubPayloadConfig } from "@repo/core-testing/payload/stub-config";
|
|||||||
// In-memory Payload stub for header (Global)
|
// In-memory Payload stub for header (Global)
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
function buildHeaderStub() {
|
function buildHeaderStub(overrides?: Record<string, unknown>) {
|
||||||
return {
|
return {
|
||||||
findGlobal: vi.fn(async () => {
|
findGlobal: vi.fn(async () => {
|
||||||
return { ...CONTRACT_HEADER_SEED };
|
return { ...CONTRACT_HEADER_SEED, ...overrides };
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -32,4 +32,58 @@ describe("PayloadHeaderRepository", () => {
|
|||||||
return new PayloadHeaderRepository(stubPayloadConfig);
|
return new PayloadHeaderRepository(stubPayloadConfig);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Logo field branch coverage
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
it("resolves logoId from a relation object ({ id })", async () => {
|
||||||
|
const stub = buildHeaderStub({ logo: { id: "abc-123" } });
|
||||||
|
const { getPayload } = await import("payload");
|
||||||
|
(getPayload as ReturnType<typeof vi.fn>).mockResolvedValue(stub);
|
||||||
|
|
||||||
|
const repo = new PayloadHeaderRepository(stubPayloadConfig);
|
||||||
|
const header = await repo.getHeader();
|
||||||
|
|
||||||
|
expect(header.logoId).toBe("abc-123");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("resolves logoId from a scalar id (string)", async () => {
|
||||||
|
const stub = buildHeaderStub({ logo: "scalar-id" });
|
||||||
|
const { getPayload } = await import("payload");
|
||||||
|
(getPayload as ReturnType<typeof vi.fn>).mockResolvedValue(stub);
|
||||||
|
|
||||||
|
const repo = new PayloadHeaderRepository(stubPayloadConfig);
|
||||||
|
const header = await repo.getHeader();
|
||||||
|
|
||||||
|
expect(header.logoId).toBe("scalar-id");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("resolves logoId as undefined when logo is null", async () => {
|
||||||
|
const stub = buildHeaderStub({ logo: null });
|
||||||
|
const { getPayload } = await import("payload");
|
||||||
|
(getPayload as ReturnType<typeof vi.fn>).mockResolvedValue(stub);
|
||||||
|
|
||||||
|
const repo = new PayloadHeaderRepository(stubPayloadConfig);
|
||||||
|
const header = await repo.getHeader();
|
||||||
|
|
||||||
|
expect(header.logoId).toBeUndefined();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("maps null item fields to empty strings and false", async () => {
|
||||||
|
const stub = {
|
||||||
|
findGlobal: vi.fn(async () => ({
|
||||||
|
items: [{ label: null, href: null, external: null }],
|
||||||
|
})),
|
||||||
|
};
|
||||||
|
const { getPayload } = await import("payload");
|
||||||
|
(getPayload as ReturnType<typeof vi.fn>).mockResolvedValue(stub);
|
||||||
|
|
||||||
|
const repo = new PayloadHeaderRepository(stubPayloadConfig);
|
||||||
|
const header = await repo.getHeader();
|
||||||
|
|
||||||
|
expect(header.items[0]?.label).toBe("");
|
||||||
|
expect(header.items[0]?.href).toBe("");
|
||||||
|
expect(header.items[0]?.external).toBe(false);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,6 +3,44 @@ import { mergeConfig } from "vitest/config";
|
|||||||
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
import { nodeVitestConfig } from "@repo/core-typescript/vitest.base.node";
|
||||||
|
|
||||||
export default mergeConfig(nodeVitestConfig, {
|
export default mergeConfig(nodeVitestConfig, {
|
||||||
|
test: {
|
||||||
|
coverage: {
|
||||||
|
exclude: [
|
||||||
|
// DI bootstrap — wires InversifyJS at app startup; not unit-testable
|
||||||
|
"src/di/bind-production.ts",
|
||||||
|
// Pure TypeScript interface files — not executable
|
||||||
|
"src/application/repositories/**",
|
||||||
|
// Payload CMS global config — declarative data, tested via Payload integration
|
||||||
|
"src/integrations/cms/**",
|
||||||
|
// React Query option builders — integration-tested in apps
|
||||||
|
"src/ui/**",
|
||||||
|
],
|
||||||
|
thresholds: {
|
||||||
|
"src/entities/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 100,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/application/use-cases/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
"src/interface-adapters/controllers/**": {
|
||||||
|
statements: 100,
|
||||||
|
branches: 95,
|
||||||
|
functions: 100,
|
||||||
|
lines: 100,
|
||||||
|
},
|
||||||
|
statements: 80,
|
||||||
|
branches: 75,
|
||||||
|
functions: 80,
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: { "@": path.resolve(__dirname, "./src") },
|
alias: { "@": path.resolve(__dirname, "./src") },
|
||||||
},
|
},
|
||||||
|
|||||||
124
pnpm-lock.yaml
generated
124
pnpm-lock.yaml
generated
@@ -322,6 +322,9 @@ importers:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^22.0.0
|
specifier: ^22.0.0
|
||||||
version: 22.19.17
|
version: 22.19.17
|
||||||
|
'@vitest/coverage-v8':
|
||||||
|
specifier: ^3.2.4
|
||||||
|
version: 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
@@ -359,6 +362,9 @@ importers:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^22.0.0
|
specifier: ^22.0.0
|
||||||
version: 22.19.17
|
version: 22.19.17
|
||||||
|
'@vitest/coverage-v8':
|
||||||
|
specifier: ^3.2.4
|
||||||
|
version: 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
@@ -610,6 +616,9 @@ importers:
|
|||||||
|
|
||||||
packages/core-typescript:
|
packages/core-typescript:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
'@vitest/coverage-v8':
|
||||||
|
specifier: ^3.2.4
|
||||||
|
version: 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@25.5.2)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@25.5.2)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
version: 3.2.4(@types/debug@4.1.13)(@types/node@25.5.2)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
@@ -690,6 +699,9 @@ importers:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^22.0.0
|
specifier: ^22.0.0
|
||||||
version: 22.19.17
|
version: 22.19.17
|
||||||
|
'@vitest/coverage-v8':
|
||||||
|
specifier: ^3.2.4
|
||||||
|
version: 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
@@ -746,6 +758,9 @@ importers:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^22.0.0
|
specifier: ^22.0.0
|
||||||
version: 22.19.17
|
version: 22.19.17
|
||||||
|
'@vitest/coverage-v8':
|
||||||
|
specifier: ^3.2.4
|
||||||
|
version: 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
@@ -755,6 +770,10 @@ packages:
|
|||||||
'@adobe/css-tools@4.4.4':
|
'@adobe/css-tools@4.4.4':
|
||||||
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
|
resolution: {integrity: sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==}
|
||||||
|
|
||||||
|
'@ampproject/remapping@2.3.0':
|
||||||
|
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
|
||||||
|
engines: {node: '>=6.0.0'}
|
||||||
|
|
||||||
'@apidevtools/json-schema-ref-parser@11.9.3':
|
'@apidevtools/json-schema-ref-parser@11.9.3':
|
||||||
resolution: {integrity: sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==}
|
resolution: {integrity: sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
@@ -931,6 +950,10 @@ packages:
|
|||||||
'@bcoe/v8-coverage@0.2.3':
|
'@bcoe/v8-coverage@0.2.3':
|
||||||
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
|
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
|
||||||
|
|
||||||
|
'@bcoe/v8-coverage@1.0.2':
|
||||||
|
resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==}
|
||||||
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
'@borewit/text-codec@0.2.2':
|
'@borewit/text-codec@0.2.2':
|
||||||
resolution: {integrity: sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==}
|
resolution: {integrity: sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==}
|
||||||
|
|
||||||
@@ -3166,6 +3189,15 @@ packages:
|
|||||||
resolution: {integrity: sha512-XJ9UD9+bbDo4a4epraTwG3TsNPeiB9aShrUneAVXy8q4LuwowN+qu89/6ByLMINqvIMeI9H9hOHQtg/ijrYXzQ==}
|
resolution: {integrity: sha512-XJ9UD9+bbDo4a4epraTwG3TsNPeiB9aShrUneAVXy8q4LuwowN+qu89/6ByLMINqvIMeI9H9hOHQtg/ijrYXzQ==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
|
|
||||||
|
'@vitest/coverage-v8@3.2.4':
|
||||||
|
resolution: {integrity: sha512-EyF9SXU6kS5Ku/U82E259WSnvg6c8KTjppUncuNdm5QHpe17mwREHnjDzozC8x9MZ0xfBUFSaLkRv4TMA75ALQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@vitest/browser': 3.2.4
|
||||||
|
vitest: 3.2.4
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@vitest/browser':
|
||||||
|
optional: true
|
||||||
|
|
||||||
'@vitest/expect@3.2.4':
|
'@vitest/expect@3.2.4':
|
||||||
resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
|
resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
|
||||||
|
|
||||||
@@ -3283,6 +3315,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==}
|
resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
|
|
||||||
|
ast-v8-to-istanbul@0.3.12:
|
||||||
|
resolution: {integrity: sha512-BRRC8VRZY2R4Z4lFIL35MwNXmwVqBityvOIwETtsCSwvjl0IdgFsy9NhdaA6j74nUdtJJlIypeRhpDam19Wq3g==}
|
||||||
|
|
||||||
async@3.2.6:
|
async@3.2.6:
|
||||||
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
|
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
|
||||||
|
|
||||||
@@ -4596,6 +4631,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==}
|
resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
istanbul-lib-source-maps@5.0.6:
|
||||||
|
resolution: {integrity: sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==}
|
||||||
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
istanbul-reports@3.2.0:
|
istanbul-reports@3.2.0:
|
||||||
resolution: {integrity: sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==}
|
resolution: {integrity: sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@@ -4780,6 +4819,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
|
resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
js-tokens@10.0.0:
|
||||||
|
resolution: {integrity: sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==}
|
||||||
|
|
||||||
js-tokens@4.0.0:
|
js-tokens@4.0.0:
|
||||||
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
||||||
|
|
||||||
@@ -4988,6 +5030,9 @@ packages:
|
|||||||
magic-string@0.30.21:
|
magic-string@0.30.21:
|
||||||
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
|
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
|
||||||
|
|
||||||
|
magicast@0.3.5:
|
||||||
|
resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==}
|
||||||
|
|
||||||
make-dir@3.1.0:
|
make-dir@3.1.0:
|
||||||
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@@ -6060,6 +6105,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}
|
resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
|
test-exclude@7.0.2:
|
||||||
|
resolution: {integrity: sha512-u9E6A+ZDYdp7a4WnarkXPZOx8Ilz46+kby6p1yZ8zsGTz9gYa6FIS7lj2oezzNKmtdyyJNNmmXDppga5GB7kSw==}
|
||||||
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
thread-stream@3.1.0:
|
thread-stream@3.1.0:
|
||||||
resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}
|
resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}
|
||||||
|
|
||||||
@@ -6279,6 +6328,7 @@ packages:
|
|||||||
|
|
||||||
uuid@10.0.0:
|
uuid@10.0.0:
|
||||||
resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
|
resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
|
||||||
|
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
uuid@8.3.2:
|
uuid@8.3.2:
|
||||||
@@ -6288,6 +6338,7 @@ packages:
|
|||||||
|
|
||||||
uuid@9.0.0:
|
uuid@9.0.0:
|
||||||
resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==}
|
resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==}
|
||||||
|
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
v8-to-istanbul@9.3.0:
|
v8-to-istanbul@9.3.0:
|
||||||
@@ -6547,6 +6598,11 @@ snapshots:
|
|||||||
|
|
||||||
'@adobe/css-tools@4.4.4': {}
|
'@adobe/css-tools@4.4.4': {}
|
||||||
|
|
||||||
|
'@ampproject/remapping@2.3.0':
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/gen-mapping': 0.3.13
|
||||||
|
'@jridgewell/trace-mapping': 0.3.31
|
||||||
|
|
||||||
'@apidevtools/json-schema-ref-parser@11.9.3':
|
'@apidevtools/json-schema-ref-parser@11.9.3':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@jsdevtools/ono': 7.1.3
|
'@jsdevtools/ono': 7.1.3
|
||||||
@@ -6752,6 +6808,8 @@ snapshots:
|
|||||||
|
|
||||||
'@bcoe/v8-coverage@0.2.3': {}
|
'@bcoe/v8-coverage@0.2.3': {}
|
||||||
|
|
||||||
|
'@bcoe/v8-coverage@1.0.2': {}
|
||||||
|
|
||||||
'@borewit/text-codec@0.2.2': {}
|
'@borewit/text-codec@0.2.2': {}
|
||||||
|
|
||||||
'@csstools/color-helpers@5.1.0': {}
|
'@csstools/color-helpers@5.1.0': {}
|
||||||
@@ -9113,6 +9171,44 @@ snapshots:
|
|||||||
'@typescript-eslint/types': 8.58.0
|
'@typescript-eslint/types': 8.58.0
|
||||||
eslint-visitor-keys: 5.0.1
|
eslint-visitor-keys: 5.0.1
|
||||||
|
|
||||||
|
'@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))':
|
||||||
|
dependencies:
|
||||||
|
'@ampproject/remapping': 2.3.0
|
||||||
|
'@bcoe/v8-coverage': 1.0.2
|
||||||
|
ast-v8-to-istanbul: 0.3.12
|
||||||
|
debug: 4.4.3
|
||||||
|
istanbul-lib-coverage: 3.2.2
|
||||||
|
istanbul-lib-report: 3.0.1
|
||||||
|
istanbul-lib-source-maps: 5.0.6
|
||||||
|
istanbul-reports: 3.2.0
|
||||||
|
magic-string: 0.30.21
|
||||||
|
magicast: 0.3.5
|
||||||
|
std-env: 3.10.0
|
||||||
|
test-exclude: 7.0.2
|
||||||
|
tinyrainbow: 2.0.0
|
||||||
|
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
|
||||||
|
'@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@25.5.2)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0))':
|
||||||
|
dependencies:
|
||||||
|
'@ampproject/remapping': 2.3.0
|
||||||
|
'@bcoe/v8-coverage': 1.0.2
|
||||||
|
ast-v8-to-istanbul: 0.3.12
|
||||||
|
debug: 4.4.3
|
||||||
|
istanbul-lib-coverage: 3.2.2
|
||||||
|
istanbul-lib-report: 3.0.1
|
||||||
|
istanbul-lib-source-maps: 5.0.6
|
||||||
|
istanbul-reports: 3.2.0
|
||||||
|
magic-string: 0.30.21
|
||||||
|
magicast: 0.3.5
|
||||||
|
std-env: 3.10.0
|
||||||
|
test-exclude: 7.0.2
|
||||||
|
tinyrainbow: 2.0.0
|
||||||
|
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@25.5.2)(happy-dom@20.8.9)(jiti@2.6.1)(jsdom@25.0.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
|
||||||
'@vitest/expect@3.2.4':
|
'@vitest/expect@3.2.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/chai': 5.2.3
|
'@types/chai': 5.2.3
|
||||||
@@ -9241,6 +9337,12 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
|
ast-v8-to-istanbul@0.3.12:
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/trace-mapping': 0.3.31
|
||||||
|
estree-walker: 3.0.3
|
||||||
|
js-tokens: 10.0.0
|
||||||
|
|
||||||
async@3.2.6: {}
|
async@3.2.6: {}
|
||||||
|
|
||||||
asynckit@0.4.0: {}
|
asynckit@0.4.0: {}
|
||||||
@@ -10559,6 +10661,14 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
|
istanbul-lib-source-maps@5.0.6:
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/trace-mapping': 0.3.31
|
||||||
|
debug: 4.4.3
|
||||||
|
istanbul-lib-coverage: 3.2.2
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
|
||||||
istanbul-reports@3.2.0:
|
istanbul-reports@3.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
html-escaper: 2.0.2
|
html-escaper: 2.0.2
|
||||||
@@ -10958,6 +11068,8 @@ snapshots:
|
|||||||
|
|
||||||
joycon@3.1.1: {}
|
joycon@3.1.1: {}
|
||||||
|
|
||||||
|
js-tokens@10.0.0: {}
|
||||||
|
|
||||||
js-tokens@4.0.0: {}
|
js-tokens@4.0.0: {}
|
||||||
|
|
||||||
js-tokens@9.0.1: {}
|
js-tokens@9.0.1: {}
|
||||||
@@ -11141,6 +11253,12 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@jridgewell/sourcemap-codec': 1.5.5
|
'@jridgewell/sourcemap-codec': 1.5.5
|
||||||
|
|
||||||
|
magicast@0.3.5:
|
||||||
|
dependencies:
|
||||||
|
'@babel/parser': 7.29.2
|
||||||
|
'@babel/types': 7.29.0
|
||||||
|
source-map-js: 1.2.1
|
||||||
|
|
||||||
make-dir@3.1.0:
|
make-dir@3.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
semver: 6.3.1
|
semver: 6.3.1
|
||||||
@@ -12447,6 +12565,12 @@ snapshots:
|
|||||||
glob: 7.2.3
|
glob: 7.2.3
|
||||||
minimatch: 3.1.5
|
minimatch: 3.1.5
|
||||||
|
|
||||||
|
test-exclude@7.0.2:
|
||||||
|
dependencies:
|
||||||
|
'@istanbuljs/schema': 0.1.6
|
||||||
|
glob: 10.5.0
|
||||||
|
minimatch: 10.2.5
|
||||||
|
|
||||||
thread-stream@3.1.0:
|
thread-stream@3.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
real-require: 0.2.0
|
real-require: 0.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user