@angular-devkit/architect 0.1901.0-next.2 → 0.1901.0-rc.0
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/LICENSE +1 -1
- package/builders/false.d.ts +1 -1
- package/builders/true.d.ts +1 -1
- package/node/node-modules-architect-host.js +5 -2
- package/package.json +2 -2
- package/tsconfig-build.json +0 -6
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2010-
|
|
3
|
+
Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/builders/false.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
declare const _default: import("../src/internal").Builder<import("../../core
|
|
8
|
+
declare const _default: import("../src/internal").Builder<import("../../core").JsonObject>;
|
|
9
9
|
export default _default;
|
package/builders/true.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
declare const _default: import("../src/internal").Builder<import("../../core
|
|
8
|
+
declare const _default: import("../src/internal").Builder<import("../../core").JsonObject>;
|
|
9
9
|
export default _default;
|
|
@@ -67,6 +67,9 @@ function findProjectTarget(workspace, project, target) {
|
|
|
67
67
|
if (!targetDefinition) {
|
|
68
68
|
throw new Error('Project target does not exist.');
|
|
69
69
|
}
|
|
70
|
+
if (!targetDefinition.builder) {
|
|
71
|
+
throw new Error(`A builder is not set for target '${target}' in project '${project}'.`);
|
|
72
|
+
}
|
|
70
73
|
return targetDefinition;
|
|
71
74
|
}
|
|
72
75
|
class WorkspaceNodeModulesArchitectHost {
|
|
@@ -80,8 +83,8 @@ class WorkspaceNodeModulesArchitectHost {
|
|
|
80
83
|
else {
|
|
81
84
|
this.workspaceHost = {
|
|
82
85
|
async getBuilderName(project, target) {
|
|
83
|
-
const
|
|
84
|
-
return
|
|
86
|
+
const { builder } = findProjectTarget(workspaceOrHost, project, target);
|
|
87
|
+
return builder;
|
|
85
88
|
},
|
|
86
89
|
async getOptions(project, target, configuration) {
|
|
87
90
|
const targetDefinition = findProjectTarget(workspaceOrHost, project, target);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/architect",
|
|
3
|
-
"version": "0.1901.0-
|
|
3
|
+
"version": "0.1901.0-rc.0",
|
|
4
4
|
"description": "Angular Build Facade",
|
|
5
5
|
"experimental": true,
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"typings": "src/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@angular-devkit/core": "19.1.0-
|
|
9
|
+
"@angular-devkit/core": "19.1.0-rc.0",
|
|
10
10
|
"rxjs": "7.8.1"
|
|
11
11
|
},
|
|
12
12
|
"builders": "./builders/builders.json",
|