-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Let the different tsconfig share the paths (#1980)
Except for reflect-server which cannot reference replicache because then we end up pulling in DOM types that are not present on the server.
- Loading branch information
Showing
17 changed files
with
90 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["dom", "es2022"], | ||
"paths": { | ||
"replicache": ["../replicache/src/mod.ts"], | ||
"replicache/src/*": ["../replicache/src/*"], | ||
"shared/src/*": ["../shared/src/*"], | ||
"reflect-shared": ["../reflect-shared/src/mod.ts"], | ||
"reflect-shared/src/*": ["../reflect-shared/src/*"], | ||
"datadog": ["../datadog/src/mod.ts"], | ||
"datadog/src/*": ["../datadog/src/*"], | ||
"reflect-protocol": ["../reflect-protocol/src/mod.ts"], | ||
"reflect-protocol/src/*": ["../reflect-protocol/src/*"] | ||
} | ||
"lib": ["dom", "es2022"] | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import {makeInputOptions} from 'shared/src/tool/rollup-dts.js'; | ||
|
||
export default makeInputOptions('out/.dts/mod.d.ts', 'out/reflect-react.d.ts'); | ||
export default makeInputOptions( | ||
'out/.dts/reflect-react/src/mod.d.ts', | ||
'out/reflect-react.d.ts', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import {makeInputOptions} from 'shared/src/tool/rollup-dts.js'; | ||
|
||
export default makeInputOptions( | ||
'out/.dts/src/mod.d.ts', | ||
'out/.dts/reflect-server/src/mod.d.ts', | ||
'out/reflect-server.d.ts', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"paths": { | ||
"replicache": ["../replicache/src/mod.ts"], | ||
"replicache/src/*": ["../replicache/src/*"] | ||
} | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.js"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["dom", "es2022"], | ||
"paths": { | ||
"shared/src/*": ["../shared/src/*"] | ||
} | ||
"lib": ["dom", "es2022"] | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["dom", "esnext"], | ||
"paths": { | ||
"@rocicorp/zql": ["../zql/src/mod.ts"], | ||
"@rocicorp/zql/src/*": ["../zql/src/*"], | ||
"datadog": ["../datadog/src/mod.ts"], | ||
"replicache": ["../replicache/src/mod.ts"], | ||
"replicache/src/*": ["../replicache/src/*"], | ||
"shared/src/*": ["../shared/src/*"], | ||
"zero-protocol": ["../zero-protocol/src/mod.ts"], | ||
"zero-protocol/src/*": ["../zero-protocol/src/*"] | ||
} | ||
"lib": ["dom", "esnext"] | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["ESNext.Array", "ESNext", "DOM"], | ||
"paths": { | ||
"zero-client/src/*": ["../zero-client/src/*"], | ||
"replicache": ["../replicache/src/mod.ts"], | ||
"replicache/src/*": ["../replicache/src/*"] | ||
} | ||
"lib": ["ESNext.Array", "ESNext", "DOM"] | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters