GitShow/react/metro
react

metro

๐Ÿš‡ The JavaScript bundler for React Native

by react
bundlerjavascriptreact-native
Star on GitHubForkWebsitenpm

JavaScript

5.6k stars692 forks484 contributorsActive ยท 12h agoSince 2016v0.87.0MIT

Meet the team

See all 484 on GitHub โ†’
robhogan
robhogan654 contributions
rafeca
rafeca449 contributions
motiz88
motiz88318 contributions
cpojer
cpojer282 contributions
davidaurelio
davidaurelio247 contributions
SamChou19815
SamChou19815191 contributions
huntie
huntie145 contributions
martinbigio
martinbigio101 contributions

Languages

View on GitHub โ†’
JavaScript99.8%
SCSS0.1%
CSS0%
TypeScript0%

Commit activity

Last 12 weeks ยท 107 commits

Full graph โ†’

Community health

6 of 6 standards met

Community profile โ†’
75
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโœ“Issue Templateโœ“PR Template

Recent PRs & issues

Active ยท Last activity 12h ago
See all on GitHub โ†’
robhogan
TypeScript: Restore publishing of underscore-prefixed identifiers in .d.tsOpenPR

Summary: , which we first used to publish Metro , changed the default handling of underscore-prefixed identifiers, filtering them out unless was used explicitly. eg: https://unpkg.com/metro@0.84.5/src/Server.d.ts https://unpkg.com/metro@0.85.0/src/Server.d.ts This meant they silently disappeared from our published files, which are intended to describe the entire API (including private props). Bring them back for only via . Keep the generated API.md snapshots underscore-free, as underscore-prefixed fields are not part of the semver-guaranteed surface. Test plan: Before After Changelog:

robhogan ยท 13h ago
vzaidman
Add DependencyGraph.unstable_fromStaticFileMapOpenPR

Summary: Builds a from a known file listing โ€” no filesystem crawl, no and no cache persistence โ€” for consumers that already know their file set and hold parsed contents in memory: is registered as-is, so any extension or filtering is the caller's policy. Three further options cover what a virtual, non-terminal consumer needs: feeds from memory, resolves against the supplied listing rather than , and lets and propagate instead of being wrapped in / . Startup progress reporting is skipped on this path: makes print Metro's banner, which corrupts consumers that speak a protocol over stdout. Relatedly, now requires lazily, as it probes ~40 environment variables on import and some sandboxed consumers disallow that. Changelog: Internal ( as class is not exported) Differential Revision: D116161131

vzaidman ยท 4d ago
JustASillyDude
Rerunning Metro: Another process is running on port 8081. ? Use port 8082 instead?OpenIssue

Hallo, using, "react": "19.1.4", "react-native": "0.81.6", Since upgrading to the new Architecture , Metro has changed and it doesn't have the option to press A and rebuild the project again, so I used to just rerun again the process for the new Arch , but after some updates it stopped working and it says another processes is running at that port but its the same metro with the same project, does anyone have a clue? its abit annoying to try to kill it and rerun it again :p

JustASillyDude ยท 5d ago

Recent fixes

View closed PRs โ†’
Hashim1999164
Ignore file watcher change events that omit a changes payloadMergedPR

Fixes react/metro#1767 Some third party watchers emit a bare change event with no ChangeEvent payload. DeltaCalculator and DependencyGraph then read changes.addedFiles and throw. These handlers now return early when the payload is missing, so a bad event does not crash the bundler. DeltaCalculator tests cover a change emit with no argument and with an empty object. Changelog: [Fix] Ignore file watcher change events that omit a changes payload

Hashim1999164 ยท 2d ago
robhogan
[0.84] Publish 0.84.5MergedPR

Remove the dependency to fix noisy (though harmless for Metro users) CVE alerts - fix #1607 Changelog: [Fix]**: Replace dependency with vendored parsers, fix CVE alerts (https://github.com/facebook/metro/pull/1860 by @robhogan)

robhogan ยท 5d ago
robhogan
[0.83] Update facebook/metro -> react/metro for trusted publishMergedPR

Picks https://github.com/react/metro/commit/bba9734ce6f346e4c3cb367ea342453a16145ac1 to 0.83, required for Trusted Publish provenance check.

robhogan ยท 5d ago
Structured data for AI agents

Repository: react/metro. Description: ๐Ÿš‡ The JavaScript bundler for React Native Stars: 5625, Forks: 692. Primary language: JavaScript. Languages: JavaScript (99.8%), SCSS (0.1%), CSS (0%), TypeScript (0%). License: MIT. Homepage: https://metrobundler.dev Topics: bundler, javascript, react-native. Latest release: v0.87.0 (1mo ago). Open PRs: 100, open issues: 363. Last activity: 12h ago. Community health: 75%. Top contributors: robhogan, rafeca, motiz88, cpojer, davidaurelio, SamChou19815, huntie, martinbigio, dependabot[bot], vzaidman and others.

ยท@ofershap

Replace github.com with gitshow.dev