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
Add subset of files to app-misc module and make schema a lib module (#71700)
Fraserafc7fdbeb6c6
diff --git a/frontend/lint/module-boundaries.mjs b/frontend/lint/module-boundaries.mjsindex df658f8ea19..386c1a1c621 100644--- a/frontend/lint/module-boundaries.mjs+++ b/frontend/lint/module-boundaries.mjs@@ -11,8 +11,26 @@ const sharedModules = ["common", "querying", "visualizations"];const featureModules = ["dashboard", "query_builder", "admin", "reference"];+const appMiscFilePaths = [+ "frontend/src/metabase/app.js",+ "frontend/src/metabase/app-embed-sdk.tsx",+ "frontend/src/metabase/app-main.js",+ "frontend/src/metabase/app-embed.ts",+ "frontend/src/metabase/app-public.ts",+ "frontend/src/metabase/App.tsx",+ "frontend/src/metabase/App.styled.tsx",+ "frontend/src/metabase/routes.jsx",+ "frontend/src/metabase/routes-embed.tsx",+ "frontend/src/metabase/routes-public.tsx",+];+const elements = [{ type: "lib/types", pattern: "frontend/src/metabase-types/*/**" },+ {+ type: "lib/schema",+ pattern: "frontend/src/metabase/schema.js",+ mode: "full", // matches the entire path+ },{ type: "basic/mlv2", pattern: "frontend/src/metabase-lib/*/**" },...libModules.map((name) => createElement({ type: "lib", name })),...basicModules.map((name) => createElement({ type: "basic", name })),@@ -23,7 +41,11 @@ const elements = [pattern: "enterprise/frontend/src/metabase-enterprise/**",mode: "full", // matches the entire path, because enterprise is in a different directory},- { type: "app/misc", pattern: "frontend/src/metabase/*.*" },+ ...appMiscFilePaths.map((path) => ({+ type: "app/misc",+ pattern: path,+ mode: "full",+ })),{ type: "shared/other", pattern: "frontend/src/*/**" },];