extension-develop 3.8.14 → 3.8.16

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.
package/dist/535.cjs CHANGED
@@ -1422,7 +1422,7 @@ exports.modules = {
1422
1422
  module: {
1423
1423
  type: 'es6'
1424
1424
  },
1425
- minify: 'production' === mode,
1425
+ minify: false,
1426
1426
  isModule: true,
1427
1427
  sourceMap: wantsSourceMaps,
1428
1428
  env: {
package/dist/928.cjs CHANGED
@@ -109,6 +109,9 @@ exports.modules = {
109
109
  `Try enabling verbose logs with ${external_pintor_default().brightBlue('EXTENSION_VERBOSE=1')} or review your extension config.`
110
110
  ].join('\n');
111
111
  }
112
+ function spacerLine() {
113
+ return ' ';
114
+ }
112
115
  var external_crypto_ = __webpack_require__("crypto");
113
116
  var external_net_ = __webpack_require__("net");
114
117
  var shared_utils = __webpack_require__("./webpack/plugin-browsers/browsers-lib/shared-utils.ts");
@@ -362,7 +365,7 @@ exports.modules = {
362
365
  async function dev_server_devServer(projectStructure, devOptions) {
363
366
  process.env.EXTENSION_BROWSER_LAUNCH_ENABLED = devOptions.noBrowser ? '0' : '1';
364
367
  const { manifestPath, packageJsonPath } = projectStructure;
365
- const manifestDir = external_path_.dirname(manifestPath);
368
+ external_path_.dirname(manifestPath);
366
369
  const packageJsonDir = external_path_.dirname(packageJsonPath);
367
370
  const commandConfig = await (0, config_loader.eY)(packageJsonDir, 'dev');
368
371
  const browserConfig = await (0, config_loader.xY)(packageJsonDir, devOptions.browser);
@@ -402,7 +405,7 @@ exports.modules = {
402
405
  path: external_path_.join(packageJsonDir, 'dist', devOptions.browser)
403
406
  }
404
407
  });
405
- const customWebpackConfig = await (0, config_loader.Tu)(manifestDir);
408
+ const customWebpackConfig = await (0, config_loader.Tu)(packageJsonDir);
406
409
  const finalConfig = customWebpackConfig(baseConfig);
407
410
  const compilerConfig = (0, external_webpack_merge_.merge)(finalConfig, {});
408
411
  compilerConfig.devServer = {
@@ -478,12 +481,14 @@ exports.modules = {
478
481
  }, START_TIMEOUT_MS);
479
482
  await devServer.start();
480
483
  if (startTimeout) clearTimeout(startTimeout);
484
+ console.log(spacerLine());
481
485
  console.log(messages_ready('development', devOptions.browser));
482
486
  if (devOptions.noBrowser) console.log(browserRunnerDisabled({
483
487
  browser: String(devOptions.browser || 'chromium'),
484
488
  manifestPath,
485
489
  readyPath: metadata.readyPath
486
490
  }));
491
+ console.log(spacerLine());
487
492
  } catch (error) {
488
493
  if (startTimeout) clearTimeout(startTimeout);
489
494
  metadata.writeError('dev_server_start_failed', error instanceof Error ? error.message : String(error));
package/dist/module.cjs CHANGED
@@ -128261,7 +128261,7 @@ var __webpack_modules__ = {
128261
128261
  return lines.join('\n');
128262
128262
  }
128263
128263
  function emptyLine() {
128264
- return '';
128264
+ return ' ';
128265
128265
  }
128266
128266
  function separatorLine() {
128267
128267
  return ''.padEnd(80, '=');
@@ -135106,7 +135106,7 @@ var __webpack_modules__ = {
135106
135106
  },
135107
135107
  "./package.json" (module) {
135108
135108
  "use strict";
135109
- module.exports = JSON.parse('{"rE":"3.8.14","El":{"@rspack/core":"^1.7.5","@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","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","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"}}');
135109
+ module.exports = JSON.parse('{"rE":"3.8.16","El":{"@rspack/core":"^1.7.5","@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","extension-from-store":"^0.1.1","firefox-location2":"3.0.0","go-git-it":"^5.1.1","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"}}');
135110
135110
  }
135111
135111
  };
135112
135112
  var __webpack_module_cache__ = {};
@@ -136013,7 +136013,7 @@ var __webpack_exports__ = {};
136013
136013
  ]);
136014
136014
  const debug = isAuthor;
136015
136015
  if (projectStructure.packageJsonPath) assertNoManagedDependencyConflicts(projectStructure.packageJsonPath, manifestDir);
136016
- const commandConfig = await (0, config_loader.eY)(manifestDir, 'build');
136016
+ const commandConfig = await (0, config_loader.eY)(packageJsonDir, 'build');
136017
136017
  const specialFoldersData = (0, get_data.H)(packageJsonDir);
136018
136018
  const distPath = (0, webpack_lib_paths.q4)(packageJsonDir, browser);
136019
136019
  if (debug) {
@@ -136039,7 +136039,7 @@ var __webpack_exports__ = {};
136039
136039
  }
136040
136040
  });
136041
136041
  const allPluginsButBrowserRunners = baseConfig.plugins?.filter((plugin)=>plugin?.constructor.name !== 'plugin-browsers');
136042
- const userExtensionConfig = await (0, config_loader.Tu)(manifestDir);
136042
+ const userExtensionConfig = await (0, config_loader.Tu)(packageJsonDir);
136043
136043
  const userConfig = userExtensionConfig({
136044
136044
  ...baseConfig,
136045
136045
  plugins: allPluginsButBrowserRunners
@@ -136306,8 +136306,8 @@ var __webpack_exports__ = {};
136306
136306
  async function extensionPreview(pathOrRemoteUrl, previewOptions) {
136307
136307
  const projectStructure = await getProjectStructure(pathOrRemoteUrl);
136308
136308
  const debug = 'true' === process.env.EXTENSION_AUTHOR_MODE;
136309
- if (projectStructure.packageJsonPath) assertNoManagedDependencyConflicts(projectStructure.packageJsonPath, external_path_.dirname(projectStructure.manifestPath));
136310
136309
  const { manifestDir, packageJsonDir } = (0, webpack_lib_paths.fu)(projectStructure);
136310
+ if (projectStructure.packageJsonPath) assertNoManagedDependencyConflicts(projectStructure.packageJsonPath, packageJsonDir);
136311
136311
  const browser = (0, webpack_lib_paths.YN)(previewOptions.browser || 'chrome', previewOptions.chromiumBinary, previewOptions.geckoBinary || previewOptions.firefoxBinary);
136312
136312
  const outputPath = (0, webpack_lib_paths.u2)(projectStructure, browser, previewOptions.outputPath);
136313
136313
  const distPath = (0, webpack_lib_paths.q4)(packageJsonDir, browser);
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "webpack/webpack-lib/build-dependencies.json"
25
25
  ],
26
26
  "name": "extension-develop",
27
- "version": "3.8.14",
27
+ "version": "3.8.16",
28
28
  "description": "Develop, build, preview, and package Extension.js projects.",
29
29
  "author": {
30
30
  "name": "Cezar Augusto",