MCPcopy Index your code
hub / github.com/adobe/react-spectrum / isSkipped

Function isSkipped

scripts/bumpVersions.js:46–53  ·  view source on GitHub ↗
(pkg)

Source from the content-addressed store, hash-verified

44]);
45
46function isSkipped(pkg) {
47 return (
48 (pkg.name.includes('@react-aria') && pkg.dependencies?.['react-aria']) ||
49 (pkg.name.includes('@react-stately') && pkg.dependencies?.['react-stately']) ||
50 (pkg.name.includes('@react-types') && !pkg.name.includes('@react-types/shared')) ||
51 (pkg.name.includes('@react-spectrum') && pkg.dependencies?.['@adobe/react-spectrum'])
52 );
53}
54
55// Should be able to replace a lot of this file with yarns versioning plugin
56// it should ensure version bumps for dependencies

Callers 2

getChangedPackagesMethod · 0.85
addReleasedPackageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected