-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This changes the test runner from Playwright to `node:test` and `snapshot-fixtures`. - This publishes source maps - This publishes declaration maps
- Loading branch information
1 parent
c1b06ff
commit 4ef9cc8
Showing
36 changed files
with
173 additions
and
180 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,5 +1,5 @@ | ||
{ | ||
"100": true, | ||
"include": ["index.ts"], | ||
"include": ["src/remark-mermaid.ts"], | ||
"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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
coverage/ | ||
dist/ | ||
node_modules/ | ||
test-results/ | ||
*.d.ts | ||
*.js | ||
*.log | ||
*.tgz |
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 @@ | ||
**/*-snapshots/* | ||
coverage/ | ||
dist/ | ||
test-results/ | ||
fixtures/ |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** @type {import('remark-mermaidjs').RemarkMermaidOptions} */ | ||
export default { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
errorFallback() {} | ||
} |
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** @type {import('remark-mermaidjs').RemarkMermaidOptions} */ | ||
export default { | ||
mermaidConfig: { | ||
theme: 'forest' | ||
} | ||
} |
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": "remark-mermaidjs", | ||
"version": "6.0.0", | ||
"description": "A remark plugin to render mermaid diagrams", | ||
"exports": "./index.js", | ||
"exports": "./dist/remark-mermaidjs.js", | ||
"main": "./dist/remark-mermaidjs.js", | ||
"type": "module", | ||
"files": [ | ||
"index.d.ts", | ||
"index.js" | ||
"dist", | ||
"src", | ||
"!*.test.*" | ||
], | ||
"scripts": { | ||
"prepack": "tsc --noEmit false", | ||
"test": "c8 playwright test" | ||
"prepack": "tsc --build", | ||
"pretest": "tsc --build", | ||
"test": "c8 node --enable-source-maps ./dist/remark-mermaidjs.test.js" | ||
}, | ||
"author": "Remco Haszing <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -36,7 +39,6 @@ | |
"vfile": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.0.0", | ||
"@types/hast": "^3.0.0", | ||
"c8": "^8.0.0", | ||
"eslint": "^8.0.0", | ||
|
@@ -47,6 +49,7 @@ | |
"remark-cli": "^11.0.0", | ||
"remark-preset-remcohaszing": "^2.0.0", | ||
"remark-rehype": "^11.0.0", | ||
"snapshot-fixtures": "^1.0.0", | ||
"typescript": "^5.0.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.