@stim-cli/core 1.0.0-rc.13 → 1.0.0-rc.15

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 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
- return `${fingerprintHash}-${buildVariant(platform, opts)}-${buildTarget(opts)}`;
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stim-cli/core",
3
- "version": "1.0.0-rc.13",
3
+ "version": "1.0.0-rc.15",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {