discord.js/turbo.json

219 lines
5.3 KiB
JSON
Raw Normal View History

2022-02-01 05:11:32 +13:00
{
2023-03-24 13:54:21 +13:00
"$schema": "https://turbo.build/schema.json",
"remoteCache": {
"enabled": true
},
2023-11-09 12:13:01 +13:00
"globalDependencies": ["tsconfig.json"],
2022-02-01 05:11:32 +13:00
"pipeline": {
"build": {
"dependsOn": ["^build"],
2023-11-09 12:13:01 +13:00
"inputs": ["bin/**", "src/**", "scripts/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"],
"outputs": ["dist/**"],
2023-08-24 16:43:23 +12:00
"outputMode": "errors-only"
},
"@discordjs/ui#build-storybook": {
2023-11-09 12:13:01 +13:00
"dependsOn": ["build"],
"inputs": [".storybook/**/*", "src/**", "package.json", "tsconfig.json", "vite.config.ts"],
"outputs": ["dist/**", "storybook-static/**"],
"outputMode": "errors-only"
2022-08-16 00:48:00 +12:00
},
2023-05-03 12:14:22 +12:00
"@discordjs/guide#build:local": {
2022-10-07 10:53:35 +13:00
"dependsOn": ["^build"],
2022-11-26 14:07:56 +13:00
"inputs": [
2023-11-09 12:13:01 +13:00
"public/**",
"src/**",
2023-05-03 12:14:22 +12:00
"!src/styles/unocss.css",
2023-08-24 16:43:23 +12:00
"contentlayer.config.ts",
"next.config.js",
"package.json",
"tsconfig.json"
2022-11-26 14:07:56 +13:00
],
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
2023-08-24 16:43:23 +12:00
"outputMode": "full"
2022-10-07 10:53:35 +13:00
},
2023-05-03 12:14:22 +12:00
"@discordjs/guide#build:prod": {
2022-08-16 00:48:00 +12:00
"dependsOn": ["^build"],
2022-11-26 14:07:56 +13:00
"inputs": [
2023-11-09 12:13:01 +13:00
"public/**",
"src/**",
2023-05-03 12:14:22 +12:00
"!src/styles/unocss.css",
2023-08-24 16:43:23 +12:00
"contentlayer.config.ts",
"next.config.js",
"package.json",
"tsconfig.json"
2022-11-26 14:07:56 +13:00
],
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
2023-05-03 12:14:22 +12:00
"outputMode": "full"
2022-02-01 05:11:32 +13:00
},
2023-05-03 12:14:22 +12:00
"@discordjs/website#build:local": {
2024-04-17 07:44:21 +12:00
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
2023-11-09 12:13:01 +13:00
"dependsOn": ["^build", "^docs"],
2022-11-26 14:07:56 +13:00
"inputs": [
"../../packages/*/README.md",
2023-11-09 12:13:01 +13:00
"public/**",
"src/**",
"scripts/**",
"!src/assets/readme/**",
"scripts/**",
2024-02-29 16:37:52 +13:00
"next.config.mjs",
2023-08-24 16:43:23 +12:00
"package.json",
"tsconfig.json"
2023-05-03 12:14:22 +12:00
],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
2023-08-24 16:43:23 +12:00
"outputMode": "full"
2023-05-03 12:14:22 +12:00
},
"@discordjs/website#build:prod": {
2024-04-17 07:44:21 +12:00
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
2023-11-09 12:13:01 +13:00
"dependsOn": ["^build"],
2023-05-03 12:14:22 +12:00
"inputs": [
"../../packages/*/README.md",
2023-11-09 12:13:01 +13:00
"public/**",
"src/**",
"scripts/**",
"!src/assets/readme/**",
"scripts/**",
2024-02-29 16:37:52 +13:00
"next.config.mjs",
2023-08-24 16:43:23 +12:00
"package.json",
"tsconfig.json"
2022-11-26 14:07:56 +13:00
],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
2023-05-03 12:14:22 +12:00
"outputMode": "full"
},
2023-08-25 07:58:34 +12:00
"@discordjs/guide#generate:contentlayer": {
"inputs": ["src/**/*.mdx"],
2023-11-09 12:13:01 +13:00
"outputs": [".contentlayer/**"],
2023-08-25 07:58:34 +12:00
"outputMode": "errors-only"
},
2023-05-03 12:14:22 +12:00
"test": {
"dependsOn": ["^build"],
2023-11-09 12:13:01 +13:00
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
"outputs": ["coverage/**"],
2023-05-03 12:14:22 +12:00
"outputMode": "new-only"
2022-11-26 14:07:56 +13:00
},
2023-11-09 12:13:01 +13:00
"lint": {
2022-11-26 14:07:56 +13:00
"dependsOn": ["^build"],
"inputs": [
2023-11-09 12:13:01 +13:00
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"bin/**",
"src/**",
"scripts/**",
2023-08-24 16:43:23 +12:00
"package.json",
2023-11-09 12:13:01 +13:00
"tsconfig.eslint.json"
2022-11-26 14:07:56 +13:00
],
2023-11-09 12:13:01 +13:00
"outputs": [],
"outputMode": "errors-only"
2022-02-01 05:11:32 +13:00
},
2023-11-09 12:13:01 +13:00
"@discordjs/guide#lint": {
"dependsOn": ["^build", "build:local", "generate:contentlayer"],
2022-11-26 14:07:56 +13:00
"inputs": [
2023-08-24 16:43:23 +12:00
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
2023-08-25 07:58:34 +12:00
".prettierrc.js",
2023-11-09 12:13:01 +13:00
"src/**",
"!src/styles/unocss.css",
"tsconfig.eslint.json"
2022-11-26 14:07:56 +13:00
],
2023-08-24 16:43:23 +12:00
"outputs": [],
2023-05-03 12:14:22 +12:00
"outputMode": "errors-only"
2022-02-01 05:11:32 +13:00
},
2023-11-09 12:13:01 +13:00
"@discordjs/website#lint": {
"dependsOn": ["^build", "build:local"],
2023-08-25 07:58:34 +12:00
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
2023-11-09 12:13:01 +13:00
"src/**",
2023-08-25 07:58:34 +12:00
"!src/styles/unocss.css",
2023-11-09 12:13:01 +13:00
"tsconfig.eslint.json"
2023-08-25 07:58:34 +12:00
],
"outputs": [],
"outputMode": "errors-only"
},
2022-02-01 05:11:32 +13:00
"format": {
2022-08-16 00:19:17 +12:00
"dependsOn": ["^build"],
2022-11-26 14:07:56 +13:00
"inputs": [
2023-08-24 16:43:23 +12:00
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
2023-08-25 07:58:34 +12:00
".prettierrc.js",
2023-11-09 12:13:01 +13:00
"bin/**",
"src/**",
"scripts/**",
2023-08-24 16:43:23 +12:00
"package.json",
2023-11-09 12:13:01 +13:00
"tsconfig.eslint.json"
2022-11-26 14:07:56 +13:00
],
2023-08-24 16:43:23 +12:00
"outputs": [],
2023-05-03 12:14:22 +12:00
"outputMode": "errors-only"
2022-02-01 05:11:32 +13:00
},
2023-08-25 07:58:34 +12:00
"@discordjs/guide#format": {
"dependsOn": ["^build", "generate:contentlayer"],
2023-11-09 12:13:01 +13:00
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"src/**",
"!src/styles/unocss.css",
"package.json",
"tsconfig.eslint.json"
2023-08-25 07:58:34 +12:00
],
"outputs": [],
"outputMode": "errors-only"
},
2022-02-01 05:11:32 +13:00
"docs": {
2023-11-09 12:13:01 +13:00
"dependsOn": ["build"],
2023-08-24 16:43:23 +12:00
"inputs": [
"../api-extractor/src/**",
"../api-extractor-model/src/**",
"../api-extractor-utils/src/**",
2023-08-24 16:43:23 +12:00
"../../api-extractor.json",
"../../tsconfig.docs.json",
"api-extractor.json",
2023-11-09 12:13:01 +13:00
"docs/**",
2023-08-24 16:43:23 +12:00
"!docs/docs.json",
"!docs/docs.api.json",
2024-03-03 10:21:48 +13:00
"!docs/*/split/**",
2023-11-09 12:13:01 +13:00
"tsconfig.docs.json"
2023-08-24 16:43:23 +12:00
],
2024-03-03 10:21:48 +13:00
"outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json", "docs/*/split/**"],
"outputMode": "errors-only",
"cache": false
2022-02-01 05:11:32 +13:00
},
"changelog": {
2023-05-03 12:14:22 +12:00
"inputs": ["cliff.toml"],
2023-08-24 16:43:23 +12:00
"outputs": ["CHANGELOG.md"],
"outputMode": "full"
},
"release": {
"dependsOn": ["^build"],
"inputs": ["CHANGELOG.md", "package.json"],
"outputs": [],
"outputMode": "full"
2023-05-03 12:14:22 +12:00
},
"dev": {
"dependsOn": ["^build"],
2023-08-24 16:43:23 +12:00
"outputMode": "full",
2023-05-03 12:14:22 +12:00
"cache": false,
"persistent": true
},
"@discordjs/guide#dev": {
"dependsOn": ["^build"],
2023-08-24 16:43:23 +12:00
"outputMode": "full",
2023-05-03 12:14:22 +12:00
"cache": false,
"persistent": true
},
"@discordjs/website#dev": {
2024-04-17 07:44:21 +12:00
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
2023-11-09 12:13:01 +13:00
"dependsOn": ["^build", "^docs"],
2023-08-24 16:43:23 +12:00
"outputMode": "full",
2023-05-03 12:14:22 +12:00
"cache": false,
"persistent": true
2022-02-01 05:11:32 +13:00
}
}
}