diff --git a/apps/cms/turbo.json b/apps/cms/turbo.json new file mode 100644 index 0000000..5917af9 --- /dev/null +++ b/apps/cms/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["app"] +} diff --git a/apps/storybook/turbo.json b/apps/storybook/turbo.json new file mode 100644 index 0000000..5917af9 --- /dev/null +++ b/apps/storybook/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["app"] +} diff --git a/apps/web-next/turbo.json b/apps/web-next/turbo.json new file mode 100644 index 0000000..5917af9 --- /dev/null +++ b/apps/web-next/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["app"] +} diff --git a/apps/web-tanstack/turbo.json b/apps/web-tanstack/turbo.json new file mode 100644 index 0000000..5917af9 --- /dev/null +++ b/apps/web-tanstack/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["app"] +} diff --git a/packages/core-api/turbo.json b/packages/core-api/turbo.json index dcb8fb3..abaadc9 100644 --- a/packages/core-api/turbo.json +++ b/packages/core-api/turbo.json @@ -1,4 +1,4 @@ { "extends": ["//"], - "tags": ["core"] + "tags": ["core-composition"] } diff --git a/packages/core-cms/turbo.json b/packages/core-cms/turbo.json index dcb8fb3..abaadc9 100644 --- a/packages/core-cms/turbo.json +++ b/packages/core-cms/turbo.json @@ -1,4 +1,4 @@ { "extends": ["//"], - "tags": ["core"] + "tags": ["core-composition"] } diff --git a/packages/core-eslint/turbo.json b/packages/core-eslint/turbo.json new file mode 100644 index 0000000..db0d794 --- /dev/null +++ b/packages/core-eslint/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["tooling"] +} diff --git a/packages/core-typescript/turbo.json b/packages/core-typescript/turbo.json new file mode 100644 index 0000000..db0d794 --- /dev/null +++ b/packages/core-typescript/turbo.json @@ -0,0 +1,4 @@ +{ + "extends": ["//"], + "tags": ["tooling"] +} diff --git a/turbo.json b/turbo.json index 038e136..1992236 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,35 @@ { "$schema": "https://turborepo.dev/schema.json", "globalEnv": ["CI", "DATABASE_URL", "PAYLOAD_SECRET", "NODE_ENV"], + "boundaries": { + "tags": { + "app": { + "dependencies": { + "allow": ["app", "core", "core-composition", "feature", "tooling"] + } + }, + "feature": { + "dependencies": { + "allow": ["core", "tooling"] + } + }, + "core": { + "dependencies": { + "allow": ["core", "core-composition", "tooling"] + } + }, + "core-composition": { + "dependencies": { + "allow": ["core", "feature", "tooling"] + } + }, + "tooling": { + "dependencies": { + "allow": ["tooling"] + } + } + } + }, "tasks": { "build": { "dependsOn": ["^build"],