Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ const config = {
plugins: [
[require.resolve("./src/plugins/blogGlobalData/index.js"), {}],
"docusaurus-plugin-sass",
"plugin-image-zoom",
"docusaurus-plugin-image-zoom",
[
"docusaurus-lunr-search",
{
languages: ["en",'zh'],
languages: ["en", "zh"],
indexDocs: true,
indexBlog: true,
indexPages: false,
}
},
],
],
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@node-rs/jieba": "^2.0.1",
"clsx": "^2.0.0",
"docusaurus-lunr-search": "^3.6.0",
"docusaurus-plugin-image-zoom": "^3.0.1",
"docusaurus-plugin-sass": "^0.2.6",
"plugin-image-zoom": "flexanalytics/plugin-image-zoom",
"prism-react-renderer": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
60 changes: 44 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@
"@docusaurus/theme-search-algolia" "3.7.0"
"@docusaurus/types" "3.7.0"

"@docusaurus/[email protected]":
"@docusaurus/theme-classic@>=3.0.0", "@docusaurus/theme-classic@3.7.0":
version "3.7.0"
resolved "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-3.7.0.tgz"
integrity sha512-MnLxG39WcvLCl4eUzHr0gNcpHQfWoGqzADCly54aqCofQX6UozOS9Th4RK3ARbM9m7zIRv3qbhggI53dQtx/hQ==
Expand Down Expand Up @@ -2276,10 +2276,10 @@
dependencies:
"@types/mdx" "^2.0.0"

"@node-rs/jieba-darwin-arm64@2.0.1":
"@node-rs/jieba-win32-x64-msvc@2.0.1":
version "2.0.1"
resolved "https://registry.npmjs.org/@node-rs/jieba-darwin-arm64/-/jieba-darwin-arm64-2.0.1.tgz"
integrity sha512-10+nwGQ6KzXXJlIL/sELA6Fi6m7eJ7xJksBiKuw1kxKUgaJwtVfAG0iqRF+NRQv0Sdq7r3k5ew9K9y0+IYaEcA==
resolved "https://registry.npmjs.org/@node-rs/jieba-win32-x64-msvc/-/jieba-win32-x64-msvc-2.0.1.tgz"
integrity sha512-LDOyo2/2CO8UnpSGLJdgqtH8mOnsABPhNxkfIky7UT9cyLEzOaU44nbA5YzPGpBI3qzMbWcwJYQsjBcgK2VqAg==

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

It seems the yarn.lock file was regenerated on a Windows machine. This has introduced platform-specific dependencies (e.g., @node-rs/jieba-win32-x64-msvc, @parcel/watcher-win32-x64) while removing dependencies for other platforms (e.g., @node-rs/jieba-darwin-arm64, @parcel/watcher-darwin-arm64). This can break the development environment for team members on macOS or Linux and may not fix the Netlify build issue, which runs on Linux. It's recommended to revert these platform-specific changes in the lockfile to ensure it remains platform-agnostic. Only the changes related to docusaurus-plugin-image-zoom should be present.


"@node-rs/jieba@^2.0.1":
version "2.0.1"
Expand Down Expand Up @@ -2322,10 +2322,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@parcel/watcher-darwin-arm64@2.5.1":
"@parcel/watcher-win32-x64@2.5.1":
version "2.5.1"
resolved "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz"
integrity sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==
resolved "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz"
integrity sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==

"@parcel/watcher@^2.4.1":
version "2.5.1"
Expand Down Expand Up @@ -4272,6 +4272,14 @@ docusaurus-lunr-search@^3.6.0:
unified "^9.2.2"
unist-util-is "^4.1.0"

docusaurus-plugin-image-zoom@^3.0.1:
version "3.0.1"
resolved "https://registry.npmjs.org/docusaurus-plugin-image-zoom/-/docusaurus-plugin-image-zoom-3.0.1.tgz"
integrity sha512-mQrqA99VpoMQJNbi02qkWAMVNC4+kwc6zLLMNzraHAJlwn+HrlUmZSEDcTwgn+H4herYNxHKxveE2WsYy73eGw==
dependencies:
medium-zoom "^1.1.0"
validate-peer-dependencies "^2.2.0"

docusaurus-plugin-sass@^0.2.6:
version "0.2.6"
resolved "https://registry.npmjs.org/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.6.tgz"
Expand Down Expand Up @@ -6468,7 +6476,7 @@ [email protected]:
resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==

medium-zoom@^1.0.8:
medium-zoom@^1.1.0:
version "1.1.0"
resolved "https://registry.npmjs.org/medium-zoom/-/medium-zoom-1.1.0.tgz"
integrity sha512-ewyDsp7k4InCUp3jRmwHBRFGyjBimKps/AJLjRSox+2q/2H4p/PNpQf+pwONWlJiOudkBXtbdmVbFjqyybfTmQ==
Expand Down Expand Up @@ -7462,6 +7470,18 @@ path-parse@^1.0.7:
resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==

path-root-regex@^0.1.0:
version "0.1.2"
resolved "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz"
integrity sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==

path-root@^0.1.1:
version "0.1.1"
resolved "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz"
integrity sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==
dependencies:
path-root-regex "^0.1.0"

path-to-regexp@^1.7.0:
version "1.9.0"
resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz"
Expand Down Expand Up @@ -7513,13 +7533,6 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"

plugin-image-zoom@flexanalytics/plugin-image-zoom:
version "1.1.0"
resolved "https://codeload.github.com/flexanalytics/plugin-image-zoom/tar.gz/8e1b866c79ed6d42cefc4c52f851f1dfd1d0c7de"
integrity sha512-y/KQYx2qGrnMwB0zPxxN3g2teitLlHjGFJDoepfjJg2cC1AB5qCC9Bzp5YsNGQb2+Vw0Nd4O32b8FQGTgFSrVw==
dependencies:
medium-zoom "^1.0.8"

postcss-attribute-case-insensitive@^7.0.1:
version "7.0.1"
resolved "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-7.0.1.tgz"
Expand Down Expand Up @@ -8684,6 +8697,13 @@ resolve-from@^4.0.0:
resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz"
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==

resolve-package-path@^4.0.3:
version "4.0.3"
resolved "https://registry.npmjs.org/resolve-package-path/-/resolve-package-path-4.0.3.tgz"
integrity sha512-SRpNAPW4kewOaNUt8VPqhJ0UMxawMwzJD8V7m1cJfdSTK9ieZwS6K7Dabsm4bmLFM96Z5Y/UznrpG5kt1im8yA==
dependencies:
path-root "^0.1.1"

resolve-pathname@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-3.0.0.tgz"
Expand Down Expand Up @@ -8853,7 +8873,7 @@ semver@^6.3.1:
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==

semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.5.4:
semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4:
version "7.7.1"
resolved "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz"
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
Expand Down Expand Up @@ -9729,6 +9749,14 @@ uuid@^8.3.2:
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

validate-peer-dependencies@^2.2.0:
version "2.2.0"
resolved "https://registry.npmjs.org/validate-peer-dependencies/-/validate-peer-dependencies-2.2.0.tgz"
integrity sha512-8X1OWlERjiUY6P6tdeU9E0EwO8RA3bahoOVG7ulOZT5MqgNDUO/BQoVjYiHPcNe+v8glsboZRIw9iToMAA2zAA==
dependencies:
resolve-package-path "^4.0.3"
semver "^7.3.8"

value-equal@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/value-equal/-/value-equal-1.0.1.tgz"
Expand Down
Loading