MCPcopy Index your code
hub / github.com/changesets/changesets / getUnmatchedPatterns

Function getUnmatchedPatterns

packages/config/src/index.ts:61–69  ·  view source on GitHub ↗
(
  listOfPackageNamesOrGlob: readonly string[],
  pkgNames: readonly string[]
)

Source from the content-addressed store, hash-verified

59}
60
61function getUnmatchedPatterns(
62 listOfPackageNamesOrGlob: readonly string[],
63 pkgNames: readonly string[]
64): string[] {
65 return listOfPackageNamesOrGlob.filter(
66 (pkgNameOrGlob) =>
67 !pkgNames.some((pkgName) => micromatch.isMatch(pkgName, pkgNameOrGlob))
68 );
69}
70
71const havePackageGroupsCorrectShape = (
72 pkgGroups: ReadonlyArray<PackageGroup>

Callers 1

parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected