We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722c44f commit d65250bCopy full SHA for d65250b
7 files changed
packages/angular_devkit/build_angular/BUILD.bazel
@@ -198,10 +198,10 @@ ts_project(
198
"//:node_modules/@types/watchpack",
199
"//:node_modules/esbuild",
200
"//:node_modules/esbuild-wasm",
201
- "//:node_modules/fast-glob",
202
"//:node_modules/karma",
203
"//:node_modules/karma-source-map-support",
204
"//:node_modules/semver",
+ "//:node_modules/tinyglobby",
205
"//:node_modules/tslib",
206
"//:node_modules/typescript",
207
],
@@ -226,8 +226,8 @@ ts_project(
226
":build_angular_test_utils",
227
":node_modules/webpack",
228
"//:node_modules/@types/node",
229
230
"//:node_modules/prettier",
231
232
"//packages/angular_devkit/architect/testing",
233
"//packages/angular_devkit/core",
packages/angular_devkit/build_angular/package.json
@@ -29,7 +29,6 @@
29
"copy-webpack-plugin": "13.0.1",
30
"css-loader": "7.1.2",
31
"esbuild-wasm": "0.25.9",
32
- "fast-glob": "3.3.3",
33
"http-proxy-middleware": "3.0.5",
34
"istanbul-lib-instrument": "6.0.3",
35
"jsonc-parser": "3.3.1",
@@ -53,6 +52,7 @@
53
52
"source-map-loader": "5.0.0",
54
"source-map-support": "0.5.21",
55
"terser": "5.44.0",
+ "tinyglobby": "0.2.15",
56
"tree-kill": "1.2.2",
57
"tslib": "2.8.1",
58
"webpack": "5.101.3",
packages/angular_devkit/build_angular/src/tools/webpack/utils/helpers.ts
@@ -7,7 +7,7 @@
7
*/
8
9
import type { ObjectPattern } from 'copy-webpack-plugin';
10
-import glob from 'fast-glob';
+import { globSync } from 'tinyglobby';
11
import { createHash } from 'node:crypto';
12
import * as path from 'node:path';
13
import type { Configuration, WebpackOptionsNormalized } from 'webpack';
@@ -126,7 +126,7 @@ export function getInstrumentationExcludedPaths(
126
127
for (const excludeGlob of excludedPaths) {
128
const excludePath = excludeGlob[0] === '/' ? excludeGlob.slice(1) : excludeGlob;
129
- glob.sync(excludePath, { cwd: root }).forEach((p) => excluded.add(path.join(root, p)));
+ globSync(excludePath, { cwd: root }).forEach((p) => excluded.add(path.join(root, p)));
130
}
131
132
return excluded;
packages/angular_devkit/build_angular/src/utils/copy-assets.ts
@@ -6,7 +6,7 @@
6
* found in the LICENSE file at https://angular.dev/license
+import { glob } from 'tinyglobby';
import fs from 'node:fs';
import path from 'node:path';
packages/angular_devkit/build_angular/src/utils/test-files.ts
-import fastGlob, { Options as GlobOptions } from 'fast-glob';
+import { glob as globFn, GlobOptions } from 'tinyglobby';
/**
* Finds all test files in the project.
@@ -21,7 +21,7 @@ export async function findTestFiles(
21
include: string[],
22
exclude: string[],
23
workspaceRoot: string,
24
- glob: typeof fastGlob = fastGlob,
+ glob: typeof globFn = globFn,
25
): Promise<Set<string>> {
26
const globOptions: GlobOptions = {
27
cwd: workspaceRoot,
packages/angular_devkit/build_angular/src/utils/test-files_spec.ts
// eslint-disable-next-line import/no-extraneous-dependencies
-import realGlob from 'fast-glob';
+import { glob as realGlob } from 'tinyglobby';
import { promises as fs } from 'node:fs';
import { findTestFiles } from './test-files';
pnpm-lock.yaml
0 commit comments