OptionalclientPackagePath: stringAdds the app's npm scope(s) to serve.options.prebundle.exclude for all
projects in angular.json. Idempotent: patterns already present are skipped.
Number of patterns added (0 if all already present).
Removes the app's npm scope(s) from serve.options.prebundle.exclude.
Only removes patterns NOT used by any other installed app.
The app being removed
Manifests of all OTHER installed apps
Number of patterns removed.
Writes the modified angular.json back to disk if any mutations were applied. No-op if nothing changed.
Operation result with a summary of all changes made.
Manages modifications to an Angular project's
angular.jsonfile.Usage:
The class tracks whether any mutations actually changed the config. If nothing changed,
Save()is a no-op (no unnecessary file writes).