Update pnpm to v11 (#33573)
* Update pnpm to v11 * Handle breaking changes * Attach pnpm hash * Remove redundant packageManager fields * Make lint-staged happy * Lockfile pnpm itself too * Update pnpm/action-setup for better v11 compatibility * Specify types to make tsc happier * Fix permissions * Check ulimit * Specify minimumReleaseAgeExclude * Run desktop tests * Revert "Run desktop tests" This reverts commit 911eb0ba2e9237d4b28e3bdaaf8f10ba6f22e827. * Revert "Check ulimit" This reverts commit f09eb59d715ba30a2e7fc5dba17dde092bd9bf17. * Reapply "Check ulimit" This reverts commit 83227c19ff5d07db91b6586f407f56870b00c041. * Run desktop tests * Switch nodeLinker & remove app-builder-lib patch * Fix webpack.config.ts * Fix .stylelintrc.cjs * Fix `events` package * Makes types happier * Make knip happy * Fix hak build * Make jest happy * Make pnpm-link happy * Remove dead file * Run playwright tests * Fix linux hak permissions in ci * Test * Remove ulimit checks * Disable skip * Update nx * Tweak line endings * Update screenshot * Iterate * Webpack fallback `events` --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Michael Telatynski
parent
4b2944440e
commit
1fb6b778e7
@@ -1,33 +0,0 @@
|
||||
diff --git a/out/node-module-collector/moduleManager.js b/out/node-module-collector/moduleManager.js
|
||||
index e9d6d16f8950c01417039d65ed1939009d642b7a..9f47c5e18fb34fe60e4f09bf512f9639aa2d90c0 100644
|
||||
--- a/out/node-module-collector/moduleManager.js
|
||||
+++ b/out/node-module-collector/moduleManager.js
|
||||
@@ -5,6 +5,7 @@ const builder_util_1 = require("builder-util");
|
||||
const fs = require("fs-extra");
|
||||
const path = require("path");
|
||||
const semver = require("semver");
|
||||
+const searchModule = require("../electron/search-module");
|
||||
var LogMessageByKey;
|
||||
(function (LogMessageByKey) {
|
||||
LogMessageByKey["PKG_DUPLICATE_REF"] = "duplicate dependency references";
|
||||
@@ -115,15 +116,15 @@ class ModuleManager {
|
||||
return { packageDir: path.dirname(direct), packageJson: json };
|
||||
}
|
||||
}
|
||||
- // 2) upward hoisted search, then 3) downward non-hoisted search
|
||||
+ // 2) upward hoisted search, then 3) downward non-hoisted search, then 4) downward from workspace root
|
||||
const upward = await this.upwardSearch(parentDir, pkgName, requiredRange);
|
||||
if (upward) {
|
||||
return upward;
|
||||
}
|
||||
- if (skipDownwardSearch) {
|
||||
- return null;
|
||||
- }
|
||||
- return (await this.downwardSearch(parentDir, pkgName, requiredRange)) || null;
|
||||
+ const workspaceRoot = await searchModule.getProjectRootPath(parentDir);
|
||||
+ return (await this.downwardSearch(parentDir, pkgName, requiredRange)) ||
|
||||
+ (await this.downwardSearch(workspaceRoot, pkgName, requiredRange)) ||
|
||||
+ null;
|
||||
}
|
||||
semverSatisfies(found, range) {
|
||||
if ((0, builder_util_1.isEmptyOrSpaces)(range) || range === "*") {
|
||||
Reference in New Issue
Block a user