fix: make lodash and icons inline

closes #218
This commit is contained in:
Rongjian Zhang 2022-10-13 17:05:31 +08:00
parent c3d180cdd6
commit 0e28d3364a
7 changed files with 7 additions and 22 deletions

View File

@ -19,6 +19,7 @@
"singleQuote": true
},
"devDependencies": {
"@icon-park/svg": "^1.4.2",
"@sveltejs/vite-plugin-svelte": "1.0.9",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",

View File

@ -37,15 +37,12 @@
"svelte"
],
"dependencies": {
"@icon-park/svg": "^1.4.2",
"@popperjs/core": "^2.11.6",
"@types/codemirror": "^5.60.5",
"@types/hast": "^2.3.4",
"@types/lodash-es": "^4.17.6",
"@types/mdast": "^3.0.10",
"codemirror-ssr": "^0.65.0",
"hast-util-sanitize": "^4.0.0",
"lodash-es": "^4.17.21",
"rehype-raw": "^6.1.1",
"rehype-sanitize": "^5.0.1",
"rehype-stringify": "^9.0.3",

View File

@ -28,7 +28,6 @@
"locales"
],
"dependencies": {
"@icon-park/svg": "^1.4.2",
"remark-gfm": "^3.0.1"
},
"devDependencies": {

View File

@ -28,7 +28,6 @@
"locales"
],
"dependencies": {
"@icon-park/svg": "^1.4.2",
"rehype-katex": "^6.0.2",
"remark-math": "^5.1.1"
},

View File

@ -28,7 +28,6 @@
"locales"
],
"dependencies": {
"@icon-park/svg": "^1.4.2",
"@types/katex": "^0.14.0",
"katex": "^0.16.2",
"remark-math": "^5.1.1"

View File

@ -28,7 +28,6 @@
"locales"
],
"dependencies": {
"@icon-park/svg": "^1.4.2",
"@types/mermaid": "^9.1.0",
"mermaid": "^9.1.7"
},

View File

@ -4,6 +4,7 @@ importers:
.:
specifiers:
'@icon-park/svg': ^1.4.2
'@sveltejs/vite-plugin-svelte': 1.0.9
'@testing-library/jest-dom': ^5.16.5
'@testing-library/svelte': ^3.2.2
@ -32,6 +33,7 @@ importers:
tsx: ^3.10.1
typescript: ^4.8.4
devDependencies:
'@icon-park/svg': 1.4.2
'@sveltejs/vite-plugin-svelte': 1.0.9_svelte@3.50.1
'@testing-library/jest-dom': 5.16.5
'@testing-library/svelte': 3.2.2_svelte@3.50.1
@ -62,16 +64,13 @@ importers:
packages/bytemd:
specifiers:
'@icon-park/svg': ^1.4.2
'@popperjs/core': ^2.11.6
'@primer/css': ^15.2.0
'@types/codemirror': ^5.60.5
'@types/hast': ^2.3.4
'@types/lodash-es': ^4.17.6
'@types/mdast': ^3.0.10
codemirror-ssr: ^0.65.0
hast-util-sanitize: ^4.0.0
lodash-es: ^4.17.21
rehype-raw: ^6.1.1
rehype-sanitize: ^5.0.1
rehype-stringify: ^9.0.3
@ -84,15 +83,12 @@ importers:
vfile: ^5.3.5
word-count: ^0.2.2
dependencies:
'@icon-park/svg': 1.4.2
'@popperjs/core': 2.11.6
'@types/codemirror': 5.60.5
'@types/hast': 2.3.4
'@types/lodash-es': 4.17.6
'@types/mdast': 3.0.10
codemirror-ssr: 0.65.0_@types+codemirror@5.60.5
hast-util-sanitize: 4.0.0
lodash-es: 4.17.21
rehype-raw: 6.1.1
rehype-sanitize: 5.0.1
rehype-stringify: 9.0.3
@ -142,11 +138,9 @@ importers:
packages/plugin-gfm:
specifiers:
'@icon-park/svg': ^1.4.2
bytemd: workspace:*
remark-gfm: ^3.0.1
dependencies:
'@icon-park/svg': 1.4.2
remark-gfm: 3.0.1
devDependencies:
bytemd: link:../bytemd
@ -171,13 +165,11 @@ importers:
packages/plugin-math:
specifiers:
'@icon-park/svg': ^1.4.2
'@types/katex': ^0.14.0
bytemd: workspace:*
katex: ^0.16.2
remark-math: ^5.1.1
dependencies:
'@icon-park/svg': 1.4.2
'@types/katex': 0.14.0
katex: 0.16.2
remark-math: 5.1.1
@ -186,12 +178,10 @@ importers:
packages/plugin-math-ssr:
specifiers:
'@icon-park/svg': ^1.4.2
bytemd: workspace:*
rehype-katex: ^6.0.2
remark-math: ^5.1.1
dependencies:
'@icon-park/svg': 1.4.2
rehype-katex: 6.0.2
remark-math: 5.1.1
devDependencies:
@ -208,12 +198,10 @@ importers:
packages/plugin-mermaid:
specifiers:
'@icon-park/svg': ^1.4.2
'@types/mermaid': ^9.1.0
bytemd: workspace:*
mermaid: ^9.1.7
dependencies:
'@icon-park/svg': 1.4.2
'@types/mermaid': 9.1.0
mermaid: 9.1.7
devDependencies:
@ -934,7 +922,7 @@ packages:
/@icon-park/svg/1.4.2:
resolution: {integrity: sha512-1X0DA+1e0R0liYvw+Nb2BQmF1oEo/wS3o/JYkQYifPJXCGYij2vN9sJf/NNhbzDsJWTg4W2bbzZjJvC7Q4w4oQ==}
engines: {node: '>= 8.0.0', npm: '>= 5.0.0'}
dev: false
dev: true
/@jest/expect-utils/28.1.3:
resolution: {integrity: sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA==}
@ -1311,9 +1299,11 @@ packages:
resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==}
dependencies:
'@types/lodash': 4.14.182
dev: true
/@types/lodash/4.14.182:
resolution: {integrity: sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==}
dev: true
/@types/mdast/3.0.10:
resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==}
@ -4400,6 +4390,7 @@ packages:
/lodash-es/4.17.21:
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
dev: true
/lodash.get/4.4.2:
resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==}