@sanity/ailf 0.1.22 → 0.1.23

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.
@@ -49,6 +49,7 @@ export interface RemoteConfigSlice {
49
49
  gapAnalysisEnabled?: boolean;
50
50
  readinessEnabled?: boolean;
51
51
  discoveryReportEnabled?: boolean;
52
+ noRemoteCache?: boolean;
52
53
  }
53
54
  /**
54
55
  * Build a PipelineRequest from local tasks and config.
@@ -99,6 +99,8 @@ export async function buildRemoteRequest(options) {
99
99
  raw.readiness = true;
100
100
  if (config.discoveryReportEnabled)
101
101
  raw.discoveryReport = true;
102
+ if (config.noRemoteCache)
103
+ raw.noRemoteCache = true;
102
104
  // 4. Validate the assembled request
103
105
  const parsed = PipelineRequestSchema.parse(raw);
104
106
  return { request: parsed, taskCount: tasks.length };
@@ -132,5 +132,6 @@ function toConfigSlice(opts) {
132
132
  gapAnalysisEnabled: opts.gapAnalysisEnabled,
133
133
  readinessEnabled: opts.readinessEnabled,
134
134
  discoveryReportEnabled: opts.discoveryReportEnabled,
135
+ noRemoteCache: opts.noRemoteCache,
135
136
  };
136
137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ailf",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "restricted"