Alessio Gravili
|
da1326a336
|
chore: eslint perf improvements for test suite, make use of cascading for all eslint configs to minimize duplicative rule
|
2024-03-12 09:15:38 -04:00 |
|
Alessio Gravili
|
b70bf81d6c
|
chore: fix all eslint configs to work with esm
|
2024-03-06 12:48:15 -05:00 |
|
Elliot DeNolf
|
eec60d5883
|
chore: rename .eslintrc.cjs -> .js
|
2023-10-20 15:50:25 -04:00 |
|
Alessio Gravili
|
cdaa0acd61
|
chore: run eslint & prettier, adjust perfectionist sorting for package.json and tsconfig.json in eslint configs
|
2023-09-19 11:41:56 +02:00 |
|
Alessio Gravili
|
a81401cf77
|
feat: breaking: richtext adapter (#3311)
BREAKING: requires user to install @payloacms-richtext-slate and specify a `config.editor` property
* chore: move slate stuff into packages/richtext-slate
* chore: fieldTypes stuff
* chore: fix richtext-slate tsconfig
* chore: add clean:unix command
* chore: fix up things
* chore: undo subpath imports being hoisted up
* chore: fix incorrect imports
* chore: improve AdapterArguments type
* chore: remove unused richTextToHTML and stringifyRichText files
* fix: core-dev scss imports
* chore: fix publishConfig exports for richtext-slate
* chore: adjust joi schema for richtext field
* chore: various fixes
* chore: handle afterRead population in richText adapter
* chore: handle more after-read promise stuff
* chore: fix joi validation
* chore: add richtext adapter to tests
* chore: merge adapter props with field props
* chore: index.tsx => index.ts
* chore: rename `adapter` to `editor`
* chore: fix e2e tests not running due to importing a constant from a file (`Tabs`) which imports createSlate.
This fails because createSlate imports React components.
* chore: remove unnecessary import
* chore: improve various typings
* chore: improve typings for List view Cell components
* feat: richText adapter cell component
* chore: add missing types packages for packages/richtext-slate
* chore: add new adapter interface properties to joi schema
* chore: withMergedProps utility which replaces getSlateCellComponent and getSlateFieldComponent
* feat: added config.defaultEditor property which is now required. field.editor is no longer required and overrides config.defaultEditor
* docs: mention editor and defaultEditor property in the docs
* chore: fix incorrectly formatted JSX in docs files breaking mdx parser
* chore: fix various errors
* chore: auto-generated pointer files
|
2023-09-19 11:03:31 +02:00 |
|