Skip to content

Commit

Permalink
build: fix the messy dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Nov 8, 2023
1 parent e5f3f31 commit aad82f0
Show file tree
Hide file tree
Showing 105 changed files with 654 additions and 437 deletions.
2 changes: 1 addition & 1 deletion apps/guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
21 changes: 20 additions & 1 deletion apps/guide/tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -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"]
}
12 changes: 11 additions & 1 deletion apps/guide/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],
Expand All @@ -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"]
}
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
21 changes: 20 additions & 1 deletion apps/website/tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -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"]
}
12 changes: 11 additions & 1 deletion apps/website/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],
Expand All @@ -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"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
16 changes: 15 additions & 1 deletion packages/actions/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
3 changes: 2 additions & 1 deletion packages/actions/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}
2 changes: 1 addition & 1 deletion packages/api-extractor-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
16 changes: 15 additions & 1 deletion packages/api-extractor-model/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
6 changes: 3 additions & 3 deletions packages/api-extractor-model/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}
2 changes: 1 addition & 1 deletion packages/api-extractor-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
16 changes: 15 additions & 1 deletion packages/api-extractor-utils/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
3 changes: 2 additions & 1 deletion packages/api-extractor-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"skipDefaultLibCheck": true,
"skipLibCheck": true
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/api-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
16 changes: 15 additions & 1 deletion packages/api-extractor/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
6 changes: 3 additions & 3 deletions packages/api-extractor/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}
6 changes: 3 additions & 3 deletions packages/brokers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/brokers/tsconfig.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"compilerOptions": {
"outDir": "dist-docs"
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
16 changes: 15 additions & 1 deletion packages/brokers/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
3 changes: 2 additions & 1 deletion packages/brokers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}
2 changes: 1 addition & 1 deletion packages/builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/builders/tsconfig.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"outDir": "dist-docs",
"exactOptionalPropertyTypes": false
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
16 changes: 15 additions & 1 deletion packages/builders/tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Loading

1 comment on commit aad82f0

@vercel
Copy link

@vercel vercel bot commented on aad82f0 Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.