mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
96 lines
2.3 KiB
JSON
96 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"remoteCache": {
|
|
"enabled": true
|
|
},
|
|
"globalDependencies": ["tsconfig.json"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["bin/**", "src/**", "scripts/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"],
|
|
"outputs": ["dist/**"],
|
|
"outputLogs": "errors-only"
|
|
},
|
|
"@discordjs/ui#build-storybook": {
|
|
"dependsOn": ["build"],
|
|
"inputs": [".storybook/**/*", "src/**", "package.json", "tsconfig.json", "vite.config.ts"],
|
|
"outputs": ["dist/**", "storybook-static/**"],
|
|
"outputLogs": "errors-only"
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
|
|
"outputs": ["coverage/**"],
|
|
"outputLogs": "new-only"
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"../../eslint.config.js",
|
|
"../../.prettierrc.json",
|
|
"../../tsconfig.eslint.json",
|
|
".prettierrc.js",
|
|
"bin/**",
|
|
"src/**",
|
|
"scripts/**",
|
|
"package.json",
|
|
"tsconfig.eslint.json"
|
|
],
|
|
"outputs": [],
|
|
"outputLogs": "errors-only"
|
|
},
|
|
"format": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"../../eslint.config.js",
|
|
"../../.prettierrc.json",
|
|
"../../tsconfig.eslint.json",
|
|
".prettierrc.js",
|
|
"bin/**",
|
|
"src/**",
|
|
"scripts/**",
|
|
"package.json",
|
|
"tsconfig.eslint.json"
|
|
],
|
|
"outputs": [],
|
|
"outputLogs": "errors-only"
|
|
},
|
|
"docs": {
|
|
"dependsOn": ["build"],
|
|
"inputs": [
|
|
"../api-extractor/src/**",
|
|
"../api-extractor-model/src/**",
|
|
"../api-extractor-utils/src/**",
|
|
"../../api-extractor.json",
|
|
"../../tsconfig.docs.json",
|
|
"api-extractor.json",
|
|
"docs/**",
|
|
"!docs/docs.json",
|
|
"!docs/docs.api.json",
|
|
"!docs/*/split/**",
|
|
"tsconfig.docs.json"
|
|
],
|
|
"outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json", "docs/*/split/**"],
|
|
"cache": false,
|
|
"outputLogs": "errors-only"
|
|
},
|
|
"changelog": {
|
|
"inputs": ["cliff.toml"],
|
|
"outputs": ["CHANGELOG.md"],
|
|
"outputLogs": "full"
|
|
},
|
|
"release": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["CHANGELOG.md", "package.json"],
|
|
"outputs": [],
|
|
"outputLogs": "full"
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false,
|
|
"persistent": true,
|
|
"outputLogs": "full"
|
|
}
|
|
}
|
|
}
|