@expo/config
Advanced tools
Comparing version 10.0.0-canary-20241008-90b13ad to 10.0.0-canary-20241018-2a482e3
@@ -129,3 +129,3 @@ "use strict"; | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
let hasWarnedAboutRootConfig = false; | ||
@@ -173,3 +173,3 @@ | ||
} | ||
if (_resolveFrom().default.silent(projectRoot, 'react-native-web')) { | ||
if (_resolveFrom().default.silent(projectRoot, 'react-dom')) { | ||
platforms.push('web'); | ||
@@ -176,0 +176,0 @@ } |
@@ -50,3 +50,3 @@ "use strict"; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
/** | ||
@@ -53,0 +53,0 @@ * Transpile and evaluate the dynamic config object. |
@@ -36,3 +36,3 @@ "use strict"; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
// We cannot use async config resolution right now because Next.js doesn't support async configs. | ||
@@ -39,0 +39,0 @@ // If they don't add support for async Webpack configs then we may need to pull support for Next.js. |
@@ -28,3 +28,3 @@ "use strict"; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
/** | ||
@@ -31,0 +31,0 @@ * Resolve the Expo SDK Version either from the input Expo config or from the installed |
@@ -38,4 +38,4 @@ "use strict"; | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
// The ~/.expo directory is used to store authentication sessions, | ||
@@ -42,0 +42,0 @@ // which are shared between EAS CLI and Expo CLI. |
@@ -16,3 +16,3 @@ "use strict"; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
function getExtensions(platforms, extensions, workflows) { | ||
@@ -19,0 +19,0 @@ // In the past we used spread operators to collect the values so now we enforce type safety on them. |
@@ -13,2 +13,7 @@ import { PackageJSONConfig } from '../Config.types'; | ||
/** | ||
* Get the workspace globs for Metro's watchFolders. | ||
* @note This does not traverse the monorepo, and should be used with `getMetroServerRoot` | ||
*/ | ||
export declare function getMetroWorkspaceGlobs(monorepoRoot: string): string[] | null; | ||
/** | ||
* Convert an absolute entry point to a server or project root relative filepath. | ||
@@ -15,0 +20,0 @@ * This is useful on Android where the entry point is an absolute path. |
@@ -10,2 +10,3 @@ "use strict"; | ||
exports.getMetroServerRoot = getMetroServerRoot; | ||
exports.getMetroWorkspaceGlobs = getMetroWorkspaceGlobs; | ||
exports.getPossibleProjectRoot = getPossibleProjectRoot; | ||
@@ -70,3 +71,3 @@ exports.resolveEntryPoint = resolveEntryPoint; | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
// https://github.com/facebook/create-react-app/blob/9750738cce89a967cc71f28390daf5d4311b193c/packages/react-scripts/config/paths.js#L22 | ||
@@ -164,2 +165,10 @@ function ensureSlash(inputPath, needsSlash) { | ||
/** | ||
* Get the workspace globs for Metro's watchFolders. | ||
* @note This does not traverse the monorepo, and should be used with `getMetroServerRoot` | ||
*/ | ||
function getMetroWorkspaceGlobs(monorepoRoot) { | ||
return (0, _resolveWorkspaceRoot().getWorkspaceGlobs)(monorepoRoot); | ||
} | ||
/** | ||
* Convert an absolute entry point to a server or project root relative filepath. | ||
@@ -166,0 +175,0 @@ * This is useful on Android where the entry point is an absolute path. |
{ | ||
"name": "@expo/config", | ||
"version": "10.0.0-canary-20241008-90b13ad", | ||
"version": "10.0.0-canary-20241018-2a482e3", | ||
"description": "A library for interacting with the app.json", | ||
@@ -37,5 +37,5 @@ "main": "build/index.js", | ||
"@babel/code-frame": "~7.10.4", | ||
"@expo/config-plugins": "8.1.0-canary-20241008-90b13ad", | ||
"@expo/config-types": "52.0.0-canary-20241008-90b13ad", | ||
"@expo/json-file": "8.4.0-canary-20241008-90b13ad", | ||
"@expo/config-plugins": "8.1.0-canary-20241018-2a482e3", | ||
"@expo/config-types": "52.0.0-canary-20241018-2a482e3", | ||
"@expo/json-file": "8.4.0-canary-20241018-2a482e3", | ||
"deepmerge": "^4.3.1", | ||
@@ -46,3 +46,3 @@ "getenv": "^1.0.0", | ||
"resolve-from": "^5.0.0", | ||
"resolve-workspace-root": "^1.0.0", | ||
"resolve-workspace-root": "^2.0.0", | ||
"semver": "^7.6.0", | ||
@@ -54,3 +54,3 @@ "slugify": "^1.3.4", | ||
"@types/require-from-string": "^1.2.1", | ||
"expo-module-scripts": "3.6.0-canary-20241008-90b13ad" | ||
"expo-module-scripts": "3.6.0-canary-20241018-2a482e3" | ||
}, | ||
@@ -60,3 +60,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "90b13ad9d0dd3469556ac776d8b74643375b1d97" | ||
"gitHead": "2a482e33d2f94629f6022410c61c3ceeb8e7f26e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
163686
1951
+ Added@expo/config-plugins@8.1.0-canary-20241018-2a482e3(transitive)
+ Added@expo/config-types@52.0.0-canary-20241018-2a482e3(transitive)
+ Added@expo/json-file@8.4.0-canary-20241018-2a482e3(transitive)
+ Added@expo/plist@0.1.4-canary-20241018-2a482e3(transitive)
+ Addedresolve-workspace-root@2.0.0(transitive)
- Removed@expo/config-plugins@8.1.0-canary-20241008-90b13ad(transitive)
- Removed@expo/config-types@52.0.0-canary-20241008-90b13ad(transitive)
- Removed@expo/json-file@8.4.0-canary-20241008-90b13ad(transitive)
- Removed@expo/plist@0.1.4-canary-20241008-90b13ad(transitive)
- Removedresolve-workspace-root@1.0.1(transitive)