extension-develop 3.3.3-next.12 → 3.3.3-next.14

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 +18 -5
  2. package/package.json +1 -1
package/dist/module.js CHANGED
@@ -131022,6 +131022,17 @@ var __webpack_modules__ = {
131022
131022
  args
131023
131023
  };
131024
131024
  }
131025
+ function resolveNpmCmdFromNodeExec() {
131026
+ if ('win32' !== process.platform) return;
131027
+ try {
131028
+ const execDir = path__rspack_import_0.dirname(process.execPath);
131029
+ const candidate = path__rspack_import_0.join(execDir, 'npm.cmd');
131030
+ if (fs__rspack_import_1.existsSync(candidate)) return candidate;
131031
+ } catch {}
131032
+ }
131033
+ function resolveNpmCommand() {
131034
+ return resolveNpmCmdFromNodeExec() || 'npm';
131035
+ }
131025
131036
  function buildNpmCliFallback(args) {
131026
131037
  const npmCli = resolveBundledNpmCliPath();
131027
131038
  if (!npmCli) return;
@@ -131102,7 +131113,7 @@ var __webpack_modules__ = {
131102
131113
  ]
131103
131114
  }, pmName, pm.execPath, pm.runnerCommand, pm.runnerArgs);
131104
131115
  if ('npm' === pmName || isFromNpx()) return maybeWrapExecPath({
131105
- command: 'npm',
131116
+ command: resolveNpmCommand(),
131106
131117
  args: [
131107
131118
  '--silent',
131108
131119
  'install',
@@ -131134,8 +131145,9 @@ var __webpack_modules__ = {
131134
131145
  ]
131135
131146
  }, pmName, pm.execPath, pm.runnerCommand, pm.runnerArgs);
131136
131147
  const fallback = pmName || 'npm';
131148
+ const resolvedFallback = 'npm' === fallback ? resolveNpmCommand() : fallback;
131137
131149
  return maybeWrapExecPath({
131138
- command: fallback,
131150
+ command: resolvedFallback,
131139
131151
  args: [
131140
131152
  '--silent',
131141
131153
  'install',
@@ -131170,7 +131182,7 @@ var __webpack_modules__ = {
131170
131182
  ]
131171
131183
  }, pmName, pm.execPath, pm.runnerCommand, pm.runnerArgs);
131172
131184
  if ('npm' === pmName || isFromNpx()) return maybeWrapExecPath({
131173
- command: 'npm',
131185
+ command: resolveNpmCommand(),
131174
131186
  args: [
131175
131187
  'install',
131176
131188
  '--silent',
@@ -131192,8 +131204,9 @@ var __webpack_modules__ = {
131192
131204
  ...dirArgs
131193
131205
  ]
131194
131206
  }, pmName, pm.execPath, pm.runnerCommand, pm.runnerArgs);
131207
+ const resolvedFallback = 'npm' === (pmName || 'npm') ? resolveNpmCommand() : pmName || 'npm';
131195
131208
  return maybeWrapExecPath({
131196
- command: pmName || 'npm',
131209
+ command: resolvedFallback,
131197
131210
  args: [
131198
131211
  'install',
131199
131212
  '--silent',
@@ -133316,7 +133329,7 @@ var __webpack_modules__ = {
133316
133329
  },
133317
133330
  "./package.json" (module) {
133318
133331
  "use strict";
133319
- module.exports = JSON.parse('{"rE":"3.3.3-next.12","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"}}');
133332
+ module.exports = JSON.parse('{"rE":"3.3.3-next.14","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"}}');
133320
133333
  }
133321
133334
  };
133322
133335
  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.12",
25
+ "version": "3.3.3-next.14",
26
26
  "description": "Develop, build, preview, and package Extension.js projects.",
27
27
  "author": {
28
28
  "name": "Cezar Augusto",