mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
fix(markdown-it-plugins): migrate imported files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
f5736dad0f
commit
ffe48f2fd2
12 changed files with 49 additions and 52 deletions
|
@ -49,7 +49,7 @@
|
||||||
"@fontsource/source-sans-pro": "5.0.8",
|
"@fontsource/source-sans-pro": "5.0.8",
|
||||||
"@hedgedoc/commons": "workspace:commons",
|
"@hedgedoc/commons": "workspace:commons",
|
||||||
"@hedgedoc/html-to-react": "workspace:html-to-react",
|
"@hedgedoc/html-to-react": "workspace:html-to-react",
|
||||||
"@hedgedoc/markdown-it-plugins": "2.1.3",
|
"@hedgedoc/markdown-it-plugins": "workspace:markdown-it-plugins",
|
||||||
"@mrdrogdrog/optional": "1.2.1",
|
"@mrdrogdrog/optional": "1.2.1",
|
||||||
"@react-hook/resize-observer": "1.2.6",
|
"@react-hook/resize-observer": "1.2.6",
|
||||||
"@redux-devtools/core": "3.13.1",
|
"@redux-devtools/core": "3.13.1",
|
||||||
|
|
1
markdown-it-plugins/.gitignore
vendored
1
markdown-it-plugins/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
dist/
|
|
|
@ -1,21 +0,0 @@
|
||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2022 The HedgeDoc developers (see AUTHORS file)
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
|
@ -85,11 +85,12 @@
|
||||||
"dist/esm/toc/toc-options.js.map"
|
"dist/esm/toc/toc-options.js.map"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "../node_modules/.bin/jest",
|
"build": "./build.sh",
|
||||||
"build": "build.sh",
|
"test": "jest",
|
||||||
"prepublish": "rm -rf ../dist && yarn lint && yarn build && yarn test",
|
"test:ci": "jest --ci",
|
||||||
"lint": "../node_modules/.bin/eslint --ext .ts markdown-it-plugins/src",
|
"prepublish": "rm -rf dist && yarn lint && yarn build && yarn test",
|
||||||
"lint:fix": "../node_modules/.bin/eslint --fix --ext .ts markdown-it-plugins/src"
|
"lint": "eslint src --ext .ts",
|
||||||
|
"lint:fix": "eslint --fix --ext .ts src"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"markdown",
|
"markdown",
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export { imageSize } from './image-size'
|
export { imageSize } from './image-size/index.js'
|
||||||
export { taskLists } from './task-lists'
|
export { taskLists } from './task-lists/index.js'
|
||||||
export * from './toc'
|
export * from './toc/index.js'
|
||||||
|
|
|
@ -12,11 +12,10 @@
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"sourceMap": true
|
"declarationMap":true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"typeRoots": ["./types"]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["./src", "./types"],
|
||||||
"src"
|
"exclude": ["./dist", "**/*.test.ts"]
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"../dist", "**/*.test.ts"]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"target": "ES2015",
|
"target": "ES2015",
|
||||||
"outDir": "../dist/cjs",
|
"outDir": "dist/cjs",
|
||||||
"declarationDir": "../dist/cjs",
|
"declarationDir": "dist/cjs",
|
||||||
"moduleResolution": "node"
|
"moduleResolution": "node"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"target" : "esnext",
|
"target" : "esnext",
|
||||||
"outDir": "../dist/esm",
|
"outDir": "dist/esm",
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "NodeNext",
|
||||||
"declarationDir": "../dist/esm"
|
"declarationDir": "dist/esm"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
"extends" : "./tsconfig.esm.json",
|
"extends" : "./tsconfig.esm.json",
|
||||||
"exclude": [
|
"exclude": ["./dist"]
|
||||||
"../dist"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
"commons",
|
"commons",
|
||||||
"dev-reverse-proxy",
|
"dev-reverse-proxy",
|
||||||
"docs",
|
"docs",
|
||||||
"html-to-react"
|
"html-to-react",
|
||||||
|
"markdown-it-plugins"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "dotenv -- turbo run build",
|
"build": "dotenv -- turbo run build",
|
||||||
|
|
|
@ -18,6 +18,14 @@
|
||||||
"dist/**"
|
"dist/**"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"@hedgedoc/markdown-it-plugins#build": {
|
||||||
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
"dist/**"
|
||||||
|
]
|
||||||
|
},
|
||||||
"@hedgedoc/frontend#build": {
|
"@hedgedoc/frontend#build": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"^build"
|
||||||
|
|
26
yarn.lock
26
yarn.lock
|
@ -2414,7 +2414,7 @@ __metadata:
|
||||||
"@fontsource/source-sans-pro": 5.0.8
|
"@fontsource/source-sans-pro": 5.0.8
|
||||||
"@hedgedoc/commons": "workspace:commons"
|
"@hedgedoc/commons": "workspace:commons"
|
||||||
"@hedgedoc/html-to-react": "workspace:html-to-react"
|
"@hedgedoc/html-to-react": "workspace:html-to-react"
|
||||||
"@hedgedoc/markdown-it-plugins": 2.1.3
|
"@hedgedoc/markdown-it-plugins": "workspace:markdown-it-plugins"
|
||||||
"@mrdrogdrog/optional": 1.2.1
|
"@mrdrogdrog/optional": 1.2.1
|
||||||
"@next/bundle-analyzer": 13.4.19
|
"@next/bundle-analyzer": 13.4.19
|
||||||
"@react-hook/resize-observer": 1.2.6
|
"@react-hook/resize-observer": 1.2.6
|
||||||
|
@ -2563,17 +2563,29 @@ __metadata:
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@hedgedoc/markdown-it-plugins@npm:2.1.3":
|
"@hedgedoc/markdown-it-plugins@workspace:markdown-it-plugins":
|
||||||
version: 2.1.3
|
version: 0.0.0-use.local
|
||||||
resolution: "@hedgedoc/markdown-it-plugins@npm:2.1.3"
|
resolution: "@hedgedoc/markdown-it-plugins@workspace:markdown-it-plugins"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@jest/types": 29.6.3
|
||||||
"@mrdrogdrog/optional": ^1.2.1
|
"@mrdrogdrog/optional": ^1.2.1
|
||||||
|
"@types/markdown-it": 13.0.0
|
||||||
|
"@typescript-eslint/eslint-plugin": 6.4.1
|
||||||
|
"@typescript-eslint/parser": 6.4.1
|
||||||
|
eslint: 8.48.0
|
||||||
|
eslint-config-prettier: 9.0.0
|
||||||
|
eslint-plugin-jest: 27.2.3
|
||||||
|
eslint-plugin-prettier: 5.0.0
|
||||||
html-entities: ^2.4.0
|
html-entities: ^2.4.0
|
||||||
|
jest: 29.6.4
|
||||||
|
markdown-it: 13.0.1
|
||||||
|
prettier: 3.0.2
|
||||||
|
ts-jest: 29.1.1
|
||||||
|
typescript: 5.2.2
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
markdown-it: ">=12"
|
markdown-it: ">=12"
|
||||||
checksum: bac43a6c69eaca295f769e4ff35abf273359cf38fc3cae2929c135df3a5cebe5c82f5a0a787033eed8a7746ed98bc5b99a1ab26572272926dc6154293861f860
|
languageName: unknown
|
||||||
languageName: node
|
linkType: soft
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@hpcc-js/wasm@npm:2.13.1":
|
"@hpcc-js/wasm@npm:2.13.1":
|
||||||
version: 2.13.1
|
version: 2.13.1
|
||||||
|
|
Loading…
Reference in a new issue