Alessio Gravili
934bae2d24
chore: dirty TypeScript bandaid fixes
2023-09-01 18:29:36 +02:00
Alessio Gravili
ae7d6f97d2
chore: formatting and linting ( #3261 )
...
* chore: lint packages/payload
* chore: lint packages/db-postgres
* chore: lint packages/db-mongodb
* chore: update eslintrc exclusion rules
* chore: update eslintrc exclusion rules
* chore: lint misc files
* chore: run prettier through packages
* chore: run eslint on payload again
* chore: prettier misc files
* chore: prettier docs
2023-09-01 17:39:44 +02:00
Alessio Gravili
5f7673d735
chore: update configuration files
2023-09-01 17:13:12 +02:00
Alessio Gravili
373e89a6ba
chore: eslint, turbo and various configs
2023-09-01 16:59:45 +02:00
James
e9b6db6559
chore: removes unused dependency
2023-08-27 17:49:42 -04:00
James
a19ccbb359
feat: optimizes querying drafts
2023-08-27 17:21:02 -04:00
Alessio Gravili
28eaafd9c7
chore: omg it finally works omgggg
2023-08-25 22:08:20 +00:00
Alessio Gravili
6f22b662ec
fix: make it work
2023-08-25 19:17:37 +00:00
Alessio Gravili
2fdbf1d212
chore: more work on imports and exports
2023-08-25 15:44:31 +00:00
Alessio Gravili
7a72e99896
chore: import and export more stuff
2023-08-25 15:34:41 +00:00
Alessio Gravili
1acc6f2adc
chore: exports/versions.ts
2023-08-25 15:20:51 +00:00
Alessio Gravili
759d36049d
chore: more work on exports
2023-08-25 15:04:05 +00:00
Alessio Gravili
370e38ae30
chore: work on imports
2023-08-25 14:56:42 +00:00
Alessio Gravili
4ee83881cc
chore: export stuff
2023-08-25 15:19:18 +02:00
Alessio Gravili
57e8c0756e
fix: db-mongodb package tsconfig.json
2023-08-25 12:26:36 +00:00
Alessio Gravili
65a22082d6
chore: initial tsconfig.json and package.json setup
2023-08-25 12:02:20 +00:00
Dan Ribbens
004f2ed045
fixes type error in db-mongodb
2023-08-23 21:18:15 -04:00
Alessio Gravili
6fdd854cab
chore: install packages via workspaces
2023-08-23 12:38:48 +02:00
Alessio Gravili
a67278b29f
chore: move to monorepo structure
2023-08-23 12:20:30 +02:00
Alessio Gravili
e24ad67168
chore: migrate to pnpm
2023-08-23 00:21:11 +02:00
Alessio Gravili
25a182f407
Merge branch 'feat/db-adapters' into 2.0
2023-08-22 23:47:26 +02:00
Dan Ribbens
48d51fbf08
Merge remote-tracking branch 'origin/2.0' into feat/db-adapters
2023-08-22 16:06:02 -04:00
Alessio Gravili
9467074fb9
chore: update 2.0 branch from master ( #3207 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: PatrikKozak <patrik@trbl.design >
Co-authored-by: Lucas Blancas <lablancas@gmail.com >
Co-authored-by: Stef Gootzen <37367280+stefgootzen@users.noreply.github.com >
Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com >
Co-authored-by: Jessica Chowdhury <67977755+JessChowdhury@users.noreply.github.com >
Co-authored-by: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com >
Co-authored-by: Greg Willard <Wickett06@gmail.com >
Co-authored-by: James Mikrut <james@payloadcms.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
fix: WhereBuilder component does not accept all valid Where queries (#3087 )
fix: passes in height to resizeOptions upload option to allow height resize (#3171 )
2023-08-22 16:04:50 -04:00
Dan Ribbens
659d4e77b9
fixes updateOne ignoring id arg
2023-08-22 15:56:41 -04:00
Alessio Gravili
f911257cd9
feat: RTL Support ( #3003 )
...
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: ibr-hin95 <ibr.hin95@gmail.com >
Co-authored-by: Seied Ali Mirkarimi <dasmergo@gmail.com >
Co-authored-by: muathkhatib <mkhatib.dev@gmail.com >
Co-authored-by: ibr-hin95 <40246707+ibr-hin95@users.noreply.github.com >
fix: recursiveNestedPaths not merging existing fields when hoisting row/collapsible fields (#2769 )
fix: exclude monaco code editor from ltr due to microsoft/monaco-editor#2371
BREAKING CHANGE:
- The admin hook for `useLocale` now returns a Locale object of the currently active locale. Previously this would only return the code as a string. Any custom components built which had `locale = useLocale()` should be replaced with `{ code: locale } = useLocale()` to maintain the same functionality.
- The property `localization.locales` of `SanitizedConfig` type has changed. This was an array of strings and is now an array of Locale objects having: `label: string`, `code: string` and `rtl: boolean`. If you are using localization.locales from the config you will need to adjust your project or plugin accordingly.
2023-08-22 12:18:15 -04:00
Alessio Gravili
7c4dd5ec5e
feat: option to disable auto pluralization for the mongoose adapter ( #3153 )
...
* chore: disable slug pluralization for versions model
* chore: disable slug pluralizations for globals version model
* chore: disable auto slug pluralization for globals collection
* feat: autoPluralization option for mongoose adapter
2023-08-21 18:05:39 +02:00
Elliot DeNolf
f8e6914f44
feat: proper type for createMigration func
2023-08-09 17:10:00 -04:00
James
eea3cca28b
chore: WIP - nested array insertion
2023-08-08 13:30:08 -04:00
James
3a5851d28a
chore: passing tests
2023-07-31 18:12:09 -04:00
James
8d265ee368
chore: maintains internal sanitize fields for mongodb
2023-07-31 16:52:56 -04:00
James
872b38d378
chore: corrects remaining mongodb adapter paths
2023-07-31 15:57:59 -04:00
James
affd55f84e
chore: merge
2023-07-31 15:28:44 -04:00
James
561f29454b
chore: conflict
2023-07-31 15:28:15 -04:00
Elliot DeNolf
5763870938
feat: more import paths
2023-07-31 15:28:11 -04:00
James
f057e25ec7
chore: more path corrections
2023-07-31 15:27:55 -04:00
Dan Ribbens
aa7bad41e4
chore: import path cleanup continued
2023-07-31 15:27:37 -04:00
Dan Ribbens
e70754f417
chore: import path cleanup
2023-07-31 15:26:08 -04:00
James
be61f8ab96
chore: revises paths
2023-07-31 15:20:34 -04:00
James
948dae5b63
chore: path cleanup
2023-07-31 15:16:20 -04:00
James
a2e635d75c
chore: path cleanup
2023-07-31 15:10:07 -04:00
James
028872261b
chore: path cleanup
2023-07-31 14:41:52 -04:00
Dan Ribbens
487eb00402
chore: move getLocalizedPaths to core
2023-07-31 14:32:50 -04:00
James
832c1069f1
chore: moves db adapters to top-level packages
2023-07-31 14:26:14 -04:00