angular/packages/compiler-cli/ngcc/test/packages
Alan Agius 46304a4f83 feat(ivy): show error when trying to publish NGCC'd packages (#32031)
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
2019-08-08 11:17:38 -07:00
..
build_marker_spec.ts feat(ivy): show error when trying to publish NGCC'd packages (#32031) 2019-08-08 11:17:38 -07:00
configuration_spec.ts feat(ivy): customize ngcc via configuration files (#30591) 2019-06-26 08:00:02 -07:00
entry_point_bundle_spec.ts refactor(ivy): ngcc - remove formatProperty from EntryPointBundle (#32052) 2019-08-08 11:14:38 -07:00
entry_point_spec.ts fix(ivy): ngcc - resolve main property paths correctly (#31509) 2019-07-12 11:37:35 -04:00