@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "15.0.0-next.1",
3
+ "version": "15.0.0-next.2",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -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
- // TODO(alan-agius4): change this to error in v15.
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) {