Skip to content

Commit 35d1444

Browse files
author
Angular Builds
committed
4053310 Revert "test: update chunk file name to reflect new name"
1 parent 23c3db0 commit 35d1444

File tree

7 files changed

+50
-12
lines changed

7 files changed

+50
-12
lines changed

index.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
export * from './src/index';

index.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"use strict";
2+
/**
3+
* @license
4+
* Copyright Google LLC All Rights Reserved.
5+
*
6+
* Use of this source code is governed by an MIT-style license that can be
7+
* found in the LICENSE file at https://angular.dev/license
8+
*/
9+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10+
if (k2 === undefined) k2 = k;
11+
var desc = Object.getOwnPropertyDescriptor(m, k);
12+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
13+
desc = { enumerable: true, get: function() { return m[k]; } };
14+
}
15+
Object.defineProperty(o, k2, desc);
16+
}) : (function(o, m, k, k2) {
17+
if (k2 === undefined) k2 = k;
18+
o[k2] = m[k];
19+
}));
20+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
21+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22+
};
23+
Object.defineProperty(exports, "__esModule", { value: true });
24+
__exportStar(require("./src/index"), exports);

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "19.1.0-next.2+sha-3feecdd",
3+
"version": "19.1.0-next.2+sha-4053310",
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.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3feecdd",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#3feecdd",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#3feecdd",
13-
"@angular/build": "github:angular/angular-build-builds#3feecdd",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#4053310",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#4053310",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#4053310",
13+
"@angular/build": "github:angular/angular-build-builds#4053310",
1414
"@babel/core": "7.26.0",
1515
"@babel/generator": "7.26.3",
1616
"@babel/helper-annotate-as-pure": "7.25.9",
@@ -21,7 +21,7 @@
2121
"@babel/preset-env": "7.26.0",
2222
"@babel/runtime": "7.26.0",
2323
"@discoveryjs/json-ext": "0.6.3",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#3feecdd",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#4053310",
2525
"@vitejs/plugin-basic-ssl": "1.2.0",
2626
"ansi-colors": "4.1.3",
2727
"autoprefixer": "10.4.20",
@@ -70,7 +70,7 @@
7070
"@angular/localize": "^19.0.0 || ^19.1.0-next.0",
7171
"@angular/platform-server": "^19.0.0 || ^19.1.0-next.0",
7272
"@angular/service-worker": "^19.0.0 || ^19.1.0-next.0",
73-
"@angular/ssr": "github:angular/angular-ssr-builds#3feecdd",
73+
"@angular/ssr": "github:angular/angular-ssr-builds#4053310",
7474
"@web/test-runner": "^0.19.0",
7575
"browser-sync": "^3.0.2",
7676
"jest": "^29.5.0",
@@ -91,7 +91,7 @@
9191
"@angular/service-worker": {
9292
"optional": true
9393
},
94-
"@angular/ssr": "github:angular/angular-ssr-builds#3feecdd",
94+
"@angular/ssr": "github:angular/angular-ssr-builds#4053310",
9595
"@web/test-runner": {
9696
"optional": true
9797
},

src/tools/webpack/plugins/postcss-cli-resources.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ function default_1(options) {
109109
reject(err);
110110
return;
111111
}
112-
let outputPath = (0, loader_utils_1.interpolateName)({ resourcePath: result }, filename(result), {
112+
let outputPath = (0, loader_utils_1.interpolateName)(
113+
// TODO: Revisit. Previously due to lack of type safety, this object
114+
// was fine, but in practice it doesn't match the type of the loader context.
115+
{ resourcePath: result }, filename(result), {
113116
content,
114117
context: loader.context || loader.rootContext,
115118
}).replace(/\\|\//g, '-');

src/tools/webpack/plugins/scripts-webpack-plugin.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ class ScriptsWebpackPlugin {
180180
const assetName = this.options.filename;
181181
const asset = compilation.getAsset(assetName);
182182
if (asset) {
183-
const interpolatedFilename = (0, loader_utils_1.interpolateName)({ resourcePath: 'scripts.js' }, assetName, { content: asset.source.source() });
183+
const interpolatedFilename = (0, loader_utils_1.interpolateName)(
184+
// TODO: Revisit. Previously due to lack of type safety, this object
185+
// was fine, but in practice it doesn't match the type of the loader context.
186+
{ resourcePath: 'scripts.js' }, assetName, { content: asset.source.source() });
184187
if (assetName !== interpolatedFilename) {
185188
compilation.renameAsset(assetName, interpolatedFilename);
186189
}

src/utils/normalize-cache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.normalizeCacheOptions = normalizeCacheOptions;
1111
const node_path_1 = require("node:path");
1212
/** Version placeholder is replaced during the build process with actual package version */
13-
const VERSION = '19.1.0-next.2+sha-3feecdd';
13+
const VERSION = '19.1.0-next.2+sha-4053310';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thu Dec 19 2024 16:43:50 GMT+0000 (Coordinated Universal Time)
1+
Thu Dec 19 2024 17:27:04 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)