metro-file-map
Advanced tools
Comparing version 0.71.3 to 0.72.0
{ | ||
"name": "metro-file-map", | ||
"version": "0.71.3", | ||
"version": "0.72.0", | ||
"description": "[Experimental] - 🚇 File crawling, watching and mapping for Metro", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -147,3 +147,3 @@ "use strict"; | ||
// filesystem state and build parameters). | ||
const CACHE_BREAKER = "1"; | ||
const CACHE_BREAKER = "2"; | ||
const CHANGE_INTERVAL = 30; | ||
@@ -992,3 +992,8 @@ const MAX_WAIT_TIME = 240000; | ||
dot: true, | ||
glob: extensions.map((extension) => "**/*." + extension), | ||
glob: [ | ||
// Ensure we always include package.json files, which are crucial for | ||
/// module resolution. | ||
"**/package.json", | ||
...extensions.map((extension) => "**/*." + extension), | ||
], | ||
ignored: ignorePattern, | ||
@@ -995,0 +1000,0 @@ watchmanDeferStates: this._options.watchmanDeferStates, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222874
4026