Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -29,7 +29,7 @@ describe("i18n Hardcoded Strings baseline runner failure counting", () => {
it("returns zero for clean exits and read-only inventory gates", () => {
expect(failureCount("typecheck", "", "", 0)).toBe(0);
expect(failureCount("i18n-brand-hardcoded-inventory", "ToolCTRL: 1", "", 1)).toBe(0);
expect(failureCount("i18n-brand-hardcoded-inventory", "HiveGrid: 1", "", 1)).toBe(0);
});
});
@@ -61,8 +61,8 @@ describe("i18n Hardcoded Strings i18n/brand/hardcoded inventory", () => {
"const title = t('dashboard.title');",
"const label = 'Welcome aboard';",
"export function Component() { return <h1>Welcome aboard</h1>; }",
"const brand = 'ToolCTRL';",
"const link = 'https://tool-ctrl.de/datenschutz';",
"const brand = 'HiveGrid';",
"const link = 'https://hivegrid.de/datenschutz';",
"const subject = 'Welcome email subject';",
"const logoAlt = 'Company logo';",
"const legal = 'Terms and privacy policy';",
@@ -74,20 +74,20 @@ describe("i18n Hardcoded Strings i18n/brand/hardcoded inventory", () => {
await writeFile(
join(root, "packages", "brand", "src", "index.ts"),
[
"export const defaultBrandTokens = { productName: 'ToolCTRL' };",
"export const defaultBrandTokens = { productName: 'HiveGrid' };",
"export function createBrandTokens() { return defaultBrandTokens; }",
"export function resolveTransactionalBrandTokens() { return createBrandTokens(); }",
"export function brandCssVariables() { return {}; }",
"export type BrandTokens = typeof defaultBrandTokens;",
"export type BrandTokenOverrides = Partial<BrandTokens>;",
"export type ToolCTRLBrandTokens = BrandTokens;",
"export type HiveGridBrandTokens = BrandTokens;",
].join("\n"),
"utf8",
);
await writeFile(
join(root, "apps", "web", "app", "routes", "transactional.ts"),
[
"import { defaultBrandTokens } from '@toolctrl/brand';",
"import { defaultBrandTokens } from '@hivegrid/brand';",
"import { renderTransactionalMailTemplate, MailTemplateError } from '../../packages/mail/src/templates/transactional';",
"export type TransactionalTemplateName = 'welcome';",
"export type TransactionalTemplateData = { action_url: string };",
@@ -98,7 +98,7 @@ describe("i18n Hardcoded Strings i18n/brand/hardcoded inventory", () => {
"utf8",
);
await writeFile(join(root, "apps", "web", "public", "locales", "de", "translations.json"), "{ \"hello\": \"Hallo\" }\n", "utf8");
const ignoredSignal = "ToolCTRL @toolctrl/brand packages/brand defaultBrandTokens renderTransactionalMailTemplate MailTemplateError useTranslation title = 'Ignored Signal'\n";
const ignoredSignal = "HiveGrid @hivegrid/brand packages/brand defaultBrandTokens renderTransactionalMailTemplate MailTemplateError useTranslation title = 'Ignored Signal'\n";
await writeFile(join(root, "docs", "ignored.tsx"), ignoredSignal, "utf8");
await writeFile(join(root, ".tc", "ignored.tsx"), ignoredSignal, "utf8");
await writeFile(join(root, "apps", "web", "app", "generated", "ignored.tsx"), ignoredSignal, "utf8");
@@ -117,7 +117,7 @@ describe("i18n Hardcoded Strings i18n/brand/hardcoded inventory", () => {
"brand-package-reference": 1,
"brand-token-contract": 14,
"transactional-mail-renderer": 7,
"brand-literal": 3,
"brand-literal": 4,
"email-template-reference": 0,
"logo-domain-legal-link": 4,
"hardcoded-jsx-text": 1,
@@ -157,7 +157,7 @@ describe("i18n Hardcoded Strings baseline report rendering", () => {
},
]);
expect(report).toContain("@toolctrl/brand package references");
expect(report).toContain("@hivegrid/brand package references");
expect(report).toContain("transactional mail renderer contracts");
expect(report).toContain("forbidden user-facing/brand literal drift");
expect(report).toContain("# i18n Hardcoded Strings Baseline Health");