@schematics/angular 21.2.10 → 21.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.11",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"schematics": "./collection.json",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@angular-devkit/core": "21.2.
|
|
26
|
-
"@angular-devkit/schematics": "21.2.
|
|
25
|
+
"@angular-devkit/core": "21.2.11",
|
|
26
|
+
"@angular-devkit/schematics": "21.2.11",
|
|
27
27
|
"jsonc-parser": "3.3.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -16,8 +16,8 @@ exports.latestVersions = {
|
|
|
16
16
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
17
17
|
Angular: '^21.2.0',
|
|
18
18
|
NgPackagr: '^21.2.0',
|
|
19
|
-
DevkitBuildAngular: '^21.2.
|
|
20
|
-
AngularBuild: '^21.2.
|
|
21
|
-
AngularSSR: '^21.2.
|
|
19
|
+
DevkitBuildAngular: '^21.2.11',
|
|
20
|
+
AngularBuild: '^21.2.11',
|
|
21
|
+
AngularSSR: '^21.2.11',
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=latest-versions.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
9
|
-
export default function (): Rule;
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.default = default_1;
|
|
11
|
-
const dependency_1 = require("../../utility/dependency");
|
|
12
|
-
const latest_versions_1 = require("../../utility/latest-versions");
|
|
13
|
-
const workspace_1 = require("../../utility/workspace");
|
|
14
|
-
const workspace_models_1 = require("../../utility/workspace-models");
|
|
15
|
-
function default_1() {
|
|
16
|
-
return async (tree) => {
|
|
17
|
-
const workspace = await (0, workspace_1.getWorkspace)(tree);
|
|
18
|
-
if (needsSourceMapSupport(workspace)) {
|
|
19
|
-
return (0, dependency_1.addDependency)('source-map-support', latest_versions_1.latestVersions['source-map-support'], {
|
|
20
|
-
type: dependency_1.DependencyType.Dev,
|
|
21
|
-
existing: dependency_1.ExistingBehavior.Skip,
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function needsSourceMapSupport(workspace) {
|
|
27
|
-
for (const [, project] of workspace.projects) {
|
|
28
|
-
for (const [, target] of project.targets) {
|
|
29
|
-
if (target.builder === workspace_models_1.Builders.Karma || target.builder === workspace_models_1.Builders.BuildKarma) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
if (target.builder === workspace_models_1.Builders.BuildUnitTest) {
|
|
33
|
-
for (const [, options] of (0, workspace_1.allTargetOptions)(target)) {
|
|
34
|
-
if (options['runner'] === 'karma') {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|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