-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the need for `ts-node`. This also moves the build output to the `dist` folder and adds support for declaration maps.
- Loading branch information
1 parent
5648ea3
commit f44dcc3
Showing
57 changed files
with
17 additions
and
154 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,4 +1,5 @@ | ||
{ | ||
"100": true, | ||
"exclude": ["**/test*"], | ||
"reporter": ["html", "lcov", "text"] | ||
} |
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 |
---|---|---|
|
@@ -2,8 +2,6 @@ coverage/ | |
dist/ | ||
node_modules/ | ||
test-results/ | ||
*.d.ts | ||
*.js | ||
*.log | ||
*.map | ||
*.tgz | ||
*.tsbuildinfo |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,18 @@ | |
"name": "rehype-mermaid", | ||
"version": "2.0.1", | ||
"description": "A rehype plugin to render mermaid diagrams", | ||
"exports": "./index.js", | ||
"exports": "./dist/index.js", | ||
"main": "./dist/index.js", | ||
"type": "module", | ||
"files": [ | ||
"index.d.ts", | ||
"index.js" | ||
"dist", | ||
"src", | ||
"!test*" | ||
], | ||
"scripts": { | ||
"prepack": "tsc --noEmit false", | ||
"test": "c8 ts-node-esm test/test.ts" | ||
"prepack": "tsc --build", | ||
"pretest": "tsc --build", | ||
"test": "c8 node --test" | ||
}, | ||
"author": "Remco Haszing <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -48,7 +51,6 @@ | |
"rehype": "^13.0.0", | ||
"remark-cli": "^11.0.0", | ||
"remark-preset-remcohaszing": "^2.0.0", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^5.0.0", | ||
"unist-util-remove-position": "^5.0.0", | ||
"vfile-message": "^4.0.0" | ||
|
File renamed without changes.
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