Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
761 B
Plaintext
22 lines
761 B
Plaintext
import { checkDependencies } from './utilities/dependencies/dependencyChecker.js';
|
|
import { PAYLOAD_PACKAGE_LIST } from './versions/payloadPackageList.js';
|
|
export function checkPayloadDependencies() {
|
|
const dependencies = [
|
|
...PAYLOAD_PACKAGE_LIST
|
|
];
|
|
if (process.env.PAYLOAD_CI_DEPENDENCY_CHECKER !== 'true') {
|
|
dependencies.push('@payloadcms/plugin-sentry');
|
|
}
|
|
// First load. First check if there are mismatching dependency versions of payload packages
|
|
void checkDependencies({
|
|
dependencyGroups: [
|
|
{
|
|
name: 'payload',
|
|
dependencies,
|
|
targetVersionDependency: 'payload'
|
|
}
|
|
]
|
|
});
|
|
}
|
|
|
|
//# sourceMappingURL=checkPayloadDependencies.js.map |