diff --git a/package.json b/package.json index aa23ac4..4cb44b9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "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", diff --git a/packages/bytemd/package.json b/packages/bytemd/package.json index 20c3831..11e4f75 100644 --- a/packages/bytemd/package.json +++ b/packages/bytemd/package.json @@ -37,12 +37,15 @@ "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", diff --git a/packages/plugin-gfm/package.json b/packages/plugin-gfm/package.json index 2a712cc..4db167c 100644 --- a/packages/plugin-gfm/package.json +++ b/packages/plugin-gfm/package.json @@ -28,6 +28,7 @@ "locales" ], "dependencies": { + "@icon-park/svg": "^1.4.2", "remark-gfm": "^3.0.1" }, "devDependencies": { diff --git a/packages/plugin-math-ssr/package.json b/packages/plugin-math-ssr/package.json index 925e2aa..e5b401b 100644 --- a/packages/plugin-math-ssr/package.json +++ b/packages/plugin-math-ssr/package.json @@ -28,6 +28,7 @@ "locales" ], "dependencies": { + "@icon-park/svg": "^1.4.2", "rehype-katex": "^6.0.2", "remark-math": "^5.1.1" }, diff --git a/packages/plugin-math/package.json b/packages/plugin-math/package.json index 1bbef85..f02abb7 100644 --- a/packages/plugin-math/package.json +++ b/packages/plugin-math/package.json @@ -28,6 +28,7 @@ "locales" ], "dependencies": { + "@icon-park/svg": "^1.4.2", "@types/katex": "^0.14.0", "katex": "^0.16.2", "remark-math": "^5.1.1" diff --git a/packages/plugin-mermaid/package.json b/packages/plugin-mermaid/package.json index 4af1089..a985448 100644 --- a/packages/plugin-mermaid/package.json +++ b/packages/plugin-mermaid/package.json @@ -28,6 +28,7 @@ "locales" ], "dependencies": { + "@icon-park/svg": "^1.4.2", "@types/mermaid": "^9.1.0", "mermaid": "^9.1.7" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56ffbef..78a454e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,7 +4,6 @@ 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 @@ -33,7 +32,6 @@ 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 @@ -64,13 +62,16 @@ 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 @@ -83,12 +84,15 @@ 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 @@ -138,9 +142,11 @@ 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 @@ -165,11 +171,13 @@ 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 @@ -178,10 +186,12 @@ 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: @@ -198,10 +208,12 @@ 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: @@ -922,7 +934,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: true + dev: false /@jest/expect-utils/28.1.3: resolution: {integrity: sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA==} @@ -1299,11 +1311,9 @@ 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==} @@ -4390,7 +4400,6 @@ 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==}