Skip to content
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

fix(zone.js): add missing types field in package.json #38585

Closed
wants to merge 1 commit into from

Conversation

JiaLiPassion
Copy link
Contributor

Close #38584

In zone.js 0.11.1, the types field is missing in the package.json,
the reason is in zone.js 0.11.0, the files field is used to specify the
types, but it cause the npm package not contain any bundles issue, so zone.js
0.11.1 remove the files field, which cause the type definition gone.

This PR concat the zone.js.d.ts, zone.configurations.api.ts, zone.api.extensions.ts
types into a single zone.js.d.ts file.

packages/zone.js/package.json Outdated Show resolved Hide resolved
@JiaLiPassion JiaLiPassion force-pushed the zone-typings branch 3 times, most recently from 99ac50b to 8b77caa Compare August 27, 2020 02:11
@JiaLiPassion JiaLiPassion added the target: major This PR is targeted for the next major release label Aug 27, 2020
Copy link
Contributor

@mhevery mhevery left a comment

Choose a reason for hiding this comment

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

Please resolve' other comments before merging.

@mhevery mhevery added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Sep 1, 2020
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

LGTM with one comment/suggestion.

packages/zone.js/package.json Outdated Show resolved Hide resolved
@JiaLiPassion JiaLiPassion force-pushed the zone-typings branch 3 times, most recently from 4e837f8 to 9d3fa9f Compare September 10, 2020 18:38
Close angular#38584

In zone.js 0.11.1, the `types` field is missing in the `package.json`,
the reason is in zone.js 0.11.0, the `files` field is used to specify the
types, but it cause the npm package not contain any bundles issue, so zone.js
0.11.1 remove the `files` field, which cause the `type` definition gone.

This PR concat the `zone.js.d.ts`, `zone.configurations.api.ts`, `zone.api.extensions.ts`
types into a single `zone.d.ts` file.
@JiaLiPassion JiaLiPassion added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Sep 10, 2020
@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 Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: zones cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typings is missing in zone.js 0.11.1
7 participants