Skip to content

Add script to generate .d.ts files#1562

Closed
robhogan wants to merge 4 commits into
mainfrom
export-D80535987
Closed

Add script to generate .d.ts files#1562
robhogan wants to merge 4 commits into
mainfrom
export-D80535987

Conversation

@robhogan

Copy link
Copy Markdown
Contributor

Differential Revision: D80535987

Summary:
`getMaxWorkers` and `createModuleIdFactory` are part of determining default config. They're currently implemented inside the `metro` package but only exported via `metro-config`, and have no dependencies on `metro` nor references from inside `metro`.

This moves them inside `metro-config` to reduce some of the `metro`->`metro-config`->`metro` circularity, and especially dependencies on private subpaths.

Changelog: Internal

Differential Revision: D80099051
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 20, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

robhogan added a commit that referenced this pull request Aug 20, 2025
Summary:
Pull Request resolved: #1562

Rollback Plan:

Differential Revision: D80535987
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

robhogan added a commit that referenced this pull request Aug 20, 2025
Summary:
Pull Request resolved: #1562

Rollback Plan:

Differential Revision: D80535987
robhogan and others added 3 commits August 20, 2025 03:11
…tion rather than complex spread

Differential Revision: D80484784
Differential Revision: D80491145
Summary:
Pull Request resolved: #1562

Rollback Plan:

Differential Revision: D80535987
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 96e576c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants