{
	"$schema": "https://turbo.build/schema.json",
	"ui": "stream",
	"remoteCache": {
		"enabled": true,
		"timeout": 90,
		"uploadTimeout": 90
	},
	"globalEnv": ["CI", "COVERAGE_ENABLED"],
	"tasks": {
		"clean": {
			"cache": false
		},
		"build:backend": {
			"dependsOn": ["n8n#build"]
		},
		"build:frontend": {
			"dependsOn": ["n8n-editor-ui#build"]
		},
		"build:nodes": {
			"dependsOn": ["n8n-nodes-base#build", "@n8n/n8n-nodes-langchain#build"]
		},
		"build": {
			"dependsOn": ["^build"],
			"outputs": ["dist/**"]
		},
		"typecheck": {
			"dependsOn": ["^typecheck"]
		},
		"format": {},
		"format:check": {},
		"lint:backend": {
			"dependsOn": [
				"^build",
				"@n8n/api-types#lint",
				"@n8n/config#lint",
				"@n8n/decorators#lint",
				"@n8n/constants#lint",
				"@n8n/backend-common#lint",
				"@n8n/backend-test-utils#lint",
				"@n8n/db#lint",
				"@n8n/di#lint",
				"@n8n/client-oauth2#lint",
				"@n8n/imap#lint",
				"@n8n/permissions#lint",
				"@n8n/task-runner#lint",
				"n8n-workflow#lint",
				"n8n-core#lint",
				"n8n-node-dev#lint",
				"n8n#lint"
			]
		},
		"lint:frontend": {
			"dependsOn": [
				"^build",
				"@n8n/rest-api-client#lint",
				"@n8n/api-types#lint",
				"@n8n/constants#lint",
				"@n8n/i18n#lint",
				"@n8n/permissions#lint",
				"@n8n/stores#lint",
				"@n8n/utils#lint",
				"@n8n/chat#lint",
				"@n8n/codemirror-lang#lint",
				"@n8n/storybook#lint",
				"n8n-cypress#lint",
				"@n8n/composables#build",
				"@n8n/design-system#lint",
				"n8n-editor-ui#lint"
			]
		},
		"lint:nodes": {
			"dependsOn": [
				"^build",
				"n8n-nodes-base#lint",
				"@n8n/n8n-nodes-langchain#lint",
				"@n8n/json-schema-to-zod#lint"
			]
		},
		"lint": {
			"dependsOn": ["^build"]
		},
		"lintfix": {},
		"test:backend": {
			"dependsOn": [
				"@n8n/api-types#test",
				"@n8n/config#test",
				"@n8n/decorators#test",
				"@n8n/db#test",
				"@n8n/di#test",
				"@n8n/client-oauth2#test",
				"@n8n/imap#test",
				"@n8n/permissions#test",
				"@n8n/task-runner#test",
				"n8n-workflow#test",
				"n8n-core#test",
				"n8n#test"
			],
			"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
			"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
		},
		"test:frontend": {
			"dependsOn": [
				"@n8n/rest-api-client#test",
				"@n8n/api-types#test",
				"@n8n/constants#test",
				"@n8n/i18n#test",
				"@n8n/permissions#test",
				"@n8n/stores#test",
				"@n8n/utils#test",
				"@n8n/chat#test",
				"@n8n/codemirror-lang#test",
				"@n8n/composables#build",
				"@n8n/design-system#test",
				"n8n-editor-ui#test"
			],
			"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
			"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
		},
		"test:nodes": {
			"dependsOn": [
				"n8n-nodes-base#test",
				"@n8n/n8n-nodes-langchain#test",
				"@n8n/json-schema-to-zod#test"
			],
			"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
			"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
		},
		"test": {
			"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"]
		},
		"watch": {
			"cache": false,
			"persistent": true
		},
		"dev": {
			"cache": false,
			"persistent": true
		}
	}
}
