fix(html-to-react): migrate imported files

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-08-26 12:44:01 +02:00
parent 84527f065c
commit 1d90013344
5 changed files with 35 additions and 10 deletions

1
.gitignore vendored
View file

@ -22,6 +22,7 @@ backups/
*.sqlite
.turbo
.env
dist/
# Yarn 2 without zero-installs

View file

@ -48,7 +48,7 @@
"@codemirror/view": "6.16.0",
"@fontsource/source-sans-pro": "5.0.8",
"@hedgedoc/commons": "workspace:commons",
"@hedgedoc/html-to-react": "2.1.0",
"@hedgedoc/html-to-react": "workspace:html-to-react",
"@hedgedoc/markdown-it-plugins": "2.1.3",
"@mrdrogdrog/optional": "1.2.1",
"@react-hook/resize-observer": "1.2.6",

View file

@ -7,7 +7,8 @@
"frontend",
"commons",
"dev-reverse-proxy",
"docs"
"docs",
"html-to-react"
],
"scripts": {
"build": "dotenv -- turbo run build",

View file

@ -2,6 +2,14 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {},
"@hedgedoc/html-to-react#build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"@hedgedoc/commons#build": {
"dependsOn": [
"^build"

View file

@ -2413,7 +2413,7 @@ __metadata:
"@codemirror/view": 6.16.0
"@fontsource/source-sans-pro": 5.0.8
"@hedgedoc/commons": "workspace:commons"
"@hedgedoc/html-to-react": 2.1.0
"@hedgedoc/html-to-react": "workspace:html-to-react"
"@hedgedoc/markdown-it-plugins": 2.1.3
"@mrdrogdrog/optional": 1.2.1
"@next/bundle-analyzer": 13.4.19
@ -2535,18 +2535,33 @@ __metadata:
languageName: unknown
linkType: soft
"@hedgedoc/html-to-react@npm:2.1.0":
version: 2.1.0
resolution: "@hedgedoc/html-to-react@npm:2.1.0"
"@hedgedoc/html-to-react@workspace:html-to-react":
version: 0.0.0-use.local
resolution: "@hedgedoc/html-to-react@workspace:html-to-react"
dependencies:
"@jest/globals": 29.6.4
"@jest/types": 29.6.3
"@types/react": 18.2.21
"@types/react-dom": 18.2.7
"@typescript-eslint/eslint-plugin": 6.4.1
"@typescript-eslint/parser": 6.4.1
domelementtype: ^2.3.0
domhandler: ^5.0.3
eslint: 8.48.0
eslint-config-prettier: 9.0.0
eslint-plugin-jest: 27.2.3
eslint-plugin-prettier: 5.0.0
htmlparser2: ^9.0.0
jest: 29.6.4
prettier: 3.0.2
react: 18.2.0
react-dom: 18.2.0
ts-jest: 29.1.1
typescript: 5.1.6
peerDependencies:
react: ">=16.0"
checksum: ed7939d3a6b80248be5977ac4401b3292da28175702a28abce04950e4dff8633aa38cab9507cf2715c9d0a9b8f3b737b06f4429f07e493ed299748f0a433337d
languageName: node
linkType: hard
languageName: unknown
linkType: soft
"@hedgedoc/markdown-it-plugins@npm:2.1.3":
version: 2.1.3
@ -2739,7 +2754,7 @@ __metadata:
languageName: node
linkType: hard
"@jest/globals@npm:^29.6.4":
"@jest/globals@npm:29.6.4, @jest/globals@npm:^29.6.4":
version: 29.6.4
resolution: "@jest/globals@npm:29.6.4"
dependencies: