fix(api): импорты settings-repo и repos через @cfdm/db
Build, Test, and Push CFDM Docker Image / test (push) Successful in 3m14s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Successful in 1m50s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Successful in 7s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped

Subpath @cfdm/db/settings-repo и @cfdm/db/repos не объявлены в package exports — в Docker/vitest падали 5 test suites.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-06-30 16:52:15 +07:00
co-authored by Cursor
parent 96783386e0
commit 59163bfab5
6 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { Db } from "@cfdm/db";
import { repos } from "@cfdm/db";
import type { CloudflareClient } from "../lib/cf-client.js";
import type { VpsTrackerEvent } from "@cfdm/shared";
import * as repos from "@cfdm/db/repos";
import { reconcileDnsForTarget } from "./service-config-service.js";
function collectIps(event: VpsTrackerEvent): Set<string> {
+1 -5
View File
@@ -1,10 +1,6 @@
import type { CfdmBindingSyncItem } from "@cfdm/shared";
import type { Db } from "@cfdm/db";
import * as repos from "@cfdm/db/repos";
import {
getAppSettingsSecrets,
touchVpsTrackerSync,
} from "@cfdm/db/settings-repo";
import { repos, getAppSettingsSecrets, touchVpsTrackerSync } from "@cfdm/db";
function fqdnToDisplay(hostname: string, zoneName: string): string {
if (hostname === "@" || !hostname.trim()) return zoneName;