Skip to content

Commit 11b8300

Browse files
author
Angular Builds
committed
3eebdb5 build: update ossf/scorecard-action action to v2.4.0
1 parent 5f23705 commit 11b8300

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "18.2.0-next.2+sha-2901659",
3+
"version": "18.2.0-next.2+sha-3eebdb5",
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#2901659",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#2901659",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#2901659",
13-
"@angular/build": "github:angular/angular-build-builds#2901659",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#3eebdb5",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#3eebdb5",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#3eebdb5",
13+
"@angular/build": "github:angular/angular-build-builds#3eebdb5",
1414
"@babel/core": "7.24.9",
1515
"@babel/generator": "7.24.10",
1616
"@babel/helper-annotate-as-pure": "7.24.7",
@@ -21,7 +21,7 @@
2121
"@babel/preset-env": "7.24.8",
2222
"@babel/runtime": "7.24.8",
2323
"@discoveryjs/json-ext": "0.6.0",
24-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#2901659",
24+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#3eebdb5",
2525
"@vitejs/plugin-basic-ssl": "1.1.0",
2626
"ansi-colors": "4.1.3",
2727
"autoprefixer": "10.4.19",

src/builders/extract-i18n/builder.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ async function execute(options, context, transforms) {
5050
context.logger.error(`The 'extract-i18n' builder requires a target to be specified.`);
5151
return { success: false };
5252
}
53+
const { projectType } = (await context.getProjectMetadata(projectName));
54+
if (projectType !== 'application') {
55+
context.logger.error(`Tried to extract from ${projectName} with 'projectType' ${projectType}, which is not supported.` +
56+
` The 'extract-i18n' builder can only extract from applications.`);
57+
return { success: false };
58+
}
5359
// Check Angular version.
5460
(0, private_1.assertCompatibleAngularVersion)(context.workspaceRoot);
5561
// Load the Angular localize package.

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 = '18.2.0-next.2+sha-2901659';
13+
const VERSION = '18.2.0-next.2+sha-3eebdb5';
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 Jul 29 2024 07:00:01 GMT+0000 (Coordinated Universal Time)
1+
Mon Jul 29 2024 07:10:54 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)