mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 12:20:33 +00:00
Update docs dependencies (#553)
This commit is contained in:
parent
eb134a2e27
commit
c4700e9693
5 changed files with 1235 additions and 3264 deletions
|
@ -15,9 +15,9 @@
|
|||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.0.0-beta.7",
|
||||
"@docusaurus/preset-classic": "^2.0.0-beta.7",
|
||||
"@docusaurus/theme-search-algolia": "^2.0.0-beta.7",
|
||||
"@docusaurus/core": "^2.0.0-beta.9",
|
||||
"@docusaurus/preset-classic": "^2.0.0-beta.9",
|
||||
"@docusaurus/theme-search-algolia": "^2.0.0-beta.9",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"clsx": "^1.1.1",
|
||||
|
@ -40,14 +40,11 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "^2.0.0-beta.7",
|
||||
"@docusaurus/module-type-aliases": "^2.0.0-beta.9",
|
||||
"@tsconfig/docusaurus": "^1.0.4",
|
||||
"@types/react": "^17.0.30",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-helmet": "^6.1.4",
|
||||
"@types/react-router-dom": "^5.3.1",
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"resolutions": {
|
||||
"ua-parser-js": "^0.7.30"
|
||||
"@types/react-router-dom": "^5.3.2",
|
||||
"typescript": "^4.5.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "@woodpecker-ci/plugin-index",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
|
@ -8,20 +9,20 @@
|
|||
"build": "tsc && tsc -p tsconfig.jsx.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "^2.0.0-beta.7",
|
||||
"@docusaurus/theme-classic": "^2.0.0-beta.7",
|
||||
"@docusaurus/types": "^2.0.0-beta.7",
|
||||
"@docusaurus/module-type-aliases": "^2.0.0-beta.9",
|
||||
"@docusaurus/theme-classic": "^2.0.0-beta.9",
|
||||
"@docusaurus/types": "^2.0.0-beta.9",
|
||||
"@octokit/openapi-types": "^11.2.0",
|
||||
"@octokit/rest": "^18.12.0",
|
||||
"@tsconfig/docusaurus": "^1.0.4",
|
||||
"@types/marked": "^3.0.1",
|
||||
"@types/marked": "^4.0.1",
|
||||
"clsx": "^1.1.1",
|
||||
"concurrently": "^6.3.0",
|
||||
"marked": "^3.0.7",
|
||||
"typescript": "^4.4.4"
|
||||
"concurrently": "^6.4.0",
|
||||
"marked": "^4.0.5",
|
||||
"typescript": "^4.5.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4 || ^17.0.0",
|
||||
"react-dom": "^16.8.4 || ^17.0.0"
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
import marked from 'marked';
|
||||
import { marked } from 'marked';
|
||||
|
||||
const tokens = ['---', '---'];
|
||||
const regexHeader = new RegExp('^' + tokens[0] + '([\\s|\\S]*?)' + tokens[1]);
|
||||
const regexContent = new RegExp(
|
||||
'^ *?\\' + tokens[0] + '[^]*?' + tokens[1] + '*'
|
||||
);
|
||||
const regexContent = new RegExp('^ *?\\' + tokens[0] + '[^]*?' + tokens[1] + '*');
|
||||
|
||||
export function getHeader<T = any>(data: string): T {
|
||||
const header = getRawHeader(data);
|
||||
|
|
File diff suppressed because it is too large
Load diff
2318
docs/yarn.lock
2318
docs/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue