Skip to content

Commit bdf5698

Browse files
author
Angular Builds
committed
2a3fc6846 feat(@angular-devkit/build-angular): add preload hints based on transitive initial files
1 parent 2b7f39c commit bdf5698

11 files changed

+46
-77
lines changed

package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "16.2.0-next.0+sha-c0fa3cb",
3+
"version": "16.2.0-next.0+sha-2a3fc68",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.2.1",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c0fa3cb6d",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#c0fa3cb6d",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#c0fa3cb6d",
13-
"@babel/core": "7.22.5",
14-
"@babel/generator": "7.22.5",
15-
"@babel/helper-annotate-as-pure": "7.22.5",
16-
"@babel/helper-split-export-declaration": "7.22.5",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#2a3fc6846",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#2a3fc6846",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#2a3fc6846",
13+
"@babel/core": "7.22.1",
14+
"@babel/generator": "7.22.3",
15+
"@babel/helper-annotate-as-pure": "7.18.6",
16+
"@babel/helper-split-export-declaration": "7.18.6",
1717
"@babel/plugin-proposal-async-generator-functions": "7.20.7",
18-
"@babel/plugin-transform-async-to-generator": "7.22.5",
19-
"@babel/plugin-transform-runtime": "7.22.5",
20-
"@babel/preset-env": "7.22.5",
21-
"@babel/runtime": "7.22.5",
22-
"@babel/template": "7.22.5",
18+
"@babel/plugin-transform-async-to-generator": "7.20.7",
19+
"@babel/plugin-transform-runtime": "7.22.4",
20+
"@babel/preset-env": "7.22.4",
21+
"@babel/runtime": "7.22.3",
22+
"@babel/template": "7.21.9",
2323
"@discoveryjs/json-ext": "0.5.7",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#c0fa3cb6d",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#2a3fc6846",
2525
"@vitejs/plugin-basic-ssl": "1.0.1",
2626
"ansi-colors": "4.1.3",
2727
"autoprefixer": "10.4.14",
@@ -55,7 +55,7 @@
5555
"postcss-loader": "7.3.2",
5656
"resolve-url-loader": "5.0.0",
5757
"rxjs": "7.8.1",
58-
"sass": "1.63.2",
58+
"sass": "1.62.1",
5959
"sass-loader": "13.3.1",
6060
"semver": "7.5.1",
6161
"source-map-loader": "4.0.1",

src/babel/webpack-loader.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { ApplicationPresetOptions } from './presets/application';
99
interface AngularCustomOptions extends Omit<ApplicationPresetOptions, 'instrumentCode'> {
1010
instrumentCode?: {
1111
/** node_modules and test files are always excluded. */
12-
excludedPaths: Set<string>;
12+
excludedPaths: Set<String>;
1313
includedBasePath: string;
1414
};
1515
}

src/babel/webpack-loader.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/builders/dev-server/load-proxy-config.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
export declare function loadProxyConfiguration(root: string, proxyConfig: string | undefined, normalize?: boolean): Promise<any>;
8+
export declare function loadProxyConfiguration(root: string, proxyConfig: string | undefined): Promise<any>;
9+
/**
10+
* Converts glob patterns to regular expressions to support Vite's proxy option.
11+
* @param proxy A proxy configuration object.
12+
*/
13+
export declare function normalizeProxyConfiguration(proxy: Record<string, unknown>): void;

src/builders/dev-server/load-proxy-config.js

+13-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/builders/dev-server/vite-server.js

+5-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/normalize-asset-patterns.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
import { BaseException } from '@angular-devkit/core';
99
import { AssetPattern, AssetPatternClass } from '../builders/browser/schema';
1010
export declare class MissingAssetSourceRootException extends BaseException {
11-
constructor(path: string);
11+
constructor(path: String);
1212
}
1313
export declare function normalizeAssetPatterns(assetPatterns: AssetPattern[], workspaceRoot: string, projectRoot: string, projectSourceRoot: string | undefined): AssetPatternClass[];

src/utils/normalize-asset-patterns.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/normalize-file-replacements.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { BaseException } from '@angular-devkit/core';
99
import { FileReplacement } from '../builders/browser/schema';
1010
export declare class MissingFileReplacementException extends BaseException {
11-
constructor(path: string);
11+
constructor(path: String);
1212
}
1313
export interface NormalizedFileReplacement {
1414
replace: string;

0 commit comments

Comments
 (0)