feat: introduce Gatekeeper application, Directus utilities, and monorepo configuration for linting, testing, and husky hooks.
Some checks failed
Code Quality / lint-and-build (push) Failing after 52s
Release Packages / release (push) Failing after 32s

This commit is contained in:
2026-02-01 21:23:34 +01:00
parent c2a0ba88c0
commit 83b4ea8807
51 changed files with 3150 additions and 282 deletions

View File

@@ -0,0 +1,25 @@
import client, { ensureAuthenticated } from "../src/lib/directus";
import { updateSettings } from "@directus/sdk";
async function setupBranding() {
console.log("🎨 Setup Directus Branding...");
await ensureAuthenticated();
try {
await client.request(
updateSettings({
project_name: process.env.PROJECT_NAME || "Mintel Project",
project_color: process.env.PROJECT_COLOR || "#82ed20",
theme_light_overrides: {
primary: process.env.PROJECT_COLOR || "#82ed20",
borderRadius: "16px",
},
} as any),
);
console.log("✨ Branding applied!");
} catch (error) {
console.error("❌ Error setting up branding:", error);
}
}
setupBranding();