@nx/webpack 20.0.8 → 20.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/webpack",
3
- "version": "20.0.8",
3
+ "version": "20.0.9",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "autoprefixer": "^10.4.9",
39
39
  "babel-loader": "^9.1.2",
40
40
  "browserslist": "^4.21.4",
41
- "chalk": "^4.1.0",
41
+ "picocolors": "^1.1.0",
42
42
  "copy-webpack-plugin": "^10.2.4",
43
43
  "css-loader": "^6.4.0",
44
44
  "css-minimizer-webpack-plugin": "^5.0.0",
@@ -69,8 +69,8 @@
69
69
  "webpack-dev-server": "^5.0.4",
70
70
  "webpack-node-externals": "^3.0.0",
71
71
  "webpack-subresource-integrity": "^5.1.0",
72
- "@nx/devkit": "20.0.8",
73
- "@nx/js": "20.0.8"
72
+ "@nx/devkit": "20.0.9",
73
+ "@nx/js": "20.0.9"
74
74
  },
75
75
  "publishConfig": {
76
76
  "access": "public"
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ssrDevServerExecutor = ssrDevServerExecutor;
4
4
  const devkit_1 = require("@nx/devkit");
5
- const chalk = require("chalk");
5
+ const pc = require("picocolors");
6
6
  const async_iterable_1 = require("@nx/devkit/src/utils/async-iterable");
7
7
  const wait_until_server_is_listening_1 = require("./lib/wait-until-server-is-listening");
8
8
  async function* ssrDevServerExecutor(options, context) {
@@ -26,7 +26,7 @@ async function* ssrDevServerExecutor(options, context) {
26
26
  }
27
27
  if (nodeStarted && browserBuilt) {
28
28
  await (0, wait_until_server_is_listening_1.waitUntilServerIsListening)(options.port);
29
- console.log(`[ ${chalk.green('ready')} ] on http://localhost:${options.port}`);
29
+ console.log(`[ ${pc.green('ready')} ] on http://localhost:${options.port}`);
30
30
  yield {
31
31
  ...output,
32
32
  baseUrl: `http://localhost:${options.port}`,
@@ -5,7 +5,7 @@ exports.getModuleFederationConfig = getModuleFederationConfig;
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const internal_1 = require("@nx/js/src/internal");
7
7
  const find_matching_projects_1 = require("nx/src/utils/find-matching-projects");
8
- const chalk = require("chalk");
8
+ const pc = require("picocolors");
9
9
  const path_1 = require("path");
10
10
  const fs_1 = require("fs");
11
11
  function extractRemoteProjectsFromConfig(config, pathToManifestFile) {
@@ -50,7 +50,7 @@ function getRemotes(devRemotes, skipRemotes, config, context, pathToManifestFile
50
50
  }
51
51
  const knownRemotes = Array.from(collectedRemotes).filter((r) => !remotesToSkip.has(r));
52
52
  const knownDynamicRemotes = dynamicRemotes.filter((r) => !remotesToSkip.has(r) && context.projectGraph.nodes[r]);
53
- devkit_1.logger.info(`NX Starting module federation dev-server for ${chalk.bold(context.projectName)} with ${[...knownRemotes, ...knownDynamicRemotes].length} remotes`);
53
+ devkit_1.logger.info(`NX Starting module federation dev-server for ${pc.bold(context.projectName)} with ${[...knownRemotes, ...knownDynamicRemotes].length} remotes`);
54
54
  const devServeApps = new Set(!devRemotes
55
55
  ? []
56
56
  : Array.isArray(devRemotes)