mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Publishing of NGCC packages should not be allowed. It is easy for a user to publish an NGCC'd version of a library they have workspace libraries which are being used in a workspace application. If a users builds a library and afterwards the application, the library will be transformed with NGCC and since NGCC taints the distributed files that should be published. With this change we use the npm/yarn `prepublishOnly` hook to display and error and abort the process with a non zero error code when a user tries to publish an NGCC version of the package. More info: https://docs.npmjs.com/misc/scripts PR Close #32031 |
||
|---|---|---|
| .. | ||
| build_marker_spec.ts | ||
| configuration_spec.ts | ||
| entry_point_bundle_spec.ts | ||
| entry_point_spec.ts | ||