@nx/angular 20.4.0-canary.20250109-0edd110 → 20.4.0-canary.20250111-bbbfd9f

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/ng-package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "@schematics",
14
14
  "@phenomnomnominal/tsquery",
15
15
  "@typescript-eslint/",
16
- "chalk",
16
+ "picocolors",
17
17
  "ignore",
18
18
  "minimatch",
19
19
  "rxjs-for-await",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "20.4.0-canary.20250109-0edd110",
3
+ "version": "20.4.0-canary.20250111-bbbfd9f",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -65,19 +65,19 @@
65
65
  "dependencies": {
66
66
  "@phenomnomnominal/tsquery": "~5.0.1",
67
67
  "@typescript-eslint/type-utils": "^8.0.0",
68
- "chalk": "^4.1.0",
68
+ "picocolors": "^1.1.0",
69
69
  "magic-string": "~0.30.2",
70
70
  "minimatch": "9.0.3",
71
71
  "semver": "^7.5.3",
72
72
  "tslib": "^2.3.0",
73
73
  "webpack-merge": "^5.8.0",
74
- "@nx/devkit": "20.4.0-canary.20250109-0edd110",
75
- "@nx/js": "20.4.0-canary.20250109-0edd110",
76
- "@nx/eslint": "20.4.0-canary.20250109-0edd110",
77
- "@nx/webpack": "20.4.0-canary.20250109-0edd110",
78
- "@nx/module-federation": "20.4.0-canary.20250109-0edd110",
79
- "@nx/web": "20.4.0-canary.20250109-0edd110",
80
- "@nx/workspace": "20.4.0-canary.20250109-0edd110",
74
+ "@nx/devkit": "20.4.0-canary.20250111-bbbfd9f",
75
+ "@nx/js": "20.4.0-canary.20250111-bbbfd9f",
76
+ "@nx/eslint": "20.4.0-canary.20250111-bbbfd9f",
77
+ "@nx/webpack": "20.4.0-canary.20250111-bbbfd9f",
78
+ "@nx/module-federation": "20.4.0-canary.20250111-bbbfd9f",
79
+ "@nx/web": "20.4.0-canary.20250111-bbbfd9f",
80
+ "@nx/workspace": "20.4.0-canary.20250111-bbbfd9f",
81
81
  "piscina": "^4.4.0"
82
82
  },
83
83
  "peerDependencies": {
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.arrayToString = arrayToString;
4
4
  exports.getProjectValidationResultMessage = getProjectValidationResultMessage;
5
- const chalk = require("chalk");
5
+ const tslib_1 = require("tslib");
6
+ const pc = tslib_1.__importStar(require("picocolors"));
6
7
  function arrayToString(array) {
7
8
  if (array.length === 0) {
8
9
  return '';
@@ -15,7 +16,7 @@ function arrayToString(array) {
15
16
  return `${rest.map(quote).join(', ')} and ${quote(last)}`;
16
17
  }
17
18
  function getProjectValidationResultMessage(validationResult) {
18
- return `${chalk.bold('Validation results')}:
19
+ return `${pc.bold('Validation results')}:
19
20
 
20
21
  ${validationResult
21
22
  .map((error) => getValidationErrorText(error))
@@ -23,12 +24,12 @@ function getProjectValidationResultMessage(validationResult) {
23
24
  }
24
25
  function getValidationErrorText({ message, messageGroup, hint, }) {
25
26
  let lines = message
26
- ? [`- ${message}`, ...(hint ? [chalk.dim(chalk.italic(` ${hint}`))] : [])]
27
+ ? [`- ${message}`, ...(hint ? [pc.dim(pc.italic(` ${hint}`))] : [])]
27
28
  : [
28
29
  `- ${messageGroup.title}:`,
29
30
  ' - Errors:',
30
31
  ...messageGroup.messages.map((message) => ` - ${message}`),
31
- ...(hint ? [chalk.dim(chalk.italic(` - ${hint}`))] : []),
32
+ ...(hint ? [pc.dim(pc.italic(` - ${hint}`))] : []),
32
33
  ];
33
34
  return lines.join('\n ');
34
35
  }