MCPcopy Create free account
hub / github.com/adobe/react-spectrum / isSkipped

Function isSkipped

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

Source from the content-addressed store, hash-verified

43]);
44
45function isSkipped(pkg) {
46 return (
47 (pkg.name.includes('@react-aria') && pkg.dependencies?.['react-aria']) ||
48 (pkg.name.includes('@react-stately') && pkg.dependencies?.['react-stately']) ||
49 (pkg.name.includes('@react-types') && !pkg.name.includes('@react-types/shared')) ||
50 (pkg.name.includes('@react-spectrum') &&
51 pkg.dependencies?.['@adobe/react-spectrum'] &&
52 !pkg.name.includes('@react-spectrum/codemods'))
53 );
54}
55
56// Should be able to replace a lot of this file with yarns versioning plugin
57// 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