Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/angular_devkit/build_angular/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ ts_project(
":node_modules/source-map-loader",
":node_modules/source-map-support",
":node_modules/terser",
":node_modules/tinyglobby",
":node_modules/tree-kill",
":node_modules/webpack",
":node_modules/webpack-dev-middleware",
Expand All @@ -198,7 +199,6 @@ ts_project(
"//:node_modules/@types/watchpack",
"//:node_modules/esbuild",
"//:node_modules/esbuild-wasm",
"//:node_modules/fast-glob",
"//:node_modules/karma",
"//:node_modules/karma-source-map-support",
"//:node_modules/semver",
Expand All @@ -224,9 +224,9 @@ ts_project(
deps = [
":build_angular",
":build_angular_test_utils",
":node_modules/tinyglobby",
":node_modules/webpack",
"//:node_modules/@types/node",
"//:node_modules/fast-glob",
"//:node_modules/prettier",
"//:node_modules/typescript",
"//packages/angular_devkit/architect/testing",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"copy-webpack-plugin": "13.0.1",
"css-loader": "7.1.2",
"esbuild-wasm": "0.25.9",
"fast-glob": "3.3.3",
"http-proxy-middleware": "3.0.5",
"istanbul-lib-instrument": "6.0.3",
"jsonc-parser": "3.3.1",
Expand All @@ -53,6 +52,7 @@
"source-map-loader": "5.0.0",
"source-map-support": "0.5.21",
"terser": "5.44.0",
"tinyglobby": "0.2.15",
"tree-kill": "1.2.2",
"tslib": "2.8.1",
"webpack": "5.101.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

import type { ObjectPattern } from 'copy-webpack-plugin';
import glob from 'fast-glob';
import { createHash } from 'node:crypto';
import * as path from 'node:path';
import { globSync } from 'tinyglobby';
import type { Configuration, WebpackOptionsNormalized } from 'webpack';
import {
AssetPatternClass,
Expand Down Expand Up @@ -126,7 +126,7 @@ export function getInstrumentationExcludedPaths(

for (const excludeGlob of excludedPaths) {
const excludePath = excludeGlob[0] === '/' ? excludeGlob.slice(1) : excludeGlob;
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)));
}

return excluded;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* found in the LICENSE file at https://angular.dev/license
*/

import glob from 'fast-glob';
import fs from 'node:fs';
import path from 'node:path';
import { glob } from 'tinyglobby';

export async function copyAssets(
entries: {
Expand Down
4 changes: 2 additions & 2 deletions packages/angular_devkit/build_angular/src/utils/test-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.dev/license
*/

import fastGlob, { Options as GlobOptions } from 'fast-glob';
import { GlobOptions, glob as globFn } from 'tinyglobby';

/**
* Finds all test files in the project.
Expand All @@ -21,7 +21,7 @@ export async function findTestFiles(
include: string[],
exclude: string[],
workspaceRoot: string,
glob: typeof fastGlob = fastGlob,
glob: typeof globFn = globFn,
): Promise<Set<string>> {
const globOptions: GlobOptions = {
cwd: workspaceRoot,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

// eslint-disable-next-line import/no-extraneous-dependencies
import realGlob from 'fast-glob';
import { promises as fs } from 'node:fs';
import * as path from 'node:path';
import { glob as realGlob } from 'tinyglobby';
import { findTestFiles } from './test-files';

describe('test-files', () => {
Expand Down
21 changes: 15 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.