mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 23:24:42 +12:00
215 lines
5.1 KiB
JSON
215 lines
5.1 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"remoteCache": {
|
|
"enabled": true
|
|
},
|
|
"globalDependencies": ["tsconfig.json"],
|
|
"pipeline": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["bin/**", "src/**", "scripts/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"],
|
|
"outputs": ["dist/**"],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"@discordjs/ui#build-storybook": {
|
|
"dependsOn": ["build"],
|
|
"inputs": [".storybook/**/*", "src/**", "package.json", "tsconfig.json", "vite.config.ts"],
|
|
"outputs": ["dist/**", "storybook-static/**"],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"@discordjs/guide#build:local": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"public/**",
|
|
"src/**",
|
|
"!src/styles/unocss.css",
|
|
"contentlayer.config.ts",
|
|
"next.config.js",
|
|
"package.json",
|
|
"tsconfig.json"
|
|
],
|
|
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
|
|
"outputMode": "full"
|
|
},
|
|
"@discordjs/guide#build:prod": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"public/**",
|
|
"src/**",
|
|
"!src/styles/unocss.css",
|
|
"contentlayer.config.ts",
|
|
"next.config.js",
|
|
"package.json",
|
|
"tsconfig.json"
|
|
],
|
|
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
|
|
"outputMode": "full"
|
|
},
|
|
"@discordjs/website#build:local": {
|
|
"dependsOn": ["^build", "^docs"],
|
|
"inputs": [
|
|
"../../packages/*/README.md",
|
|
"public/**",
|
|
"src/**",
|
|
"scripts/**",
|
|
"!src/styles/unocss.css",
|
|
"!src/assets/readme/**",
|
|
"scripts/**",
|
|
"next.config.js",
|
|
"package.json",
|
|
"tsconfig.json"
|
|
],
|
|
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
|
|
"outputMode": "full"
|
|
},
|
|
"@discordjs/website#build:prod": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"../../packages/*/README.md",
|
|
"public/**",
|
|
"src/**",
|
|
"scripts/**",
|
|
"!src/styles/unocss.css",
|
|
"!src/assets/readme/**",
|
|
"scripts/**",
|
|
"next.config.js",
|
|
"package.json",
|
|
"tsconfig.json"
|
|
],
|
|
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
|
|
"outputMode": "full"
|
|
},
|
|
"@discordjs/guide#generate:contentlayer": {
|
|
"inputs": ["src/**/*.mdx"],
|
|
"outputs": [".contentlayer/**"],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
|
|
"outputs": ["coverage/**"],
|
|
"outputMode": "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": [],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"@discordjs/guide#lint": {
|
|
"dependsOn": ["^build", "build:local", "generate:contentlayer"],
|
|
"inputs": [
|
|
"../../eslint.config.js",
|
|
"../../.prettierrc.json",
|
|
"../../tsconfig.eslint.json",
|
|
".prettierrc.js",
|
|
"src/**",
|
|
"!src/styles/unocss.css",
|
|
"tsconfig.eslint.json"
|
|
],
|
|
"outputs": [],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"@discordjs/website#lint": {
|
|
"dependsOn": ["^build", "build:local"],
|
|
"inputs": [
|
|
"../../eslint.config.js",
|
|
"../../.prettierrc.json",
|
|
"../../tsconfig.eslint.json",
|
|
".prettierrc.js",
|
|
"src/**",
|
|
"!src/styles/unocss.css",
|
|
"tsconfig.eslint.json"
|
|
],
|
|
"outputs": [],
|
|
"outputMode": "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": [],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"@discordjs/guide#format": {
|
|
"dependsOn": ["^build", "generate:contentlayer"],
|
|
"inputs": [
|
|
"../../eslint.config.js",
|
|
"../../.prettierrc.json",
|
|
"../../tsconfig.eslint.json",
|
|
".prettierrc.js",
|
|
"src/**",
|
|
"!src/styles/unocss.css",
|
|
"package.json",
|
|
"tsconfig.eslint.json"
|
|
],
|
|
"outputs": [],
|
|
"outputMode": "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",
|
|
"tsconfig.docs.json"
|
|
],
|
|
"outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json"],
|
|
"outputMode": "errors-only"
|
|
},
|
|
"changelog": {
|
|
"inputs": ["cliff.toml"],
|
|
"outputs": ["CHANGELOG.md"],
|
|
"outputMode": "full"
|
|
},
|
|
"release": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["CHANGELOG.md", "package.json"],
|
|
"outputs": [],
|
|
"outputMode": "full"
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"outputMode": "full",
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"@discordjs/guide#dev": {
|
|
"dependsOn": ["^build"],
|
|
"outputMode": "full",
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"@discordjs/website#dev": {
|
|
"dependsOn": ["^build", "^docs"],
|
|
"outputMode": "full",
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|