@r_masseater/msch 0.87.4 → 0.87.5

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/cli.mjs CHANGED
@@ -16730,10 +16730,13 @@ const checkRenovateSettings = Effect.fn("checkRenovateSettings")(function* check
16730
16730
  // src/features/find-unneeded-files/model/applied-packages.ts
16731
16731
  const MSCH = "@r_masseater/msch";
16732
16732
  const SCOPE$1 = "@r_masseater/";
16733
+ const LIBRARIES = ["@r_masseater/masseater-utils"];
16733
16734
  const RULE$14 = "applied-package";
16734
16735
  const WORKSPACE_FILE$2 = "pnpm-workspace.yaml";
16735
16736
  const NOT_FOUND = -1;
16736
16737
  const SEPARATOR$1 = "/";
16738
+ /** @internal */
16739
+ const isApplied = (name) => String$1.startsWith(SCOPE$1)(name) && !Array$1.contains(LIBRARIES, name);
16737
16740
  const BY_LENGTH = Order.mapInput(Order.Number, (text) => text.length);
16738
16741
  const escaped = (text) => String$1.replaceAll(/[.*+?^${}()|[\]\\]/gu, String.raw`\$&`)(text);
16739
16742
  const declaredNames = (manifest) => namesIn(manifest, [
@@ -16760,7 +16763,7 @@ const installedPackage = Effect.fn("installedPackage")(function* installedPackag
16760
16763
  });
16761
16764
  const appliedByMsch = Effect.fn("appliedByMsch")(function* appliedByMsch() {
16762
16765
  const manifest = yield* installedManifest(MSCH);
16763
- const names = pipe(manifest, Option.map(({ dependencies, peerDependencies }) => [...Record.keys(dependencies ?? {}), ...Record.keys(peerDependencies ?? {})]), Option.getOrElse(() => []), Array$1.filter(String$1.startsWith(SCOPE$1)));
16766
+ const names = pipe(manifest, Option.map(({ dependencies, peerDependencies }) => [...Record.keys(dependencies ?? {}), ...Record.keys(peerDependencies ?? {})]), Option.getOrElse(() => []), Array$1.filter(isApplied));
16764
16767
  return yield* Effect.forEach(names, installedPackage, { concurrency: 1 });
16765
16768
  });
16766
16769
  const problemAt$1 = (file, source) => (index, name) => ({