diff --git a/apps/guide/package.json b/apps/guide/package.json
index 35403d01a..6e4e2f619 100644
--- a/apps/guide/package.json
+++ b/apps/guide/package.json
@@ -87,7 +87,7 @@
"html-escaper": "^3.0.3",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"unocss": "^0.57.2",
"vercel": "^32.5.2",
diff --git a/apps/guide/tsconfig.eslint.json b/apps/guide/tsconfig.eslint.json
index a05c7abff..7f748c522 100644
--- a/apps/guide/tsconfig.eslint.json
+++ b/apps/guide/tsconfig.eslint.json
@@ -1,7 +1,26 @@
{
+ "$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.tsx",
+ "*.js",
+ ".jsx",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.js",
+ "src/**/*.jsx",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/apps/guide/tsconfig.json b/apps/guide/tsconfig.json
index 39be7be41..dbca7374c 100644
--- a/apps/guide/tsconfig.json
+++ b/apps/guide/tsconfig.json
@@ -1,4 +1,5 @@
{
+ "$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],
@@ -20,6 +21,15 @@
"contentlayer/generated": ["./.contentlayer/generated"]
}
},
- "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", ".next/types/**/*.ts", ".contentlayer/generated"],
+ "include": [
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.js",
+ "src/**/*.jsx",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "next-env.d.ts",
+ ".next/types/**/*.ts"
+ ],
"exclude": ["node_modules"]
}
diff --git a/apps/website/package.json b/apps/website/package.json
index 312c6b383..008df5419 100644
--- a/apps/website/package.json
+++ b/apps/website/package.json
@@ -93,7 +93,7 @@
"happy-dom": "^12.10.3",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vercel": "^32.5.2",
"vitest": "^0.34.6"
diff --git a/apps/website/tsconfig.eslint.json b/apps/website/tsconfig.eslint.json
index c240da906..7f748c522 100644
--- a/apps/website/tsconfig.eslint.json
+++ b/apps/website/tsconfig.eslint.json
@@ -1,7 +1,26 @@
{
+ "$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "scripts"]
+ "include": [
+ "*.ts",
+ "*.tsx",
+ "*.js",
+ ".jsx",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.js",
+ "src/**/*.jsx",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json
index 0014f6932..5856fbf95 100644
--- a/apps/website/tsconfig.json
+++ b/apps/website/tsconfig.json
@@ -1,4 +1,5 @@
{
+ "$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],
@@ -19,6 +20,15 @@
"~/*": ["./src/*"]
}
},
- "include": ["*.ts", "*.tsx", "next-env.d.ts", ".next/types/**/*.ts"],
+ "include": [
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.js",
+ "src/**/*.jsx",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "next-env.d.ts",
+ ".next/types/**/*.ts"
+ ],
"exclude": ["node_modules"]
}
diff --git a/package.json b/package.json
index 3aff60130..176cc8c0e 100644
--- a/package.json
+++ b/package.json
@@ -64,7 +64,7 @@
"lint-staged": "^15.0.2",
"lodash.merge": "^4.6.2",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"unocss": "^0.57.2",
"vercel": "^32.5.2",
diff --git a/packages/actions/package.json b/packages/actions/package.json
index 54e816a3a..64746d92b 100644
--- a/packages/actions/package.json
+++ b/packages/actions/package.json
@@ -6,7 +6,7 @@
"private": true,
"scripts": {
"test": "vitest run",
- "build": "tsc --noEmit --skipLibCheck && tsup",
+ "build": "tsc --noEmit --lib ESNext,DOM && tsup",
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src __tests__",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src __tests__",
"fmt": "pnpm run format"
@@ -57,7 +57,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/actions/tsconfig.eslint.json b/packages/actions/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/actions/tsconfig.eslint.json
+++ b/packages/actions/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/actions/tsconfig.json b/packages/actions/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/actions/tsconfig.json
+++ b/packages/actions/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor-model/package.json b/packages/api-extractor-model/package.json
index 38187465c..4f3e3f721 100644
--- a/packages/api-extractor-model/package.json
+++ b/packages/api-extractor-model/package.json
@@ -44,6 +44,6 @@
"jest": "^29.7.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16"
+ "turbo": "^1.10.17-canary.0"
}
}
diff --git a/packages/api-extractor-model/tsconfig.eslint.json b/packages/api-extractor-model/tsconfig.eslint.json
index 0aa3b9660..163783a48 100644
--- a/packages/api-extractor-model/tsconfig.eslint.json
+++ b/packages/api-extractor-model/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor-model/tsconfig.json b/packages/api-extractor-model/tsconfig.json
index 8dba547fb..af1559d2d 100644
--- a/packages/api-extractor-model/tsconfig.json
+++ b/packages/api-extractor-model/tsconfig.json
@@ -1,10 +1,10 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"],
-
"compilerOptions": {
"types": ["jest", "node"],
"isolatedModules": false
- }
+ },
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor-utils/package.json b/packages/api-extractor-utils/package.json
index 944c323a2..beeb0c88b 100644
--- a/packages/api-extractor-utils/package.json
+++ b/packages/api-extractor-utils/package.json
@@ -56,7 +56,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2"
},
"engines": {
diff --git a/packages/api-extractor-utils/tsconfig.eslint.json b/packages/api-extractor-utils/tsconfig.eslint.json
index 0aa3b9660..163783a48 100644
--- a/packages/api-extractor-utils/tsconfig.eslint.json
+++ b/packages/api-extractor-utils/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor-utils/tsconfig.json b/packages/api-extractor-utils/tsconfig.json
index 91959f1f9..adb98de14 100644
--- a/packages/api-extractor-utils/tsconfig.json
+++ b/packages/api-extractor-utils/tsconfig.json
@@ -5,5 +5,6 @@
"skipDefaultLibCheck": true,
"skipLibCheck": true
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor/package.json b/packages/api-extractor/package.json
index eafc2ead4..940d2fcc9 100644
--- a/packages/api-extractor/package.json
+++ b/packages/api-extractor/package.json
@@ -76,6 +76,6 @@
"jest": "^29.7.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16"
+ "turbo": "^1.10.17-canary.0"
}
}
diff --git a/packages/api-extractor/tsconfig.eslint.json b/packages/api-extractor/tsconfig.eslint.json
index 0aa3b9660..163783a48 100644
--- a/packages/api-extractor/tsconfig.eslint.json
+++ b/packages/api-extractor/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/api-extractor/tsconfig.json b/packages/api-extractor/tsconfig.json
index 0fd5e601b..d109e155f 100644
--- a/packages/api-extractor/tsconfig.json
+++ b/packages/api-extractor/tsconfig.json
@@ -1,12 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"],
-
"compilerOptions": {
"types": ["jest", "node"],
"isolatedModules": false,
"outDir": "./dist",
"esModuleInterop": true
- }
+ },
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/brokers/package.json b/packages/brokers/package.json
index de29a5085..935ca3ad1 100644
--- a/packages/brokers/package.json
+++ b/packages/brokers/package.json
@@ -5,8 +5,8 @@
"description": "Powerful set of message brokers",
"scripts": {
"test": "vitest run",
- "build": "tsc --noEmit --skipLibCheck && tsup",
- "build:docs": "tsc -p tsconfig.docs.json",
+ "build": "tsc --noEmit --lib ESNext,DOM && tsup",
+ "build:docs": "tsc -p tsconfig.docs.json --lib ESNext,DOM",
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src __tests__",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src __tests__",
"fmt": "pnpm run format",
@@ -81,7 +81,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/brokers/tsconfig.docs.json b/packages/brokers/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/brokers/tsconfig.docs.json
+++ b/packages/brokers/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/brokers/tsconfig.eslint.json b/packages/brokers/tsconfig.eslint.json
index ad163be72..163783a48 100644
--- a/packages/brokers/tsconfig.eslint.json
+++ b/packages/brokers/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "scripts", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/brokers/tsconfig.json b/packages/brokers/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/brokers/tsconfig.json
+++ b/packages/brokers/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/builders/package.json b/packages/builders/package.json
index 672b0b6e3..d0e93cff1 100644
--- a/packages/builders/package.json
+++ b/packages/builders/package.json
@@ -85,7 +85,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/builders/tsconfig.docs.json b/packages/builders/tsconfig.docs.json
index c5d443c15..a8671f7ea 100644
--- a/packages/builders/tsconfig.docs.json
+++ b/packages/builders/tsconfig.docs.json
@@ -5,5 +5,6 @@
"outDir": "dist-docs",
"exactOptionalPropertyTypes": false
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/builders/tsconfig.eslint.json b/packages/builders/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/builders/tsconfig.eslint.json
+++ b/packages/builders/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/builders/tsconfig.json b/packages/builders/tsconfig.json
index b88f66bdd..36ddfc1c4 100644
--- a/packages/builders/tsconfig.json
+++ b/packages/builders/tsconfig.json
@@ -5,5 +5,6 @@
"emitDecoratorMetadata": true,
"exactOptionalPropertyTypes": false
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/collection/package.json b/packages/collection/package.json
index e332f7451..3c6cf85d8 100644
--- a/packages/collection/package.json
+++ b/packages/collection/package.json
@@ -71,7 +71,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/collection/tsconfig.docs.json b/packages/collection/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/collection/tsconfig.docs.json
+++ b/packages/collection/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/collection/tsconfig.eslint.json b/packages/collection/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/collection/tsconfig.eslint.json
+++ b/packages/collection/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/collection/tsconfig.json b/packages/collection/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/collection/tsconfig.json
+++ b/packages/collection/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/core/package.json b/packages/core/package.json
index b00cfa676..2e33a5e71 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -83,7 +83,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/core/tsconfig.docs.json b/packages/core/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/core/tsconfig.docs.json
+++ b/packages/core/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/core/tsconfig.eslint.json b/packages/core/tsconfig.eslint.json
index 0aa3b9660..163783a48 100644
--- a/packages/core/tsconfig.eslint.json
+++ b/packages/core/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/core/tsconfig.json
+++ b/packages/core/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/create-discord-bot/tsconfig.eslint.json b/packages/create-discord-bot/tsconfig.eslint.json
index 09b879eb5..e5f3f86bd 100644
--- a/packages/create-discord-bot/tsconfig.eslint.json
+++ b/packages/create-discord-bot/tsconfig.eslint.json
@@ -4,6 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "bin", "template"],
- "exclude": ["template/Deno"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules", "template"]
}
diff --git a/packages/create-discord-bot/tsconfig.json b/packages/create-discord-bot/tsconfig.json
index 17576cc18..b6ea137a0 100644
--- a/packages/create-discord-bot/tsconfig.json
+++ b/packages/create-discord-bot/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts", "bin/index.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/discord.js/package.json b/packages/discord.js/package.json
index 402d794c2..02ac5839f 100644
--- a/packages/discord.js/package.json
+++ b/packages/discord.js/package.json
@@ -80,7 +80,7 @@
"prettier": "3.0.3",
"tsd": "0.29.0",
"tslint": "6.1.3",
- "turbo": "1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "5.2.2"
},
"engines": {
diff --git a/packages/docgen/package.json b/packages/docgen/package.json
index 4918746c3..746cbc533 100644
--- a/packages/docgen/package.json
+++ b/packages/docgen/package.json
@@ -73,7 +73,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2"
},
"engines": {
diff --git a/packages/docgen/tsconfig.eslint.json b/packages/docgen/tsconfig.eslint.json
index ae192e2de..163783a48 100644
--- a/packages/docgen/tsconfig.eslint.json
+++ b/packages/docgen/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "bin"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/docgen/tsconfig.json b/packages/docgen/tsconfig.json
index 17576cc18..b6ea137a0 100644
--- a/packages/docgen/tsconfig.json
+++ b/packages/docgen/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts", "bin/index.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/formatters/package.json b/packages/formatters/package.json
index 204941131..38129c770 100644
--- a/packages/formatters/package.json
+++ b/packages/formatters/package.json
@@ -67,7 +67,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/formatters/tsconfig.docs.json b/packages/formatters/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/formatters/tsconfig.docs.json
+++ b/packages/formatters/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/formatters/tsconfig.eslint.json b/packages/formatters/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/formatters/tsconfig.eslint.json
+++ b/packages/formatters/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/formatters/tsconfig.json b/packages/formatters/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/formatters/tsconfig.json
+++ b/packages/formatters/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/next/__tests__/fake.test.ts b/packages/next/__tests__/fake.test.ts
index 19b44a8d5..b306f7564 100644
--- a/packages/next/__tests__/fake.test.ts
+++ b/packages/next/__tests__/fake.test.ts
@@ -1,4 +1,4 @@
-import { describe, test, expect } from 'vitest';
+import { describe, test } from 'vitest';
describe('@discordjs/next', () => {
test.todo('Should totally write tests');
diff --git a/packages/next/package.json b/packages/next/package.json
index 29e60ca01..a679bf0eb 100644
--- a/packages/next/package.json
+++ b/packages/next/package.json
@@ -85,7 +85,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/next/tsconfig.docs.json b/packages/next/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/next/tsconfig.docs.json
+++ b/packages/next/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/next/tsconfig.eslint.json b/packages/next/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/next/tsconfig.eslint.json
+++ b/packages/next/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/next/tsconfig.json b/packages/next/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/next/tsconfig.json
+++ b/packages/next/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/proxy-container/package.json b/packages/proxy-container/package.json
index f7bb22e45..8414ee2ef 100644
--- a/packages/proxy-container/package.json
+++ b/packages/proxy-container/package.json
@@ -56,7 +56,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2"
},
"engines": {
diff --git a/packages/proxy-container/tsconfig.eslint.json b/packages/proxy-container/tsconfig.eslint.json
index 0aa3b9660..163783a48 100644
--- a/packages/proxy-container/tsconfig.eslint.json
+++ b/packages/proxy-container/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/proxy-container/tsconfig.json b/packages/proxy-container/tsconfig.json
index 845127357..b6ea137a0 100644
--- a/packages/proxy-container/tsconfig.json
+++ b/packages/proxy-container/tsconfig.json
@@ -1,8 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "compilerOptions": {
- "skipLibCheck": true
- },
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/proxy/package.json b/packages/proxy/package.json
index f777bae66..03fbccdbb 100644
--- a/packages/proxy/package.json
+++ b/packages/proxy/package.json
@@ -82,7 +82,7 @@
"prettier": "^3.0.3",
"supertest": "^6.3.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/proxy/tsconfig.docs.json b/packages/proxy/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/proxy/tsconfig.docs.json
+++ b/packages/proxy/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/proxy/tsconfig.eslint.json b/packages/proxy/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/proxy/tsconfig.eslint.json
+++ b/packages/proxy/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/proxy/tsconfig.json b/packages/proxy/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/proxy/tsconfig.json
+++ b/packages/proxy/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/rest/__tests__/BurstHandler.test.ts b/packages/rest/__tests__/BurstHandler.test.ts
index 7a2fa4725..a9db99ae0 100644
--- a/packages/rest/__tests__/BurstHandler.test.ts
+++ b/packages/rest/__tests__/BurstHandler.test.ts
@@ -1,5 +1,6 @@
/* eslint-disable id-length */
/* eslint-disable promise/prefer-await-to-then */
+// @ts-nocheck
import { performance } from 'node:perf_hooks';
import { MockAgent, setGlobalDispatcher } from 'undici';
import type { Interceptable, MockInterceptor } from 'undici/types/mock-interceptor';
diff --git a/packages/rest/package.json b/packages/rest/package.json
index 85dc0d7f0..45f5d0254 100644
--- a/packages/rest/package.json
+++ b/packages/rest/package.json
@@ -104,7 +104,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/rest/tsconfig.docs.json b/packages/rest/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/rest/tsconfig.docs.json
+++ b/packages/rest/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/rest/tsconfig.eslint.json b/packages/rest/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/rest/tsconfig.eslint.json
+++ b/packages/rest/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/rest/tsconfig.json b/packages/rest/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/rest/tsconfig.json
+++ b/packages/rest/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/rest/vitest.config.ts b/packages/rest/vitest.config.ts
index 87a74b225..bd7068dbb 100644
--- a/packages/rest/vitest.config.ts
+++ b/packages/rest/vitest.config.ts
@@ -1,11 +1,10 @@
import { defineProject, mergeConfig } from 'vitest/config';
import configShared from '../../vitest.config.js';
-export default mergeConfig(
- configShared,
- defineProject({
+export default mergeConfig(configShared, {
+ defineProject: defineProject({
test: {
setupFiles: ['./__tests__/setup.ts'],
},
}),
-);
+});
diff --git a/packages/scripts/package.json b/packages/scripts/package.json
index 23cceeddb..d091b84d8 100644
--- a/packages/scripts/package.json
+++ b/packages/scripts/package.json
@@ -5,9 +5,9 @@
"description": "A set of scripts that we use for our workflows",
"private": true,
"scripts": {
- "build": "tsc --noEmit --skipLibCheck && tsup",
- "lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src turbo",
- "format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src turbo",
+ "build": "tsc --noEmit && tsup",
+ "lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src turbo/generators/config.ts",
+ "format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src turbo/generators/config.ts",
"fmt": "pnpm run format"
},
"exports": {
@@ -74,7 +74,7 @@
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/scripts/src/populateDevDatabaseBranch.ts b/packages/scripts/src/populateDevDatabaseBranch.ts
index de48b654e..547b45302 100644
--- a/packages/scripts/src/populateDevDatabaseBranch.ts
+++ b/packages/scripts/src/populateDevDatabaseBranch.ts
@@ -1,3 +1,6 @@
+// eslint-disable-next-line @typescript-eslint/triple-slash-reference
+///
+
import { readFile } from 'node:fs/promises';
import process, { cwd } from 'node:process';
import { create } from '@actions/glob';
diff --git a/packages/scripts/tsconfig.eslint.json b/packages/scripts/tsconfig.eslint.json
index ce26d093f..31af14738 100644
--- a/packages/scripts/tsconfig.eslint.json
+++ b/packages/scripts/tsconfig.eslint.json
@@ -4,5 +4,20 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "turbo"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__",
+ "turbo"
+ ],
+ "exclude": ["node_modules", "turbo/generators/templates"]
}
diff --git a/packages/scripts/tsconfig.json b/packages/scripts/tsconfig.json
index 95dc9a4a4..c2453279f 100644
--- a/packages/scripts/tsconfig.json
+++ b/packages/scripts/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules", "turbo/generators/templates"]
}
diff --git a/packages/scripts/turbo/generators/templates/default/tsconfig.docs.json b/packages/scripts/turbo/generators/templates/default/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/scripts/turbo/generators/templates/default/tsconfig.docs.json
+++ b/packages/scripts/turbo/generators/templates/default/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/scripts/turbo/generators/templates/default/tsconfig.eslint.json b/packages/scripts/turbo/generators/templates/default/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/scripts/turbo/generators/templates/default/tsconfig.eslint.json
+++ b/packages/scripts/turbo/generators/templates/default/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/scripts/turbo/generators/templates/default/tsconfig.json b/packages/scripts/turbo/generators/templates/default/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/scripts/turbo/generators/templates/default/tsconfig.json
+++ b/packages/scripts/turbo/generators/templates/default/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/ui/api-extractor-docs.json b/packages/ui/api-extractor-docs.json
deleted file mode 100644
index 225607dd2..000000000
--- a/packages/ui/api-extractor-docs.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "./api-extractor.json",
- "mainEntryPointFilePath": "/dist-docs/index.d.ts"
-}
diff --git a/packages/ui/api-extractor.json b/packages/ui/api-extractor.json
deleted file mode 100644
index bc73f2cc0..000000000
--- a/packages/ui/api-extractor.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "../../api-extractor.json"
-}
diff --git a/packages/ui/package.json b/packages/ui/package.json
index f918b2901..19f8e23fe 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -5,7 +5,7 @@
"description": "",
"scripts": {
"test": "vitest run --config ../../vitest.config.ts",
- "build": "vite build",
+ "build": "tsc --noEmit && vite build",
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
"prepack": "pnpm run build && pnpm run lint",
@@ -82,7 +82,7 @@
"prettier": "^3.0.3",
"prop-types": "^15.8.1",
"storybook": "^7.5.3",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"unocss": "^0.57.2",
"vite": "^4.5.0",
diff --git a/packages/ui/tsconfig.eslint.json b/packages/ui/tsconfig.eslint.json
index fd1032b32..d92a16e50 100644
--- a/packages/ui/tsconfig.eslint.json
+++ b/packages/ui/tsconfig.eslint.json
@@ -4,5 +4,23 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", ".storybook"]
+ "include": [
+ "*.ts",
+ "*.tsx",
+ "*.js",
+ "*.jsx",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.js",
+ "src/**/*.jsx",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json
index f5292bfb9..3f55d576e 100644
--- a/packages/ui/tsconfig.json
+++ b/packages/ui/tsconfig.json
@@ -2,15 +2,15 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
- "lib": ["ESNext", "DOM", "DOM.Iterable"],
"jsx": "preserve",
"baseUrl": ".",
+ "outDir": "dist",
"noEmit": true,
"skipLibCheck": true,
"paths": {
"~/*": ["./src/*"]
}
},
- "include": ["src/**/*.ts", "src/**/*.tsx", ".ladle/**/*.tsx", "types.d.ts"],
+ "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx", "src/**/*.cjs", "src/**/*.mjs", "bin"],
"exclude": ["node_modules"]
}
diff --git a/packages/util/__tests__/types/Equatable.test-d.ts b/packages/util/__tests__/types/Equatable.test-d.ts
index db918b432..6c044946d 100644
--- a/packages/util/__tests__/types/Equatable.test-d.ts
+++ b/packages/util/__tests__/types/Equatable.test-d.ts
@@ -1,6 +1,5 @@
import { expectType } from 'tsd';
-import type { Equatable } from '../../dist/index.js';
-import { isEquatable } from '../../src/index.js';
+import { isEquatable, type Equatable } from '../../src/index.js';
declare const unknownObj: unknown;
diff --git a/packages/util/__tests__/types/JSONEncodable.test-d.ts b/packages/util/__tests__/types/JSONEncodable.test-d.ts
index 710cf014a..f32fe5678 100644
--- a/packages/util/__tests__/types/JSONEncodable.test-d.ts
+++ b/packages/util/__tests__/types/JSONEncodable.test-d.ts
@@ -1,6 +1,5 @@
import { expectType } from 'tsd';
-import type { JSONEncodable } from '../../dist/index.js';
-import { isJSONEncodable } from '../../src/index.js';
+import { isJSONEncodable, type JSONEncodable } from '../../src/index.js';
declare const unknownObj: unknown;
diff --git a/packages/util/package.json b/packages/util/package.json
index e591a45a2..5be051126 100644
--- a/packages/util/package.json
+++ b/packages/util/package.json
@@ -72,7 +72,7 @@
"prettier": "^3.0.3",
"tsd": "^0.29.0",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
diff --git a/packages/util/tsconfig.docs.json b/packages/util/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/util/tsconfig.docs.json
+++ b/packages/util/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/util/tsconfig.eslint.json b/packages/util/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/util/tsconfig.eslint.json
+++ b/packages/util/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/util/tsconfig.json b/packages/util/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/util/tsconfig.json
+++ b/packages/util/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/voice/__mocks__/rtp.ts b/packages/voice/__mocks__/rtp.ts
index e9b4ab026..63c7ad59f 100644
--- a/packages/voice/__mocks__/rtp.ts
+++ b/packages/voice/__mocks__/rtp.ts
@@ -1,5 +1,7 @@
+import { Buffer } from 'node:buffer';
+
export const RTP_PACKET_DESKTOP = {
- ssrc: 341124,
+ ssrc: 341_124,
packet: Buffer.from([
0x90, 0x78, 0x27, 0xe9, 0xf7, 0xcb, 0xbc, 0xd1, 0x0, 0x5, 0x34, 0x84, 0x8a, 0xbb, 0xe2, 0x97, 0x21, 0x9f, 0x1f,
0x67, 0xcd, 0x17, 0x91, 0x56, 0x43, 0xa0, 0x98, 0xfd, 0xa9, 0x25, 0x81, 0x63, 0x13, 0xb4, 0x1e, 0xae, 0x88, 0xe4,
@@ -10,7 +12,7 @@ export const RTP_PACKET_DESKTOP = {
};
export const RTP_PACKET_CHROME = {
- ssrc: 172360,
+ ssrc: 172_360,
packet: Buffer.from([
0x80, 0x78, 0x46, 0xdf, 0x27, 0x59, 0x2a, 0xd7, 0x0, 0x2, 0xa1, 0x48, 0x42, 0x9e, 0x53, 0xec, 0x73, 0xc1, 0x71,
0x22, 0x71, 0x60, 0x90, 0xff, 0x1b, 0x20, 0x47, 0x2c, 0xdc, 0x86, 0xc4, 0x9a, 0x0, 0x0, 0x0,
@@ -20,7 +22,7 @@ export const RTP_PACKET_CHROME = {
};
export const RTP_PACKET_ANDROID = {
- ssrc: 172596,
+ ssrc: 172_596,
packet: Buffer.from([
0x90, 0x78, 0x39, 0xd0, 0xe0, 0x59, 0xf5, 0x47, 0x0, 0x2, 0xa2, 0x34, 0x12, 0x6d, 0x87, 0x56, 0x25, 0xc8, 0x3e,
0x96, 0xc0, 0x71, 0x9a, 0x1, 0x83, 0xe, 0x1, 0x62, 0x91, 0x95, 0x1f, 0x76, 0x57, 0x15, 0x41, 0xab, 0xee, 0x5b, 0xac,
diff --git a/packages/voice/__tests__/AudioPlayer.test.ts b/packages/voice/__tests__/AudioPlayer.test.ts
index a7189d6c4..80cf5dd41 100644
--- a/packages/voice/__tests__/AudioPlayer.test.ts
+++ b/packages/voice/__tests__/AudioPlayer.test.ts
@@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/dot-notation */
+// @ts-nocheck
import { Buffer } from 'node:buffer';
import { once } from 'node:events';
import process from 'node:process';
diff --git a/packages/voice/__tests__/TransformerGraph.test.ts b/packages/voice/__tests__/TransformerGraph.test.ts
index 3a887381d..ac3567328 100644
--- a/packages/voice/__tests__/TransformerGraph.test.ts
+++ b/packages/voice/__tests__/TransformerGraph.test.ts
@@ -1,3 +1,4 @@
+// @ts-nocheck
import { findPipeline, StreamType, TransformerType, type Edge } from '../src/audio/TransformerGraph';
const noConstraint = () => true;
diff --git a/packages/voice/__tests__/VoiceConnection.test.ts b/packages/voice/__tests__/VoiceConnection.test.ts
index e8d17dbbf..43ca2d59b 100644
--- a/packages/voice/__tests__/VoiceConnection.test.ts
+++ b/packages/voice/__tests__/VoiceConnection.test.ts
@@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/unbound-method */
/* eslint-disable @typescript-eslint/dot-notation */
+// @ts-nocheck
import { EventEmitter } from 'node:events';
import * as _DataStore from '../src/DataStore';
import {
diff --git a/packages/voice/__tests__/VoiceReceiver.test.ts b/packages/voice/__tests__/VoiceReceiver.test.ts
index 36cb9ce4a..f19c868c5 100644
--- a/packages/voice/__tests__/VoiceReceiver.test.ts
+++ b/packages/voice/__tests__/VoiceReceiver.test.ts
@@ -1,5 +1,6 @@
/* eslint-disable id-length */
/* eslint-disable @typescript-eslint/dot-notation */
+// @ts-nocheck
import { Buffer } from 'node:buffer';
import { once } from 'node:events';
import process from 'node:process';
diff --git a/packages/voice/__tests__/VoiceUDPSocket.test.ts b/packages/voice/__tests__/VoiceUDPSocket.test.ts
index ef1f1e012..0e65ad7f6 100644
--- a/packages/voice/__tests__/VoiceUDPSocket.test.ts
+++ b/packages/voice/__tests__/VoiceUDPSocket.test.ts
@@ -1,3 +1,4 @@
+// @ts-nocheck
import { Buffer } from 'node:buffer';
import { createSocket as _createSocket } from 'node:dgram';
import { EventEmitter } from 'node:events';
diff --git a/packages/voice/__tests__/demuxProbe.test.ts b/packages/voice/__tests__/demuxProbe.test.ts
index 981517e46..d9c65a004 100644
--- a/packages/voice/__tests__/demuxProbe.test.ts
+++ b/packages/voice/__tests__/demuxProbe.test.ts
@@ -1,3 +1,4 @@
+// @ts-nocheck
import { Buffer } from 'node:buffer';
import EventEmitter, { once } from 'node:events';
import process from 'node:process';
diff --git a/packages/voice/__tests__/joinVoiceChannel.test.ts b/packages/voice/__tests__/joinVoiceChannel.test.ts
index ef4923430..5f1e94902 100644
--- a/packages/voice/__tests__/joinVoiceChannel.test.ts
+++ b/packages/voice/__tests__/joinVoiceChannel.test.ts
@@ -1,3 +1,4 @@
+// @ts-nocheck
import * as VoiceConnection from '../src/VoiceConnection';
import { joinVoiceChannel } from '../src/joinVoiceChannel';
diff --git a/packages/voice/package.json b/packages/voice/package.json
index f6d69a55c..546c1685f 100644
--- a/packages/voice/package.json
+++ b/packages/voice/package.json
@@ -86,7 +86,7 @@
"mock-socket": "^9.3.1",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"tweetnacl": "^1.0.3",
"typescript": "^5.2.2"
},
diff --git a/packages/voice/scripts/postbuild.mjs b/packages/voice/scripts/postbuild.mjs
index 6146e325b..e6f867856 100644
--- a/packages/voice/scripts/postbuild.mjs
+++ b/packages/voice/scripts/postbuild.mjs
@@ -1,6 +1,6 @@
import { readFile, writeFile } from 'node:fs/promises';
-const data = await readFile('./dist/index.mjs', 'utf-8');
+const data = await readFile('./dist/index.mjs', 'utf8');
await writeFile(
'./dist/index.mjs',
`import{createRequire as topLevelCreateRequire}from"module";const require=topLevelCreateRequire(import.meta.url);${data}`,
diff --git a/packages/voice/tsconfig.docs.json b/packages/voice/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/voice/tsconfig.docs.json
+++ b/packages/voice/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/voice/tsconfig.eslint.json b/packages/voice/tsconfig.eslint.json
index fac6187a7..163783a48 100644
--- a/packages/voice/tsconfig.eslint.json
+++ b/packages/voice/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "scripts", "__tests__", "__mocks__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/voice/tsconfig.json b/packages/voice/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/voice/tsconfig.json
+++ b/packages/voice/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/ws/__tests__/strategy/WorkerContextFetchingStrategy.test.ts b/packages/ws/__tests__/strategy/WorkerContextFetchingStrategy.test.ts
index 4d8df18f0..bed387a94 100644
--- a/packages/ws/__tests__/strategy/WorkerContextFetchingStrategy.test.ts
+++ b/packages/ws/__tests__/strategy/WorkerContextFetchingStrategy.test.ts
@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/consistent-type-imports */
+// @ts-nocheck
import { REST } from '@discordjs/rest';
import { MockAgent, type Interceptable } from 'undici';
import { beforeEach, test, vi, expect } from 'vitest';
diff --git a/packages/ws/__tests__/util/SimpleIdentifyThrottler.test.ts b/packages/ws/__tests__/util/SimpleIdentifyThrottler.test.ts
index 0d004523b..536625a04 100644
--- a/packages/ws/__tests__/util/SimpleIdentifyThrottler.test.ts
+++ b/packages/ws/__tests__/util/SimpleIdentifyThrottler.test.ts
@@ -1,3 +1,4 @@
+// @ts-nocheck
import { setTimeout as sleep } from 'node:timers/promises';
import { expect, test, vi } from 'vitest';
import { SimpleIdentifyThrottler } from '../../src/index.js';
diff --git a/packages/ws/package.json b/packages/ws/package.json
index e6aa612af..9589c2570 100644
--- a/packages/ws/package.json
+++ b/packages/ws/package.json
@@ -95,7 +95,7 @@
"mock-socket": "^9.3.1",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
- "turbo": "^1.10.16",
+ "turbo": "^1.10.17-canary.0",
"typescript": "^5.2.2",
"undici": "5.27.2",
"vitest": "^0.34.6",
diff --git a/packages/ws/tsconfig.docs.json b/packages/ws/tsconfig.docs.json
index 29d6796cd..36eb35148 100644
--- a/packages/ws/tsconfig.docs.json
+++ b/packages/ws/tsconfig.docs.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/ws/tsconfig.eslint.json b/packages/ws/tsconfig.eslint.json
index 61c48e486..163783a48 100644
--- a/packages/ws/tsconfig.eslint.json
+++ b/packages/ws/tsconfig.eslint.json
@@ -4,5 +4,19 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.tsx", "*.js", "*.cjs", "*.mjs", "src", "__tests__"]
+ "include": [
+ "*.ts",
+ "*.js",
+ "*.cjs",
+ "*.mjs",
+ "src/**/*.ts",
+ "src/**/*.js",
+ "src/**/*.cjs",
+ "src/**/*.mjs",
+ "bin",
+ "scripts",
+ "__tests__",
+ "__mocks__"
+ ],
+ "exclude": ["node_modules"]
}
diff --git a/packages/ws/tsconfig.json b/packages/ws/tsconfig.json
index 95dc9a4a4..b6ea137a0 100644
--- a/packages/ws/tsconfig.json
+++ b/packages/ws/tsconfig.json
@@ -1,5 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.cjs", "src/**/*.mjs", "bin"],
+ "exclude": ["node_modules"]
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f53bfb499..c5fd626db 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -70,8 +70,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -212,8 +212,8 @@ importers:
specifier: ^3.0.3
version: 3.0.3
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -366,8 +366,8 @@ importers:
specifier: ^3.0.3
version: 3.0.3
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -427,8 +427,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -515,8 +515,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
packages/api-extractor-model:
dependencies:
@@ -558,8 +558,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
packages/api-extractor-utils:
dependencies:
@@ -592,8 +592,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -641,8 +641,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -711,8 +711,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -756,8 +756,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -820,8 +820,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -975,8 +975,8 @@ importers:
specifier: 6.1.3
version: 6.1.3(typescript@5.2.2)
turbo:
- specifier: 1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: 5.2.2
version: 5.2.2
@@ -1024,8 +1024,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1067,8 +1067,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1137,8 +1137,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1198,8 +1198,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1241,8 +1241,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1311,8 +1311,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1381,8 +1381,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1478,8 +1478,8 @@ importers:
specifier: ^7.5.3
version: 7.5.3
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1532,8 +1532,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -1611,8 +1611,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
tweetnacl:
specifier: ^1.0.3
version: 1.0.3
@@ -1687,8 +1687,8 @@ importers:
specifier: ^7.2.0
version: 7.2.0(typescript@5.2.2)
turbo:
- specifier: ^1.10.16
- version: 1.10.16
+ specifier: ^1.10.17-canary.0
+ version: 1.10.17-canary.0
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -20994,64 +20994,64 @@ packages:
engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'}
dev: false
- /turbo-darwin-64@1.10.16:
- resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==}
+ /turbo-darwin-64@1.10.17-canary.0:
+ resolution: {integrity: sha512-IFqslZ0WsTZNmuxUt4SbScP0AtyPydWXPNycgZkk3LhA2Bku0PocpBo3eauF6sHlaZP27MpMT+3C5E1BtT0xWw==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
- /turbo-darwin-arm64@1.10.16:
- resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==}
+ /turbo-darwin-arm64@1.10.17-canary.0:
+ resolution: {integrity: sha512-WbCJf+mC8ghS64qGYM0rJIovJkxk0t2mK4CyCJbgmOgtkuarwHtM6RmOjD5nCxIjLRXNp+AGAh9nOrzj5/8Dkg==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: true
optional: true
- /turbo-linux-64@1.10.16:
- resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==}
+ /turbo-linux-64@1.10.17-canary.0:
+ resolution: {integrity: sha512-BalZrMmkBI0BsF3gc32xwb41NZJLBHsPxK9Ir3wfTFaF4d+eMxEj787XSOBFqY1RMpJwD3+rJDhBu5AEqPG+0w==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: true
optional: true
- /turbo-linux-arm64@1.10.16:
- resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==}
+ /turbo-linux-arm64@1.10.17-canary.0:
+ resolution: {integrity: sha512-0LymkBD45ogjb2H9C93CxJ+pKPoqMXPGBzUUqDsLwLBgMU0uAGiDxHNGjsgJzDfuldMcwxEJrFbK8i0Wa7uXTQ==}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: true
optional: true
- /turbo-windows-64@1.10.16:
- resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==}
+ /turbo-windows-64@1.10.17-canary.0:
+ resolution: {integrity: sha512-0b+/XxYcKvOxcuOiB+pj3XwY39rsRsvJeRAus4Y2OHDD4QUsw6u9HNPJ9Rd0hll6/rl4vnW91bzXDWCaCZmSJQ==}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: true
optional: true
- /turbo-windows-arm64@1.10.16:
- resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==}
+ /turbo-windows-arm64@1.10.17-canary.0:
+ resolution: {integrity: sha512-xGseknusKdSXQ7kNoCxpYEljvLavosG4F2EWw2GvDpZCoWU1fBoAjHF9q30BXzDz9IWzyIv7+mdpYIZ6G8z1OQ==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: true
optional: true
- /turbo@1.10.16:
- resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==}
+ /turbo@1.10.17-canary.0:
+ resolution: {integrity: sha512-SKPDwrkEo0RwZYs1+emT474IFEaL1TbaV+Uw/V9Z3i7mko33wtMulat5K8CMpFEJxqaG64yf7XAIlwrJB59YBA==}
hasBin: true
optionalDependencies:
- turbo-darwin-64: 1.10.16
- turbo-darwin-arm64: 1.10.16
- turbo-linux-64: 1.10.16
- turbo-linux-arm64: 1.10.16
- turbo-windows-64: 1.10.16
- turbo-windows-arm64: 1.10.16
+ turbo-darwin-64: 1.10.17-canary.0
+ turbo-darwin-arm64: 1.10.17-canary.0
+ turbo-linux-64: 1.10.17-canary.0
+ turbo-linux-arm64: 1.10.17-canary.0
+ turbo-windows-64: 1.10.17-canary.0
+ turbo-windows-arm64: 1.10.17-canary.0
dev: true
/tweetnacl@0.14.5:
diff --git a/tsconfig.docs.json b/tsconfig.docs.json
index 55195b794..b77a85611 100644
--- a/tsconfig.docs.json
+++ b/tsconfig.docs.json
@@ -3,6 +3,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"emitDeclarationOnly": true,
- "skipLibCheck": true
- }
+ "declarationMap": true
+ },
+ "exclude": ["node_modules"]
}
diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json
index 0d995cd97..ca42507c5 100644
--- a/tsconfig.eslint.json
+++ b/tsconfig.eslint.json
@@ -4,5 +4,6 @@
"compilerOptions": {
"allowJs": true
},
- "include": ["*.ts", "*.js", "*.mjs"]
+ "include": ["*.ts", "*.tsx", "*.js", ".jsx", ".cjs", "*.mjs"],
+ "exclude": ["node_modules"]
}
diff --git a/tsconfig.json b/tsconfig.json
index 85ccffb6e..4b64aaf28 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -45,5 +45,6 @@
"lib": ["ESNext"],
"target": "ESNext",
"useDefineForClassFields": true
- }
+ },
+ "exclude": ["node_modules"]
}
diff --git a/turbo.json b/turbo.json
index dccc08752..afc126872 100644
--- a/turbo.json
+++ b/turbo.json
@@ -3,294 +3,131 @@
"remoteCache": {
"enabled": true
},
- "globalDependencies": [
- ".commitlintrc.json",
- ".gitignore",
- ".lintstagedrc.json",
- ".prettierrc.json",
- "api-extractor.json",
- "codecov.yml",
- "eslint.config.js",
- "LICENSE",
- "package.json",
- "tsconfig.docs.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "tsup.config.ts",
- "turbo.json",
- "unocss.config.ts",
- "vitest.config.ts",
- "pnpm-lock.yaml",
- "pnpm-workspace.yaml"
- ],
+ "globalDependencies": ["tsconfig.json"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
- "inputs": [
- "bin/**/*.ts",
- "bin/**/*.js",
- "bin/**/*.mjs",
- "bin/**/*.cjs",
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "package.json",
- "tsconfig.docs.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "tsup.config.ts"
- ],
- "outputs": ["dist/**/*"],
- "outputMode": "errors-only"
- },
- "@discordjs/scripts#build": {
- "dependsOn": ["^build"],
- "inputs": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "src/template/**/*",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "tsup.config.ts"
- ],
- "outputs": ["dist/**/*"],
- "outputMode": "errors-only"
- },
- "@discordjs/ui#build": {
- "dependsOn": ["^build"],
- "inputs": [
- ".storybook/**/*",
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "vite.config.ts"
- ],
- "outputs": ["dist/**/*"],
+ "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/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "vite.config.ts"
- ],
- "outputs": ["dist/**/*", "storybook-static/**/*"],
+ "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"],
- "env": ["METADATA_BASE_URL"],
- "dotEnv": [".env.development", ".env.development.local", ".env.local"],
"inputs": [
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "public/**",
+ "src/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/**/*.mdx",
- "src/assets/**/*",
"contentlayer.config.ts",
"next.config.js",
"package.json",
- "tsconfig.eslint.json",
"tsconfig.json"
],
- "outputs": [".contentlayer/**/*", ".next/**/*", "!.next/cache/**/*"],
+ "outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
"outputMode": "full"
},
"@discordjs/guide#build:prod": {
"dependsOn": ["^build"],
- "env": ["METADATA_BASE_URL"],
"inputs": [
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "public/**",
+ "src/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/**/*.mdx",
- "src/assets/**/*",
"contentlayer.config.ts",
"next.config.js",
"package.json",
- "tsconfig.eslint.json",
"tsconfig.json"
],
- "outputs": [".contentlayer/**/*", ".next/**/*", "!.next/cache/**/*"],
+ "outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
"outputMode": "full"
},
"@discordjs/website#build:local": {
- "dependsOn": ["^build", "docs"],
- "env": ["NEXT_PUBLIC_LOCAL_DEV", "METADATA_BASE_URL", "DATABASE_URL", "EDGE_CONFIG"],
- "dotEnv": [".env.development", ".env.development.local", ".env.local"],
+ "dependsOn": ["^build", "^docs"],
"inputs": [
- ".env.development",
- ".env.development.local",
- ".env.local",
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "public/**",
+ "src/**",
+ "scripts/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/assets/**/*",
- "!src/assets/readme/**/*",
- "scripts/**/*",
+ "!src/assets/readme/**",
+ "scripts/**",
"next.config.js",
"package.json",
- "tsconfig.eslint.json",
"tsconfig.json"
],
- "outputs": [".next/**/*", "!.next/cache/**/*"],
+ "outputs": [".next/**", ".next/cache/**"],
"outputMode": "full"
},
"@discordjs/website#build:prod": {
- "dependsOn": ["^build", "docs"],
- "env": ["NEXT_PUBLIC_LOCAL_DEV", "METADATA_BASE_URL", "DATABASE_URL", "EDGE_CONFIG"],
+ "dependsOn": ["^build"],
"inputs": [
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "public/**",
+ "src/**",
+ "scripts/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/assets/**/*",
- "!src/assets/readme/**/*",
- "scripts/**/*",
+ "!src/assets/readme/**",
+ "scripts/**",
"next.config.js",
"package.json",
- "tsconfig.eslint.json",
"tsconfig.json"
],
- "outputs": [".next/**/*", "!.next/cache/**/*"],
+ "outputs": [".next/**", ".next/cache/**"],
"outputMode": "full"
},
"@discordjs/guide#generate:contentlayer": {
"inputs": ["src/**/*.mdx"],
- "outputs": [".contentlayer/**/*"],
+ "outputs": [".contentlayer/**"],
"outputMode": "errors-only"
},
"test": {
"dependsOn": ["^build"],
- "inputs": [
- "../../codecov.yml",
- "../../vitest.config.ts",
- "__tests_/**/*.ts",
- "__tests_/**/*.js",
- "__tests_/**/*.mjs",
- "__tests_/**/*.cjs",
- "__mocks__/**/*.ts",
- "__mocks__/**/*.js",
- "__mocks__/**/*.mjs",
- "__mocks__/**/*.cjs",
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json"
- ],
- "outputs": ["coverage/**/*"],
- "outputMode": "new-only"
- },
- "@discordjs/voice#test": {
- "dependsOn": ["^build"],
- "inputs": [
- "../../codecov.yml",
- "../../vitest.config.ts",
- "__tests_/**/*.ts",
- "__tests_/**/*.js",
- "__tests_/**/*.mjs",
- "__tests_/**/*.cjs",
- "__mocks__/**/*.ts",
- "__mocks__/**/*.js",
- "__mocks__/**/*.mjs",
- "__mocks__/**/*.cjs",
- "src/**/*.ts",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "babel.config.js",
- "jest.config.js",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json"
- ],
- "outputs": ["coverage/**/*"],
+ "inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
+ "outputs": ["coverage/**"],
"outputMode": "new-only"
},
"lint": {
"dependsOn": ["^build"],
"inputs": [
"../../eslint.config.js",
- "../../.prettierignore",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
- ".prettierignore",
".prettierrc.js",
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "src/**/*.css",
- "src/**/*.mdx",
- "scripts/**/*",
- "next.config.js",
+ "bin/**",
+ "src/**",
+ "scripts/**",
"package.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "tsup.config.ts",
- "vite.config.ts"
+ "tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"@discordjs/guide#lint": {
- "dependsOn": ["^build", "generate:contentlayer"],
- "env": ["METADATA_BASE_URL"],
+ "dependsOn": ["^build", "build:local", "generate:contentlayer"],
"inputs": [
"../../eslint.config.js",
- "../../.prettierignore",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
- ".prettierignore",
".prettierrc.js",
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "src/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/**/*.mdx",
- "src/assets/**/*",
- "contentlayer.config.ts",
- "next.config.js",
- "package.json",
- "tsconfig.eslint.json",
- "tsconfig.json"
+ "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"
@@ -299,71 +136,60 @@
"dependsOn": ["^build"],
"inputs": [
"../../eslint.config.js",
- "../../.prettierignore",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
- ".prettierignore",
".prettierrc.js",
- "src/**/*.ts",
- "src/**/*.tsx",
- "src/**/*.js",
- "src/**/*.mjs",
- "src/**/*.cjs",
- "src/**/*.css",
- "src/**/*.mdx",
- "scripts/**/*",
- "next.config.js",
+ "bin/**",
+ "src/**",
+ "scripts/**",
"package.json",
- "tsconfig.eslint.json",
- "tsconfig.json",
- "tsup.config.ts",
- "vite.config.ts"
+ "tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"@discordjs/guide#format": {
- "dependsOn": ["^build", "generate:contentlayer"],
- "env": ["METADATA_BASE_URL"],
+ "dependsOn": ["^build", "build:local", "generate:contentlayer"],
"inputs": [
"../../eslint.config.js",
- "../../.prettierignore",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
- ".prettierignore",
".prettierrc.js",
- "public/**/*",
- "src/**/*.tsx",
- "src/**/*.ts",
- "src/**/*.css",
+ "src/**",
"!src/styles/unocss.css",
- "src/**/*.json",
- "src/**/*.mdx",
- "src/assets/**/*",
- "contentlayer.config.ts",
- "next.config.js",
"package.json",
- "tsconfig.eslint.json",
- "tsconfig.json"
+ "tsconfig.eslint.json"
+ ],
+ "outputs": [],
+ "outputMode": "errors-only"
+ },
+ "@discordjs/website#format": {
+ "dependsOn": ["^build", "build:local"],
+ "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"],
+ "dependsOn": ["build"],
"inputs": [
"../../api-extractor.json",
"../../tsconfig.docs.json",
- "../../tsconfig.json",
"api-extractor.json",
- "docs/**/*",
+ "docs/**",
"!docs/docs.json",
"!docs/docs.api.json",
- "package.json",
- "tsconfig.docs.json",
- "tsconfig.json"
+ "tsconfig.docs.json"
],
- "outputs": ["dist-docs/**/*", "docs/docs.json", "docs/docs.api.json"],
+ "outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json"],
"outputMode": "errors-only"
},
"changelog": {
@@ -390,7 +216,7 @@
"persistent": true
},
"@discordjs/website#dev": {
- "dependsOn": ["^build", "docs"],
+ "dependsOn": ["^build", "^docs"],
"outputMode": "full",
"cache": false,
"persistent": true