extension-develop 3.3.3-next.19 → 3.3.3-next.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/module.js +45 -7
  2. package/package.json +1 -1
package/dist/module.js CHANGED
@@ -131412,11 +131412,14 @@ var __webpack_modules__ = {
131412
131412
  }
131413
131413
  async function installOptionalDependencies(integration, dependencies) {
131414
131414
  if (!dependencies.length) return;
131415
+ let pm;
131416
+ let wslContext;
131417
+ let installBaseDir;
131415
131418
  try {
131416
- const pm = await resolvePackageManager();
131417
- const installBaseDir = resolveDevelopInstallRoot();
131419
+ pm = await resolvePackageManager();
131420
+ installBaseDir = resolveDevelopInstallRoot();
131418
131421
  if (!installBaseDir) throw new Error(_messages__rspack_import_3.eG(integration));
131419
- const wslContext = resolveWslContext(installBaseDir);
131422
+ wslContext = resolveWslContext(installBaseDir);
131420
131423
  const installCommand = getOptionalInstallCommand(pm, dependencies, wslContext.installDir || installBaseDir);
131421
131424
  const execCommand = wrapCommandForWsl(installCommand, wslContext);
131422
131425
  const fallbackNpmCommand = wslContext.useWsl ? void 0 : buildNpmCliFallback([
@@ -131454,6 +131457,22 @@ var __webpack_modules__ = {
131454
131457
  }
131455
131458
  return true;
131456
131459
  } catch (error) {
131460
+ console.error('[extension.js][optional-deps] debug', {
131461
+ platform: process.platform,
131462
+ execPath: process.execPath,
131463
+ cwd: process.cwd(),
131464
+ path: process.env.PATH || process.env.Path,
131465
+ comspec: process.env.ComSpec,
131466
+ systemRoot: process.env.SystemRoot,
131467
+ npm_execpath: process.env.npm_execpath,
131468
+ npm_config_user_agent: process.env.npm_config_user_agent,
131469
+ npm_config_prefix: process.env.npm_config_prefix,
131470
+ npm_config_cache: process.env.npm_config_cache,
131471
+ npm_config_userconfig: process.env.npm_config_userconfig,
131472
+ installBaseDir,
131473
+ wslContext,
131474
+ pm
131475
+ });
131457
131476
  const isAuthor = 'true' === process.env.EXTENSION_AUTHOR_MODE;
131458
131477
  if (isMissingManagerError(error)) console.error(_messages__rspack_import_3.Vo(integration));
131459
131478
  else console.error(_messages__rspack_import_3.DX(integration, error, isAuthor));
@@ -131462,11 +131481,14 @@ var __webpack_modules__ = {
131462
131481
  }
131463
131482
  async function installOptionalDependenciesBatch(integration, dependencies, integrations) {
131464
131483
  if (!dependencies.length) return;
131484
+ let pm;
131485
+ let wslContext;
131486
+ let installBaseDir;
131465
131487
  try {
131466
- const pm = await resolvePackageManager();
131467
- const installBaseDir = resolveDevelopInstallRoot();
131488
+ pm = await resolvePackageManager();
131489
+ installBaseDir = resolveDevelopInstallRoot();
131468
131490
  if (!installBaseDir) throw new Error(_messages__rspack_import_3.eG(integration));
131469
- const wslContext = resolveWslContext(installBaseDir);
131491
+ wslContext = resolveWslContext(installBaseDir);
131470
131492
  const installCommand = getOptionalInstallCommand(pm, dependencies, wslContext.installDir || installBaseDir);
131471
131493
  const execCommand = wrapCommandForWsl(installCommand, wslContext);
131472
131494
  const fallbackNpmCommand = wslContext.useWsl ? void 0 : buildNpmCliFallback([
@@ -131502,6 +131524,22 @@ var __webpack_modules__ = {
131502
131524
  }
131503
131525
  return true;
131504
131526
  } catch (error) {
131527
+ console.error('[extension.js][optional-deps] debug', {
131528
+ platform: process.platform,
131529
+ execPath: process.execPath,
131530
+ cwd: process.cwd(),
131531
+ path: process.env.PATH || process.env.Path,
131532
+ comspec: process.env.ComSpec,
131533
+ systemRoot: process.env.SystemRoot,
131534
+ npm_execpath: process.env.npm_execpath,
131535
+ npm_config_user_agent: process.env.npm_config_user_agent,
131536
+ npm_config_prefix: process.env.npm_config_prefix,
131537
+ npm_config_cache: process.env.npm_config_cache,
131538
+ npm_config_userconfig: process.env.npm_config_userconfig,
131539
+ installBaseDir,
131540
+ wslContext,
131541
+ pm
131542
+ });
131505
131543
  const isAuthor = 'true' === process.env.EXTENSION_AUTHOR_MODE;
131506
131544
  if (isMissingManagerError(error)) console.error(_messages__rspack_import_3.Vo(integration));
131507
131545
  else console.error(_messages__rspack_import_3.DX(integration, error, isAuthor));
@@ -133525,7 +133563,7 @@ var __webpack_modules__ = {
133525
133563
  },
133526
133564
  "./package.json" (module) {
133527
133565
  "use strict";
133528
- module.exports = JSON.parse('{"rE":"3.3.3-next.19","El":{"@rspack/core":"^1.7.2","@rspack/dev-server":"^1.1.5","@swc/core":"^1.15.8","@swc/helpers":"^0.5.18","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.1","case-sensitive-paths-webpack-plugin":"^2.4.0","chrome-location2":"4.0.0","chromium-location":"2.0.0","content-security-policy-parser":"^0.6.0","cross-spawn":"^7.0.6","dotenv":"^17.2.3","edge-location":"2.2.0","firefox-location2":"3.0.0","go-git-it":"^5.0.3","ignore":"^7.0.5","loader-utils":"^3.3.1","magic-string":"^0.30.21","parse5":"^8.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","schema-utils":"^4.3.3","tiny-glob":"^0.2.9","unique-names-generator":"^4.7.1","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.19.0"}}');
133566
+ module.exports = JSON.parse('{"rE":"3.3.3-next.21","El":{"@rspack/core":"^1.7.2","@rspack/dev-server":"^1.1.5","@swc/core":"^1.15.8","@swc/helpers":"^0.5.18","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.1","case-sensitive-paths-webpack-plugin":"^2.4.0","chrome-location2":"4.0.0","chromium-location":"2.0.0","content-security-policy-parser":"^0.6.0","cross-spawn":"^7.0.6","dotenv":"^17.2.3","edge-location":"2.2.0","firefox-location2":"3.0.0","go-git-it":"^5.0.3","ignore":"^7.0.5","loader-utils":"^3.3.1","magic-string":"^0.30.21","parse5":"^8.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","schema-utils":"^4.3.3","tiny-glob":"^0.2.9","unique-names-generator":"^4.7.1","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.19.0"}}');
133529
133567
  }
133530
133568
  };
133531
133569
  var __webpack_module_cache__ = {};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "name": "extension-develop",
25
- "version": "3.3.3-next.19",
25
+ "version": "3.3.3-next.21",
26
26
  "description": "Develop, build, preview, and package Extension.js projects.",
27
27
  "author": {
28
28
  "name": "Cezar Augusto",