Skip to content

Commit

Permalink
deduplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed May 17, 2022
1 parent 0b2af61 commit 7cc472a
Show file tree
Hide file tree
Showing 25 changed files with 70 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
16 changes: 10 additions & 6 deletions packages/docusaurus-plugin-content-docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"module": "commonjs",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/client", "**/__tests__/**"]
}
13 changes: 0 additions & 13 deletions packages/docusaurus-plugin-content-docs/tsconfig.server.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/docusaurus-plugin-debug/tsconfig.client.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
16 changes: 10 additions & 6 deletions packages/docusaurus-plugin-debug/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"module": "commonjs",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/theme"]
}
13 changes: 0 additions & 13 deletions packages/docusaurus-plugin-debug/tsconfig.server.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
15 changes: 9 additions & 6 deletions packages/docusaurus-plugin-google-analytics/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"module": "commonjs",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/analytics.ts"]
}
13 changes: 0 additions & 13 deletions packages/docusaurus-plugin-google-analytics/tsconfig.server.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
15 changes: 9 additions & 6 deletions packages/docusaurus-plugin-google-gtag/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"module": "commonjs",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/gtag.ts"]
}
13 changes: 0 additions & 13 deletions packages/docusaurus-plugin-google-gtag/tsconfig.server.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/docusaurus-plugin-pwa/tsconfig.client.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"rootDir": "src",
"outDir": "lib",
"module": "esnext",
"jsx": "react-native"
"module": "esnext"
},
"include": [
"src/theme/",
Expand Down
15 changes: 9 additions & 6 deletions packages/docusaurus-plugin-pwa/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/theme/", "src/registerSw.ts", "src/renderReloadPopup.tsx"]
}
12 changes: 0 additions & 12 deletions packages/docusaurus-plugin-pwa/tsconfig.server.json

This file was deleted.

3 changes: 1 addition & 2 deletions packages/docusaurus-theme-classic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"compilerOptions": {
"lib": ["DOM", "ES2019"],
"module": "esnext",
"noEmit": true,
"jsx": "react-native"
"noEmit": true
},
"include": ["src/"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"rootDir": "src",
"outDir": "lib",
"module": "esnext",
"jsx": "react-native"
"module": "esnext"
},
"include": ["src/theme", "src/*.d.ts", "src/custom-buble.ts"]
}
15 changes: 9 additions & 6 deletions packages/docusaurus-theme-live-codeblock/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/custom-buble.ts", "src/theme", "**/__tests__/**"]
}
12 changes: 0 additions & 12 deletions packages/docusaurus-theme-live-codeblock/tsconfig.server.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"rootDir": "src",
"outDir": "lib",
"module": "esnext",
"jsx": "react-native"
"module": "esnext"
},
"include": ["src/theme", "src/client", "src/*.d.ts"]
}
15 changes: 9 additions & 6 deletions packages/docusaurus-theme-search-algolia/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"extends": "../../tsconfig.json",
"references": [
{"path": "./tsconfig.server.json"},
{"path": "./tsconfig.client.json"}
],
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": true
}
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"exclude": ["src/client", "src/theme", "**/__tests__/**"]
}
12 changes: 0 additions & 12 deletions packages/docusaurus-theme-search-algolia/tsconfig.server.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/docusaurus/tsconfig.client.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
"module": "esnext",
"jsx": "react-native",
"rootDir": "src",
"outDir": "lib"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"lib": ["ESNext", "DOM"],
"declaration": true,
"declarationMap": false,
"jsx": "react",
"jsx": "react-native",
"importHelpers": true,
"noEmitHelpers": true,

Expand Down

0 comments on commit 7cc472a

Please sign in to comment.