The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Re-tier styled-components to U4 and enforce its shared tiers (#82256)
Frasera6de42f467b6
diff --git a/frontend/lint/module-boundaries.mjs b/frontend/lint/module-boundaries.mjsindex aff805bda58..92315edd83c 100644--- a/frontend/lint/module-boundaries.mjs+++ b/frontend/lint/module-boundaries.mjs@@ -245,11 +245,7 @@ const elements = [createElement({ type: "feature", name: "setup" }),createElement({ type: "shared", name: "static-viz" }),createElement({ type: "shared", name: "status" }),- createElement({- type: "shared",- name: "styled-components",- enforceSharedTiers: false,- }),+ createElement({ type: "shared", name: "styled-components" }),createElement({ type: "shared", name: "timelines" }),createElement({ type: "shared", name: "transforms" }),createElement({diff --git a/frontend/lint/shared-tiers.mjs b/frontend/lint/shared-tiers.mjsindex a1126e1ab2d..15d41c04b9b 100644--- a/frontend/lint/shared-tiers.mjs+++ b/frontend/lint/shared-tiers.mjs@@ -11,15 +11,16 @@const SHARED_UTILS_LEVELS = [// U0 — foundation: leaf plumbing.- ["shared/urls", "shared/styled-components", "shared/cljs-dev-tools"],+ ["shared/urls", "shared/cljs-dev-tools"],// U1 — the api client.["shared/api"],// U2 — the store slices and hooks.["shared/redux"],// U3 — the plugin registry, and instance settings over the api and store.["shared/plugins", "shared/settings"],- // U4 — the current user, composed over the plugin registry for application permissions.- ["shared/current-user"],+ // U4 — the current user, composed over the plugin registry for application permissions,+ // and the global styles, composed over settings and the store.+ ["shared/current-user", "shared/styled-components"],// U5 — app services over the store, registry and current user.["shared/metadata-store",