-
-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage TypeScript project references
- Loading branch information
1 parent
7bf4c04
commit c17b71d
Showing
8 changed files
with
47 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
coverage/ | ||
node_modules/ | ||
*.d.ts | ||
types/ | ||
*.tsbuildinfo | ||
*.log | ||
.DS_Store | ||
react-markdown.min.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export type {ExtraProps} from 'hast-util-to-jsx-runtime' | ||
export { | ||
type AllowElement, | ||
type Components, | ||
type Options, | ||
type UrlTransform, | ||
defaultUrlTransform, | ||
default | ||
} from './index.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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"checkJs": true, | ||
"customConditions": ["development"], | ||
"exactOptionalPropertyTypes": true, | ||
"module": "node16", | ||
"strict": true, | ||
"target": "es2022" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
"composite": true, | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"lib": ["dom", "es2022"], | ||
"outDir": "types/", | ||
"rootDir": "lib/", | ||
"target": "es2022", | ||
"types": [] | ||
}, | ||
"include": ["lib/"] | ||
} |
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,16 +1,11 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
"checkJs": true, | ||
"customConditions": ["development"], | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"exactOptionalPropertyTypes": true, | ||
"jsx": "preserve", | ||
"lib": ["dom", "es2022"], | ||
"module": "node16", | ||
"strict": true, | ||
"target": "es2022" | ||
"lib": ["es2022"], | ||
"noEmit": true, | ||
"types": ["node"] | ||
}, | ||
"exclude": ["coverage/", "node_modules/"], | ||
"include": ["**/*.js", "**/*.jsx", "lib/complex-types.d.ts"] | ||
"exclude": ["coverage/", "lib/", "node_modules/"], | ||
"references": [{"path": "./tsconfig.build.json"}] | ||
} |