Skip to content

Commit eb88c58

Browse files
committed
chore: 이미지 빌드타임 최적화를 위한 sharp 의존성 추가
1 parent 566e5da commit eb88c58

2 files changed

Lines changed: 204 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"glob": "^11.0.3",
1212
"gray-matter": "^4.0.3",
1313
"prettier": "^3.6.2",
14+
"sharp": "^0.34.5",
1415
"vitepress": "^1.6.4"
1516
},
1617
"dependencies": {

yarn.lock

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,13 @@
203203
"@docsearch/css" "3.8.2"
204204
algoliasearch "^5.14.2"
205205

206+
"@emnapi/runtime@^1.7.0":
207+
version "1.7.1"
208+
resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.7.1.tgz#a73784e23f5d57287369c808197288b52276b791"
209+
integrity sha512-PVtJr5CmLwYAU9PZDMITZoR5iAOShYREoR45EyyLrbntV50mdePTgUn4AmOw90Ifcj+x2kRjdzr1HP3RrNiHGA==
210+
dependencies:
211+
tslib "^2.4.0"
212+
206213
"@esbuild/aix-ppc64@0.21.5":
207214
version "0.21.5"
208215
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f"
@@ -337,6 +344,153 @@
337344
resolved "https://registry.yarnpkg.com/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57"
338345
integrity sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==
339346

347+
"@img/colour@^1.0.0":
348+
version "1.0.0"
349+
resolved "https://registry.yarnpkg.com/@img/colour/-/colour-1.0.0.tgz#d2fabb223455a793bf3bf9c70de3d28526aa8311"
350+
integrity sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==
351+
352+
"@img/sharp-darwin-arm64@0.34.5":
353+
version "0.34.5"
354+
resolved "https://registry.yarnpkg.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz#6e0732dcade126b6670af7aa17060b926835ea86"
355+
integrity sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==
356+
optionalDependencies:
357+
"@img/sharp-libvips-darwin-arm64" "1.2.4"
358+
359+
"@img/sharp-darwin-x64@0.34.5":
360+
version "0.34.5"
361+
resolved "https://registry.yarnpkg.com/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz#19bc1dd6eba6d5a96283498b9c9f401180ee9c7b"
362+
integrity sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==
363+
optionalDependencies:
364+
"@img/sharp-libvips-darwin-x64" "1.2.4"
365+
366+
"@img/sharp-libvips-darwin-arm64@1.2.4":
367+
version "1.2.4"
368+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz#2894c0cb87d42276c3889942e8e2db517a492c43"
369+
integrity sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==
370+
371+
"@img/sharp-libvips-darwin-x64@1.2.4":
372+
version "1.2.4"
373+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz#e63681f4539a94af9cd17246ed8881734386f8cc"
374+
integrity sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==
375+
376+
"@img/sharp-libvips-linux-arm64@1.2.4":
377+
version "1.2.4"
378+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz#b1b288b36864b3bce545ad91fa6dadcf1a4ad318"
379+
integrity sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==
380+
381+
"@img/sharp-libvips-linux-arm@1.2.4":
382+
version "1.2.4"
383+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz#b9260dd1ebe6f9e3bdbcbdcac9d2ac125f35852d"
384+
integrity sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==
385+
386+
"@img/sharp-libvips-linux-ppc64@1.2.4":
387+
version "1.2.4"
388+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz#4b83ecf2a829057222b38848c7b022e7b4d07aa7"
389+
integrity sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==
390+
391+
"@img/sharp-libvips-linux-riscv64@1.2.4":
392+
version "1.2.4"
393+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz#880b4678009e5a2080af192332b00b0aaf8a48de"
394+
integrity sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==
395+
396+
"@img/sharp-libvips-linux-s390x@1.2.4":
397+
version "1.2.4"
398+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz#74f343c8e10fad821b38f75ced30488939dc59ec"
399+
integrity sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==
400+
401+
"@img/sharp-libvips-linux-x64@1.2.4":
402+
version "1.2.4"
403+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz#df4183e8bd8410f7d61b66859a35edeab0a531ce"
404+
integrity sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==
405+
406+
"@img/sharp-libvips-linuxmusl-arm64@1.2.4":
407+
version "1.2.4"
408+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz#c8d6b48211df67137541007ee8d1b7b1f8ca8e06"
409+
integrity sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==
410+
411+
"@img/sharp-libvips-linuxmusl-x64@1.2.4":
412+
version "1.2.4"
413+
resolved "https://registry.yarnpkg.com/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz#be11c75bee5b080cbee31a153a8779448f919f75"
414+
integrity sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==
415+
416+
"@img/sharp-linux-arm64@0.34.5":
417+
version "0.34.5"
418+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz#7aa7764ef9c001f15e610546d42fce56911790cc"
419+
integrity sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==
420+
optionalDependencies:
421+
"@img/sharp-libvips-linux-arm64" "1.2.4"
422+
423+
"@img/sharp-linux-arm@0.34.5":
424+
version "0.34.5"
425+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz#5fb0c3695dd12522d39c3ff7a6bc816461780a0d"
426+
integrity sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==
427+
optionalDependencies:
428+
"@img/sharp-libvips-linux-arm" "1.2.4"
429+
430+
"@img/sharp-linux-ppc64@0.34.5":
431+
version "0.34.5"
432+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz#9c213a81520a20caf66978f3d4c07456ff2e0813"
433+
integrity sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==
434+
optionalDependencies:
435+
"@img/sharp-libvips-linux-ppc64" "1.2.4"
436+
437+
"@img/sharp-linux-riscv64@0.34.5":
438+
version "0.34.5"
439+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz#cdd28182774eadbe04f62675a16aabbccb833f60"
440+
integrity sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==
441+
optionalDependencies:
442+
"@img/sharp-libvips-linux-riscv64" "1.2.4"
443+
444+
"@img/sharp-linux-s390x@0.34.5":
445+
version "0.34.5"
446+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz#93eac601b9f329bb27917e0e19098c722d630df7"
447+
integrity sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==
448+
optionalDependencies:
449+
"@img/sharp-libvips-linux-s390x" "1.2.4"
450+
451+
"@img/sharp-linux-x64@0.34.5":
452+
version "0.34.5"
453+
resolved "https://registry.yarnpkg.com/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz#55abc7cd754ffca5002b6c2b719abdfc846819a8"
454+
integrity sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==
455+
optionalDependencies:
456+
"@img/sharp-libvips-linux-x64" "1.2.4"
457+
458+
"@img/sharp-linuxmusl-arm64@0.34.5":
459+
version "0.34.5"
460+
resolved "https://registry.yarnpkg.com/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz#d6515ee971bb62f73001a4829b9d865a11b77086"
461+
integrity sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==
462+
optionalDependencies:
463+
"@img/sharp-libvips-linuxmusl-arm64" "1.2.4"
464+
465+
"@img/sharp-linuxmusl-x64@0.34.5":
466+
version "0.34.5"
467+
resolved "https://registry.yarnpkg.com/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz#d97978aec7c5212f999714f2f5b736457e12ee9f"
468+
integrity sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==
469+
optionalDependencies:
470+
"@img/sharp-libvips-linuxmusl-x64" "1.2.4"
471+
472+
"@img/sharp-wasm32@0.34.5":
473+
version "0.34.5"
474+
resolved "https://registry.yarnpkg.com/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz#2f15803aa626f8c59dd7c9d0bbc766f1ab52cfa0"
475+
integrity sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==
476+
dependencies:
477+
"@emnapi/runtime" "^1.7.0"
478+
479+
"@img/sharp-win32-arm64@0.34.5":
480+
version "0.34.5"
481+
resolved "https://registry.yarnpkg.com/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz#3706e9e3ac35fddfc1c87f94e849f1b75307ce0a"
482+
integrity sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==
483+
484+
"@img/sharp-win32-ia32@0.34.5":
485+
version "0.34.5"
486+
resolved "https://registry.yarnpkg.com/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz#0b71166599b049e032f085fb9263e02f4e4788de"
487+
integrity sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==
488+
489+
"@img/sharp-win32-x64@0.34.5":
490+
version "0.34.5"
491+
resolved "https://registry.yarnpkg.com/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz#a81ffb00e69267cd0a1d626eaedb8a8430b2b2f8"
492+
integrity sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==
493+
340494
"@isaacs/balanced-match@^4.0.1":
341495
version "4.0.1"
342496
resolved "https://registry.yarnpkg.com/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz#3081dadbc3460661b751e7591d7faea5df39dd29"
@@ -904,6 +1058,11 @@ dequal@^2.0.0:
9041058
resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be"
9051059
integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==
9061060

1061+
detect-libc@^2.1.2:
1062+
version "2.1.2"
1063+
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad"
1064+
integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==
1065+
9071066
devlop@^1.0.0:
9081067
version "1.1.0"
9091068
resolved "https://registry.yarnpkg.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018"
@@ -1455,6 +1614,45 @@ section-matter@^1.0.0:
14551614
extend-shallow "^2.0.1"
14561615
kind-of "^6.0.0"
14571616

1617+
semver@^7.7.3:
1618+
version "7.7.3"
1619+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.3.tgz#4b5f4143d007633a8dc671cd0a6ef9147b8bb946"
1620+
integrity sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==
1621+
1622+
sharp@^0.34.5:
1623+
version "0.34.5"
1624+
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.34.5.tgz#b6f148e4b8c61f1797bde11a9d1cfebbae2c57b0"
1625+
integrity sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==
1626+
dependencies:
1627+
"@img/colour" "^1.0.0"
1628+
detect-libc "^2.1.2"
1629+
semver "^7.7.3"
1630+
optionalDependencies:
1631+
"@img/sharp-darwin-arm64" "0.34.5"
1632+
"@img/sharp-darwin-x64" "0.34.5"
1633+
"@img/sharp-libvips-darwin-arm64" "1.2.4"
1634+
"@img/sharp-libvips-darwin-x64" "1.2.4"
1635+
"@img/sharp-libvips-linux-arm" "1.2.4"
1636+
"@img/sharp-libvips-linux-arm64" "1.2.4"
1637+
"@img/sharp-libvips-linux-ppc64" "1.2.4"
1638+
"@img/sharp-libvips-linux-riscv64" "1.2.4"
1639+
"@img/sharp-libvips-linux-s390x" "1.2.4"
1640+
"@img/sharp-libvips-linux-x64" "1.2.4"
1641+
"@img/sharp-libvips-linuxmusl-arm64" "1.2.4"
1642+
"@img/sharp-libvips-linuxmusl-x64" "1.2.4"
1643+
"@img/sharp-linux-arm" "0.34.5"
1644+
"@img/sharp-linux-arm64" "0.34.5"
1645+
"@img/sharp-linux-ppc64" "0.34.5"
1646+
"@img/sharp-linux-riscv64" "0.34.5"
1647+
"@img/sharp-linux-s390x" "0.34.5"
1648+
"@img/sharp-linux-x64" "0.34.5"
1649+
"@img/sharp-linuxmusl-arm64" "0.34.5"
1650+
"@img/sharp-linuxmusl-x64" "0.34.5"
1651+
"@img/sharp-wasm32" "0.34.5"
1652+
"@img/sharp-win32-arm64" "0.34.5"
1653+
"@img/sharp-win32-ia32" "0.34.5"
1654+
"@img/sharp-win32-x64" "0.34.5"
1655+
14581656
shebang-command@^2.0.0:
14591657
version "2.0.0"
14601658
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
@@ -1591,6 +1789,11 @@ trim-lines@^3.0.0:
15911789
resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338"
15921790
integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==
15931791

1792+
tslib@^2.4.0:
1793+
version "2.8.1"
1794+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
1795+
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
1796+
15941797
undici-types@~7.12.0:
15951798
version "7.12.0"
15961799
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.12.0.tgz#15c5c7475c2a3ba30659529f5cdb4674b622fafb"

0 commit comments

Comments
 (0)