feat(rocket-preset-extend-lion-docs): update remark-extend (support frontmatter)
This commit is contained in:
parent
7eb8588bb1
commit
48ee70e813
3 changed files with 7 additions and 4 deletions
5
.changeset/early-peaches-warn.md
Normal file
5
.changeset/early-peaches-warn.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'rocket-preset-extend-lion-docs': patch
|
||||
---
|
||||
|
||||
update remark-extend (support frontmatter)
|
||||
|
|
@ -24,8 +24,6 @@ async function expectThrowsAsync(method, { errorMatch, errorMessage } = {}) {
|
|||
error = err;
|
||||
}
|
||||
|
||||
console.debug(error);
|
||||
|
||||
expect(error).to.be.an('Error', 'No error was thrown');
|
||||
if (errorMatch) {
|
||||
expect(error.message).to.match(errorMatch);
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
"test"
|
||||
],
|
||||
"scripts": {
|
||||
"publish-docs": "node ../../packages-node/publish-docs/src/cli.js --github-url https://github.com/ing-bank/lion/ --git-root-dir ../../",
|
||||
"prepublishOnly": "npm run publish-docs",
|
||||
"publish-docs": "node ../../packages-node/publish-docs/src/cli.js --github-url https://github.com/ing-bank/lion/ --git-root-dir ../../",
|
||||
"test": "npm run test:node",
|
||||
"test:node": "mocha test-node",
|
||||
"test:watch": "mocha test-node --watch"
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
"es-module-lexer": "^0.3.6",
|
||||
"glob": "^7.1.6",
|
||||
"plugins-manager": "^0.3.0",
|
||||
"remark-extend": "^0.5.1",
|
||||
"remark-extend": "^0.5.2",
|
||||
"unist-util-visit": "^2.0.2"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue