@nx/angular 20.6.2 → 20.6.3

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
@@ -15,7 +15,7 @@
15
15
  "@typescript-eslint/",
16
16
  "picocolors",
17
17
  "ignore",
18
- "minimatch",
18
+ "picomatch",
19
19
  "rxjs-for-await",
20
20
  "webpack-merge",
21
21
  "ts-node",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "20.6.2",
3
+ "version": "20.6.3",
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": {
@@ -67,19 +67,19 @@
67
67
  "@typescript-eslint/type-utils": "^8.0.0",
68
68
  "enquirer": "~2.3.6",
69
69
  "picocolors": "^1.1.0",
70
+ "picomatch": "4.0.2",
70
71
  "magic-string": "~0.30.2",
71
- "minimatch": "9.0.3",
72
72
  "semver": "^7.5.3",
73
73
  "tslib": "^2.3.0",
74
74
  "webpack-merge": "^5.8.0",
75
- "@nx/devkit": "20.6.2",
76
- "@nx/js": "20.6.2",
77
- "@nx/eslint": "20.6.2",
78
- "@nx/webpack": "20.6.2",
79
- "@nx/rspack": "20.6.2",
80
- "@nx/module-federation": "20.6.2",
81
- "@nx/web": "20.6.2",
82
- "@nx/workspace": "20.6.2",
75
+ "@nx/devkit": "20.6.3",
76
+ "@nx/js": "20.6.3",
77
+ "@nx/eslint": "20.6.3",
78
+ "@nx/webpack": "20.6.3",
79
+ "@nx/rspack": "20.6.3",
80
+ "@nx/module-federation": "20.6.3",
81
+ "@nx/web": "20.6.3",
82
+ "@nx/workspace": "20.6.3",
83
83
  "piscina": "^4.4.0"
84
84
  },
85
85
  "peerDependencies": {
@@ -7,7 +7,7 @@ const component_story_1 = tslib_1.__importDefault(require("../component-story/co
7
7
  const component_info_1 = require("../utils/storybook-ast/component-info");
8
8
  const entry_point_1 = require("../utils/storybook-ast/entry-point");
9
9
  const module_info_1 = require("../utils/storybook-ast/module-info");
10
- const minimatch_1 = require("minimatch");
10
+ const picomatch = require("picomatch");
11
11
  const versions_1 = require("../../utils/versions");
12
12
  async function angularStoriesGenerator(tree, options) {
13
13
  const entryPoints = (0, entry_point_1.getProjectEntryPoints)(tree, options.name);
@@ -17,7 +17,7 @@ async function angularStoriesGenerator(tree, options) {
17
17
  componentsInfo.push(...(0, component_info_1.getComponentsInfo)(tree, entryPoint, moduleFilePaths, options.name), ...(0, component_info_1.getStandaloneComponentsInfo)(tree, entryPoint));
18
18
  }
19
19
  const componentInfos = componentsInfo.filter((f) => !options.ignorePaths?.some((pattern) => {
20
- const shouldIgnorePath = (0, minimatch_1.minimatch)((0, devkit_1.joinPathFragments)(f.moduleFolderPath, f.path, `${f.componentFileName}.ts`), pattern);
20
+ const shouldIgnorePath = picomatch(pattern)((0, devkit_1.joinPathFragments)(f.moduleFolderPath, f.path, `${f.componentFileName}.ts`));
21
21
  return shouldIgnorePath;
22
22
  }));
23
23
  for (const info of componentInfos) {
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const devkit_1 = require("@nx/devkit");
5
- const minimatch_1 = require("minimatch");
5
+ const picomatch = require("picomatch");
6
6
  const tsquery_1 = require("@phenomnomnominal/tsquery");
7
7
  async function default_1(tree) {
8
8
  (0, devkit_1.visitNotIgnoredFiles)(tree, '', (path) => {
9
9
  const webpackConfigGlob = '**/webpack*.config*.{js,ts,mjs,cjs}';
10
- const result = (0, minimatch_1.minimatch)(path, webpackConfigGlob);
10
+ const result = picomatch(webpackConfigGlob)(path);
11
11
  if (!result) {
12
12
  return;
13
13
  }