Skip to content

Commit 3735297

Browse files
author
Angular Builds
committed
9b883fe build: migrate @angular/build to ts_project
1 parent ac39f85 commit 3735297

File tree

7 files changed

+59
-6
lines changed

7 files changed

+59
-6
lines changed

index.d.ts

Lines changed: 8 additions & 0 deletions
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

Lines changed: 24 additions & 0 deletions
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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/build",
3-
"version": "19.1.0-next.2+sha-7348e8c",
3+
"version": "19.1.0-next.2+sha-9b883fe",
44
"description": "Official build system for Angular",
55
"keywords": [
66
"Angular CLI",
@@ -23,7 +23,7 @@
2323
"builders": "builders.json",
2424
"dependencies": {
2525
"@ampproject/remapping": "2.3.0",
26-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#7348e8c",
26+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#9b883fe",
2727
"@babel/core": "7.26.0",
2828
"@babel/helper-annotate-as-pure": "7.25.9",
2929
"@babel/helper-split-export-declaration": "7.24.7",
@@ -57,7 +57,7 @@
5757
"@angular/localize": "^19.0.0 || ^19.1.0-next.0",
5858
"@angular/platform-server": "^19.0.0 || ^19.1.0-next.0",
5959
"@angular/service-worker": "^19.0.0 || ^19.1.0-next.0",
60-
"@angular/ssr": "github:angular/angular-ssr-builds#7348e8c",
60+
"@angular/ssr": "github:angular/angular-ssr-builds#9b883fe",
6161
"less": "^4.2.0",
6262
"postcss": "^8.4.0",
6363
"tailwindcss": "^2.0.0 || ^3.0.0",
@@ -73,7 +73,7 @@
7373
"@angular/service-worker": {
7474
"optional": true
7575
},
76-
"@angular/ssr": "github:angular/angular-ssr-builds#7348e8c",
76+
"@angular/ssr": "github:angular/angular-ssr-builds#9b883fe",
7777
"less": {
7878
"optional": true
7979
},

private/BUILD.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
load("//tools:interop.bzl", "ts_project")
2+
3+
package(default_visibility = ["//visibility:public"])
4+
5+
ts_project(
6+
name = "private",
7+
srcs = ["index.ts"],
8+
module_name = "@angular/build/private",
9+
deps = [
10+
"//packages/angular/build:build_rjs",
11+
],
12+
)

private/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
9+
export * from '../src/private';

src/utils/normalize-cache.js

Lines changed: 1 addition & 1 deletion
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-7348e8c';
13+
const VERSION = '19.1.0-next.2+sha-9b883fe';
1414
function hasCacheMetadata(value) {
1515
return (!!value &&
1616
typeof value === 'object' &&

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Mon Dec 23 2024 18:41:16 GMT+0000 (Coordinated Universal Time)
1+
Thu Dec 26 2024 16:02:25 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)