Commit 85324846148 for woocommerce
commit 853248461482d4bad8457bafbabad04bf87a9fcc
Author: Vladimir Reznichenko <kalessil@gmail.com>
Date: Thu Apr 9 16:15:50 2026 +0200
[dev] Monorepo: harden install and build so it runs on Ubuntu (#64058)
diff --git a/docs/_docu-tools/utils/docusaurus-faster.deploy.config.js b/docs/_docu-tools/utils/docusaurus-faster.deploy.config.js
index ddc20351aed..92a48213edb 100644
--- a/docs/_docu-tools/utils/docusaurus-faster.deploy.config.js
+++ b/docs/_docu-tools/utils/docusaurus-faster.deploy.config.js
@@ -7,7 +7,7 @@ const faster = {
...config,
future: {
- experimental_faster: true,
+ faster: true,
v4: true,
},
};
diff --git a/packages/js/internal-ts-config/scripts/generate-types.mjs b/packages/js/internal-ts-config/scripts/generate-types.mjs
index 972fcef8e9a..99566184bb8 100644
--- a/packages/js/internal-ts-config/scripts/generate-types.mjs
+++ b/packages/js/internal-ts-config/scripts/generate-types.mjs
@@ -433,8 +433,9 @@ function applyPatch( patchFile ) {
}
try {
+ // Double `git apply` to gracefully handle older versions of git.
execSync(
- `git apply --allow-empty "${ patchFile }"`,
+ `git apply --allow-empty "${ patchFile }" || git apply "${ patchFile }"`,
{ cwd: PKG_ROOT, stdio: 'pipe' }
);
console.log( `Applied patch: ${ relative( PKG_ROOT, patchFile ) }` );
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index a661bec703b..a82a20fe4df 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -26,10 +26,11 @@ publicHoistPattern:
- 'react-dom'
# Quality of life tweaks (migrated from .npmrc)
-updateNotifier: false
+childConcurrency: 8 # 5 by default
confirmModulesPurge: false
modulesCacheMaxAge: 20160 # two weeks in minutes
-childConcurrency: 8
+updateNotifier: false
+virtualStoreDirMaxLength: 60
# Supply chain security (pnpm 10)
# Context: axios supply chain attack (2026-03-31) — malicious versions lived ~2-3hrs on npm.