@stim-cli/core 1.0.0-rc.14 → 1.0.0-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -21,6 +21,7 @@ declare function tagSharedStore<T extends object>(store: T, root: string): T;
|
|
|
21
21
|
declare function sharedStoreRoot(store: unknown): string | null;
|
|
22
22
|
interface BuildRunOptions {
|
|
23
23
|
variant?: string;
|
|
24
|
+
abi?: string;
|
|
24
25
|
configuration?: string;
|
|
25
26
|
buildConfiguration?: string;
|
|
26
27
|
isSimulator?: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -151,7 +151,8 @@ function buildTarget(options) {
|
|
|
151
151
|
}
|
|
152
152
|
function buildCacheKey(platform, fingerprintHash, options = {}) {
|
|
153
153
|
const opts = options && typeof options === "object" ? options : {};
|
|
154
|
-
|
|
154
|
+
const abi = platform === "android" && typeof opts.abi === "string" ? slug(opts.abi) : "";
|
|
155
|
+
return `${fingerprintHash}-${buildVariant(platform, opts)}-${buildTarget(opts)}${abi ? `-${abi}` : ""}`;
|
|
155
156
|
}
|
|
156
157
|
const METRO_NAMED_CACHE_LAYOUT = "metro-named-v1";
|
|
157
158
|
function cacheManifestLockPath(file) {
|