Elliot DeNolf
dd0514bd2c
ci: multiple jobs ( #3337 )
...
* ci: move playwright install to test:e2e script
* test: adjust test db names to avoid conflicts
* ci: clean up core job
* ci: add db-mongodb build job
* chore: add jest setup db adapter logging
* chore: install on mongodb job
* chore: adjust root deps
* chore: use turbo for db-mongodb to ensure build order
* chore: use turbo from .bin
* chore: add build script for db-postgres
* ci: add db-postgres build job
* chore: upgrade actions/checkout and actions/setup-node
* chore: rename github workflow file to main
2023-09-15 16:17:41 -04:00
Dan Ribbens
09a455bb7b
chore: remove temp test env var
2023-09-15 13:52:19 -04:00
Dan Ribbens
2c61ae8452
chore: merge db-adapters
2023-09-15 13:03:13 -04:00
Alessio Gravili
1fa636417f
chore: disable prettier for docs, as prettier is not compatible with mdx version 2. See https://github.com/prettier/prettier/issues/12209
2023-09-15 14:42:50 +02:00
Elliot DeNolf
577f54fcf3
chore: adjust object sorting groups
2023-09-14 16:33:13 -04:00
Elliot DeNolf
abab0abca8
chore: sort all package.json files in a sane way
2023-09-14 16:32:37 -04:00
Dan Ribbens
8df2c888fe
feat: postgres transactions
2023-09-14 15:39:58 -04:00
Dan Ribbens
a838274ae7
chore: merge
2023-09-14 14:52:16 -04:00
Dan Ribbens
16d314ff49
chore: fix imports postgres
2023-09-14 14:46:27 -04:00
Elliot DeNolf
79f9ef2481
chore: migration improvements ( #3335 )
...
* chore: better migrationDir handling
* chore: add .migrations to gitignore
* chore: migration cli debugging
* docs: stub out each migration command
2023-09-14 14:23:17 -04:00
Dan Ribbens
9575ec5319
merges postgres transactions
2023-09-14 13:13:59 -04:00
Elliot DeNolf
11c8804886
chore: add build script back to db-postgres/package.json
2023-09-14 12:27:38 -04:00
Elliot DeNolf
488c6651d9
chore: restore db-postgres from feat/db-adapters
2023-09-14 12:24:30 -04:00
Elliot DeNolf
744de9c706
chore: merge from 2.0
2023-09-14 12:10:36 -04:00
Dan Ribbens
1f1082c068
query exists false
2023-09-13 14:43:01 -04:00
Dan Ribbens
33e50f7d6b
test: improve expects
2023-09-13 13:04:06 -04:00
Dan Ribbens
bb16ce965c
query relationship by id
2023-09-13 13:02:22 -04:00
Dan Ribbens
8d98dea1b8
querying localized fields with all
2023-09-13 10:23:18 -04:00
Dan Ribbens
7cdda26e5d
querying on poly relationTo ids
2023-09-12 16:26:06 -04:00
Dan Ribbens
cc1966020a
querying localized has many relationship field
2023-09-12 13:43:31 -04:00
Jarrod Flesch
48398db28c
chore: removes hmr prod plugin ( #3320 )
2023-09-12 13:12:50 -04:00
Dan Ribbens
33c15afa79
querying localized relationship field
2023-09-12 12:29:00 -04:00
Jarrod Flesch
2b7d776b26
fix(2.0): ensures relationTo as array fields load returned data from form correctly ( #3318 )
2023-09-12 11:53:21 -04:00
James
61098f96a8
chore: builds pattern to return constraints array
2023-09-12 10:14:09 -04:00
Dan Ribbens
8e16d825ff
wip refactor joins for relationships
2023-09-12 09:54:53 -04:00
Elliot DeNolf
9f4fdc5bc4
chore: missing jest config
2023-09-12 08:20:18 -04:00
Elliot DeNolf
2ff41f7a50
chore: more tests commands to top level
2023-09-11 17:22:08 -04:00
Alessio Gravili
aad2389a20
chore: add back missing 'utf-8' flag for exportPointerFiles script
2023-09-11 23:18:49 +02:00
Alessio Gravili
58589021cc
chore: add support for .scss pointer files
2023-09-11 23:17:26 +02:00
Elliot DeNolf
56a02975d1
chore: fix dev type gen
2023-09-11 16:57:33 -04:00
Elliot DeNolf
41347bef5f
chore: fix components tests
2023-09-11 16:49:35 -04:00
Alessio Gravili
73fe11baf3
chore: improve handling of subpath exports for published package ( #3310 )
...
* chore: exportPointerFiles script
* chore: handle creation of subfolders which may not exist
* chore: add json to copyfiles
* chore: do not use exports property for publishConfig
* chore: add clean:unix command
* chore: modify clean:unix command to also delete any tsconfig.tsbuildinfo files
* chore: remove exports properties from db adapter packages
2023-09-11 22:20:12 +02:00
Dan Ribbens
af6b7592a1
postgres short circuit empty find results
2023-09-09 17:26:38 -04:00
Jarrod Flesch
1fc9ca1709
chore: corrects hasMany relationships within addFieldStatePromise ( #3301 )
2023-09-09 00:31:52 -04:00
Dan Ribbens
754efe00f6
optimize find to query docs and count concurrently, normalize pagination args
2023-09-08 11:21:22 -04:00
Alessio Gravili
df33323bc8
chore: add missing root packages for test suite to work
2023-09-07 23:06:04 +02:00
Alessio Gravili
e2df74bbff
chore: fix e2e tests by not importing from ./config
2023-09-07 22:53:28 +02:00
Alessio Gravili
4aad563f58
chore: cleanup 2.0 tsconfigs, fix building types for db adapters ( #3293 )
...
* chore: cleanup tsconfigs and fix db-mongodb builds
* chore: make the db adapters depend on payload
* chore: fix tsconfig for test directory
* chore: fix packages/db-mongodb not building
2023-09-07 22:36:17 +02:00
Dan Ribbens
1f7b52497c
postgres sanitize query value
2023-09-07 14:45:07 -04:00
Dan Ribbens
595173327e
postgres operations buildQuery updates
2023-09-07 11:49:21 -04:00
Jarrod Flesch
abd983f421
chore: mirror changes from PR #3276 ( #3284 )
2023-09-07 11:06:57 -04:00
Jarrod Flesch
1092ae6f98
chore: mirror changes from PR #3279 ( #3285 )
2023-09-07 11:06:35 -04:00
Alessio Gravili
d52e265117
chore: add last lint & format commit to .git-blame-ignore-revs
2023-09-07 15:54:48 +02:00
Alessio Gravili
1fbda85cd0
chore: lint and format everything again
2023-09-07 15:53:48 +02:00
Alessio Gravili
9e4474be60
chore: fix eslint and prettier configs for test directory
2023-09-07 15:48:48 +02:00
Alessio Gravili
a51b5970dc
chore: re-run prettier
2023-09-07 15:45:48 +02:00
Alessio Gravili
fd2290d6f7
chore: update lint-specific packages
2023-09-07 15:36:02 +02:00
Alessio Gravili
4e9b2b4b5e
chore: add .git-blame-ignore-revs file
2023-09-07 15:26:34 +02:00
Alessio Gravili
bf673096e3
chore: add .vscode/settings.json
2023-09-07 15:23:16 +02:00
Dan Ribbens
2e086d95d9
chore: working simple where
2023-09-06 16:25:52 -04:00