feat(rocket-preset-extend-lion-docs): update remark-extend (support frontmatter)

This commit is contained in:
Thijs Louisse 2025-03-27 12:18:46 +01:00 committed by Thijs Louisse
parent 7eb8588bb1
commit 48ee70e813
3 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1,5 @@
---
'rocket-preset-extend-lion-docs': patch
---
update remark-extend (support frontmatter)

View file

@ -24,8 +24,6 @@ async function expectThrowsAsync(method, { errorMatch, errorMessage } = {}) {
error = err; error = err;
} }
console.debug(error);
expect(error).to.be.an('Error', 'No error was thrown'); expect(error).to.be.an('Error', 'No error was thrown');
if (errorMatch) { if (errorMatch) {
expect(error.message).to.match(errorMatch); expect(error.message).to.match(errorMatch);

View file

@ -23,8 +23,8 @@
"test" "test"
], ],
"scripts": { "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", "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": "npm run test:node",
"test:node": "mocha test-node", "test:node": "mocha test-node",
"test:watch": "mocha test-node --watch" "test:watch": "mocha test-node --watch"
@ -36,7 +36,7 @@
"es-module-lexer": "^0.3.6", "es-module-lexer": "^0.3.6",
"glob": "^7.1.6", "glob": "^7.1.6",
"plugins-manager": "^0.3.0", "plugins-manager": "^0.3.0",
"remark-extend": "^0.5.1", "remark-extend": "^0.5.2",
"unist-util-visit": "^2.0.2" "unist-util-visit": "^2.0.2"
}, },
"keywords": [ "keywords": [