Skip to content

ng_package fixes #22499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

ng_package fixes #22499

wants to merge 2 commits into from

Conversation

alexeagle
Copy link
Contributor

No description provided.

We now add the 'main', 'module', 'es2015', and 'typings' properties,
pointing to where the packaging tool lays them out.

Fixes angular#22416
@alexeagle alexeagle requested a review from chuckjaz February 28, 2018 17:13
@alexeagle alexeagle added the target: patch This PR is targeted for the next patch release label Feb 28, 2018
@mary-poppins
Copy link

You can preview 31432dd at https://pr22499-31432dd.ngbuilds.io/.

Copy link
Contributor

@chuckjaz chuckjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit.

* @param content current file content
*/
function amendPackageJson(filePath: string, content: string) {
if (path.basename(filePath) === 'package.json') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider lifting this to the caller.

@mary-poppins
Copy link

You can preview 43150b4 at https://pr22499-43150b4.ngbuilds.io/.

@mary-poppins
Copy link

You can preview eabfbaa at https://pr22499-eabfbaa.ngbuilds.io/.

@alexeagle alexeagle added area: bazel Issues related to the published `@angular/bazel` build rules merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Feb 28, 2018
alexeagle added a commit that referenced this pull request Feb 28, 2018
@alexeagle alexeagle closed this in b6c9410 Feb 28, 2018
This was referenced Mar 15, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: bazel Issues related to the published `@angular/bazel` build rules cla: yes merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants