Update Discourse installation support in China (pnpm) (#867)
authorJeremy <46999838+jeremy0519@users.noreply.github.com>
Fri, 6 Sep 2024 16:10:52 +0000 (00:10 +0800)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 16:10:52 +0000 (17:10 +0100)
commit6c37c5dacda89f53983a96753801a59d5fcf165f
tree4c768c3f3c16afdfb7a35b3d5e796702ab56e543
parent928adfd09ff757e453e6a7fe3503f9cfc8723d75
Update Discourse installation support in China (pnpm) (#867)

This commit updates 2 things.
1. Updates the yarn hook to replace the npm mirror before `pnpm install`.
2. Removes the `yarn.lock` patch as pnpm is now used.

After applying these modifications, I successfully installed Discourse on the Tencent Cloud China server. No more network problems.
templates/web.china.template.yml