Fixup TypeScript with export maps #1284

Closed
NickGerleman wants to merge 2 commits from export-D45713689 into main
NickGerleman commented 2023-05-09 21:09:01 -07:00 (Migrated from github.com)

Summary:
This makes TypeScript resolution play nicely with export maps, and converts the entrypoints to TypeScript.

We remove the non-export-map fallbacks as well, so the export maps are always followed.

Tests are moved to load yoga from its external export, testing the entrypoints.

This moves the only untyped bit to the binary wrapper, which another diff will move.

Reviewed By: yungsters

Differential Revision: D45713689

Summary: This makes TypeScript resolution play nicely with export maps, and converts the entrypoints to TypeScript. We remove the non-export-map fallbacks as well, so the export maps are always followed. Tests are moved to load yoga from its external export, testing the entrypoints. This moves the only untyped bit to the binary wrapper, which another diff will move. Reviewed By: yungsters Differential Revision: D45713689
facebook-github-bot commented 2023-05-09 21:10:01 -07:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D45713689

This pull request was **exported** from Phabricator. Differential Revision: [D45713689](https://www.internalfb.com/diff/D45713689)
facebook-github-bot commented 2023-05-09 21:24:05 -07:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D45713689

This pull request was **exported** from Phabricator. Differential Revision: [D45713689](https://www.internalfb.com/diff/D45713689)
facebook-github-bot commented 2023-05-09 21:29:53 -07:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D45713689

This pull request was **exported** from Phabricator. Differential Revision: [D45713689](https://www.internalfb.com/diff/D45713689)
facebook-github-bot commented 2023-05-09 21:37:46 -07:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D45713689

This pull request was **exported** from Phabricator. Differential Revision: [D45713689](https://www.internalfb.com/diff/D45713689)
facebook-github-bot commented 2023-05-09 22:24:41 -07:00 (Migrated from github.com)

This pull request has been merged in facebook/yoga@af89315fd4.

This pull request has been merged in facebook/yoga@af89315fd45eafdfe00d691adbec70b2c30446e6.

Pull request closed

Sign in to join this conversation.
No description provided.