Skip to content

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

Closed
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
JiaLiPassion:zone-typings
Closed

fix(zone.js): add missing types field in package.json#38585
JiaLiPassion wants to merge 1 commit intoangular:masterfrom
JiaLiPassion:zone-typings

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.

@JiaLiPassion JiaLiPassion requested a review from mhevery August 26, 2020 08:15
@pullapprove pullapprove bot requested a review from gkalpak August 26, 2020 08:15
@sonukapoor sonukapoor added the area: zones Issues related to zone.js label Aug 26, 2020
@ngbot ngbot bot added this to the needsTriage milestone Aug 26, 2020
@JiaLiPassion JiaLiPassion requested a review from gkalpak August 26, 2020 12:52
@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.

@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 Issues related to zone.js 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