mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Removed some types as the package comes with it own types now (#949)
This commit is contained in:
parent
908a5ce984
commit
d838b2c2d4
5 changed files with 10 additions and 40 deletions
|
@ -4,9 +4,9 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@craco/craco": "6.0.0",
|
"@craco/craco": "6.0.0",
|
||||||
|
"@fontsource/source-sans-pro": "4.1.0",
|
||||||
"@hedgedoc/markdown-it-task-lists": "1.0.0",
|
"@hedgedoc/markdown-it-task-lists": "1.0.0",
|
||||||
"@matejmazur/react-katex": "3.1.3",
|
"@matejmazur/react-katex": "3.1.3",
|
||||||
"markdown-it-anchor": "7.0.0",
|
|
||||||
"@testing-library/jest-dom": "5.11.8",
|
"@testing-library/jest-dom": "5.11.8",
|
||||||
"@testing-library/react": "11.2.3",
|
"@testing-library/react": "11.2.3",
|
||||||
"@testing-library/user-event": "12.6.0",
|
"@testing-library/user-event": "12.6.0",
|
||||||
|
@ -20,6 +20,7 @@
|
||||||
"@types/luxon": "1.25.0",
|
"@types/luxon": "1.25.0",
|
||||||
"@types/markdown-it": "12.0.1",
|
"@types/markdown-it": "12.0.1",
|
||||||
"@types/markdown-it-container": "2.0.3",
|
"@types/markdown-it-container": "2.0.3",
|
||||||
|
"@types/markdown-it-plantuml": "^1.4.0",
|
||||||
"@types/mermaid": "8.2.1",
|
"@types/mermaid": "8.2.1",
|
||||||
"@types/node": "12.12.53",
|
"@types/node": "12.12.53",
|
||||||
"@types/node-sass": "4.11.1",
|
"@types/node-sass": "4.11.1",
|
||||||
|
@ -52,7 +53,6 @@
|
||||||
"fast-deep-equal": "3.1.3",
|
"fast-deep-equal": "3.1.3",
|
||||||
"firacode": "5.2.0",
|
"firacode": "5.2.0",
|
||||||
"flowchart.js": "1.15.0",
|
"flowchart.js": "1.15.0",
|
||||||
"@fontsource/source-sans-pro": "4.1.0",
|
|
||||||
"fork-awesome": "1.1.7",
|
"fork-awesome": "1.1.7",
|
||||||
"highlight.js": "10.5.0",
|
"highlight.js": "10.5.0",
|
||||||
"i18next": "19.8.4",
|
"i18next": "19.8.4",
|
||||||
|
@ -63,6 +63,7 @@
|
||||||
"luxon": "1.25.0",
|
"luxon": "1.25.0",
|
||||||
"markdown-it": "12.0.4",
|
"markdown-it": "12.0.4",
|
||||||
"markdown-it-abbr": "1.0.4",
|
"markdown-it-abbr": "1.0.4",
|
||||||
|
"markdown-it-anchor": "7.0.0",
|
||||||
"markdown-it-container": "3.0.0",
|
"markdown-it-container": "3.0.0",
|
||||||
"markdown-it-deflist": "2.1.0",
|
"markdown-it-deflist": "2.1.0",
|
||||||
"markdown-it-emoji": "2.0.0",
|
"markdown-it-emoji": "2.0.0",
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
*/
|
|
||||||
|
|
||||||
declare module 'markdown-it-front-matter' {
|
|
||||||
import MarkdownIt from 'markdown-it/lib'
|
|
||||||
export type FrontMatterPluginOptions = (rawMeta: string) => void
|
|
||||||
const markdownItFrontMatter: MarkdownIt.PluginWithOptions<FrontMatterPluginOptions>
|
|
||||||
export = markdownItFrontMatter
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
*/
|
|
||||||
|
|
||||||
declare module 'markdown-it-plantuml' {
|
|
||||||
import MarkdownIt from 'markdown-it/lib'
|
|
||||||
import { PlantumlOptions } from './interface'
|
|
||||||
const markdownItPlantuml: MarkdownIt.PluginWithOptions<PlantumlOptions>
|
|
||||||
export = markdownItPlantuml
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
*/
|
|
||||||
|
|
||||||
import Renderer from 'markdown-it/lib/renderer'
|
|
||||||
|
|
||||||
export interface PlantumlOptions {
|
|
||||||
openMarker: string
|
|
||||||
closeMarker: string
|
|
||||||
render: Renderer
|
|
||||||
generateSource: (umlCode: string, pluginOptions: PlantumlOptions) => string
|
|
||||||
}
|
|
|
@ -2264,6 +2264,13 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/markdown-it" "*"
|
"@types/markdown-it" "*"
|
||||||
|
|
||||||
|
"@types/markdown-it-plantuml@^1.4.0":
|
||||||
|
version "1.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/markdown-it-plantuml/-/markdown-it-plantuml-1.4.0.tgz#f8c599f333ba86e3525a02a056c1113e4ce30654"
|
||||||
|
integrity sha512-43NP8P6nK4gpvWEF1UaijVNUcjjyToGtprr9jFpm7AWHO2UNpNXYm/fhMFie+e+hOdlepHuRahA6lnSy1sTqtA==
|
||||||
|
dependencies:
|
||||||
|
"@types/markdown-it" "*"
|
||||||
|
|
||||||
"@types/markdown-it@*", "@types/markdown-it@12.0.1":
|
"@types/markdown-it@*", "@types/markdown-it@12.0.1":
|
||||||
version "12.0.1"
|
version "12.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.0.1.tgz#8391e19fea4796ff863edda55800c7e669beb358"
|
resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.0.1.tgz#8391e19fea4796ff863edda55800c7e669beb358"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue