@lesliechan721/aw 0.1.0-beta.32 → 0.1.0-beta.33

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.
@@ -374,8 +374,13 @@ async function resolveBatchGroups(intent, env, cwd, frozenRequestedPluginIds) {
374
374
  };
375
375
  }
376
376
  async function runBatchWriteGroup(options) {
377
+ const dependencyScopeOverrides = options.intent.action === 'install'
378
+ ? options.intent.dependencyScopeOverrides?.filter((override) => parsePluginId(override.pluginId).sourceId === options.group.sourceId
379
+ && (options.group.platform === 'both' || override.platform === options.group.platform))
380
+ : undefined;
377
381
  const commandOptions = {
378
382
  cwd: options.cwd,
383
+ ...(dependencyScopeOverrides?.length ? { dependencyScopeOverrides } : {}),
379
384
  platform: options.group.platform,
380
385
  scope: options.group.scope,
381
386
  ...(reviewedScriptTimeoutMs(options.intent) === undefined