message: refactor(core): verify that standalone entities are not declared in NgModule
  This commits adds JiT checks to verify that a standalone component, directive,
  pipe are not declared in any NgModule.
  PR Close
diff: @@ -207,7 +207,7 @@ function verifySemanticsOfNgModuleDef(
  importingModule?: NgModuleType): void {
  if (verifiedNgModule.get(moduleType)) return;
  - // skip verifications of standalone components, direcrtives and pipes
  + // skip verifications of standalone components, directives and pipes
  if (isStandalone(moduleType)) return;
  verifiedNgModule.set(moduleType, true);
  @@ -232,6 +232,7 @@ function verifySemanticsOfNgModuleDef(
  const exports = maybeUnwrapFn(ngModuleDef.exports);
  declarations.forEach(verifyDeclarationsHaveDefinitions);
  declarations.forEach(verifyDirectivesHaveSelector);
  + declarations.forEach((declarationType) => verifyNotStandalone(declarationType, moduleType));
  const combinedDeclarations: Type<any>[] = [
  ...declarations.map(resolveForwardRef),
  ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef),
  @@ -275,6 +276,17 @@ function verifySemanticsOfNgModuleDef(
  }
  }
  + function verifyNotStandalone(type: Type<any>, moduleType: NgModuleType): void {
  + type = resolveForwardRef(type);
  + const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);
  + if (def?.standalone) {
  + errors.push(`Unexpected "${stringifyForError(type)}" declaration in "${
  + stringifyForError(moduleType)}" NgModule. "${
  + stringifyForError(
  + type)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it?`);
  + }
  + }
  +
  function verifyExportsAreDeclaredOrReExported(type: Type<any>) {
  type = resolveForwardRef(type);
  const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' ||
  