ci: adjust neverBuiltDependencies in test/package.json (#12896)

Fixes an issue introduced with
4831f66f63
that prevents CI from running the built code

---------

Co-authored-by: Sasha <64744993+r1tsuu@users.noreply.github.com>
This commit is contained in:
Jarrod Flesch
2025-06-23 12:26:59 -04:00
committed by GitHub
parent 57f4fb6cfe
commit a44e4c46c5
2 changed files with 10 additions and 1 deletions

View File

@@ -96,5 +96,8 @@
"ts-essentials": "10.0.3", "ts-essentials": "10.0.3",
"typescript": "5.7.3", "typescript": "5.7.3",
"uuid": "10.0.0" "uuid": "10.0.0"
},
"pnpm": {
"neverBuiltDependencies": []
} }
} }

View File

@@ -300,11 +300,17 @@ export async function seed(_payload: Payload, parallel: boolean = false) {
depth: 0, depth: 0,
}) })
const pointGeoJSON: any = {
type: 'Point',
coordinates: [1, 3],
}
await _payload.db.updateOne({ await _payload.db.updateOne({
collection: diffCollectionSlug, collection: diffCollectionSlug,
id: diffDoc.id, id: diffDoc.id,
data: { data: {
...diffDoc, ...diffDoc,
point: pointGeoJSON,
createdAt: new Date(new Date(diffDoc.createdAt).getTime() - 2 * 60 * 10000).toISOString(), createdAt: new Date(new Date(diffDoc.createdAt).getTime() - 2 * 60 * 10000).toISOString(),
updatedAt: new Date(new Date(diffDoc.updatedAt).getTime() - 2 * 60 * 10000).toISOString(), updatedAt: new Date(new Date(diffDoc.updatedAt).getTime() - 2 * 60 * 10000).toISOString(),
}, },
@@ -390,7 +396,7 @@ export async function seed(_payload: Payload, parallel: boolean = false) {
}, },
], ],
}, },
point: [1, 3], point: pointGeoJSON,
radio: 'option2', radio: 'option2',
relationship: draft2.id, relationship: draft2.id,
relationshipHasMany: [manyDraftsID, draft2.id], relationshipHasMany: [manyDraftsID, draft2.id],