feat: add nextjs and react version checks to dependency checker (#7868)
This commit is contained in:
@@ -32,7 +32,7 @@ export async function initPayloadE2E({ dirname }: Args): Promise<Result> {
|
||||
|
||||
const port = 3000
|
||||
process.env.PORT = String(port)
|
||||
process.env.PAYLOAD_DISABLE_DEPENDENCY_CHECKER = 'true'
|
||||
process.env.PAYLOAD_CI_DEPENDENCY_CHECKER = 'true'
|
||||
|
||||
const serverURL = `http://localhost:${port}`
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export async function initPayloadE2ENoConfig<T extends GeneratedTypes<T>>({
|
||||
|
||||
const port = 3000
|
||||
process.env.PORT = String(port)
|
||||
process.env.PAYLOAD_DISABLE_DEPENDENCY_CHECKER = 'true'
|
||||
process.env.PAYLOAD_CI_DEPENDENCY_CHECKER = 'true'
|
||||
|
||||
const serverURL = `http://localhost:${port}`
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ process.env.PAYLOAD_DROP_DATABASE = 'true'
|
||||
process.env.PAYLOAD_PUBLIC_CLOUD_STORAGE_ADAPTER = 's3'
|
||||
|
||||
process.env.NODE_OPTIONS = '--no-deprecation'
|
||||
process.env.PAYLOAD_DISABLE_DEPENDENCY_CHECKER = 'true'
|
||||
process.env.PAYLOAD_CI_DEPENDENCY_CHECKER = 'true'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
|
||||
Reference in New Issue
Block a user