mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: fix the messy dependency graph
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "./api-extractor.json",
|
||||
"mainEntryPointFilePath": "<projectFolder>/dist-docs/index.d.ts"
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "../../api-extractor.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",
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user