@angular-devkit/core 15.0.0-next.1 → 15.0.0-next.2
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
|
@@ -141,8 +141,7 @@ function parseProject(projectName, projectNode, context) {
|
|
|
141
141
|
}
|
|
142
142
|
const projectNodeValue = (0, jsonc_parser_1.getNodeValue)(projectNode);
|
|
143
143
|
if (!('root' in projectNodeValue)) {
|
|
144
|
-
|
|
145
|
-
context.warn(`Project "${projectName}" is missing a required property "root". This will become an error in the next major version.`, projectNodeValue);
|
|
144
|
+
throw new Error(`Project "${projectName}" is missing a required property "root".`);
|
|
146
145
|
}
|
|
147
146
|
for (const [name, value] of Object.entries(projectNodeValue)) {
|
|
148
147
|
switch (name) {
|