Skip to content

Commit 3bb3b3f

Browse files
committed
feat(cms): update to payload 3.34 and enable turbopack in dev
closed COD-318
1 parent 3f1526f commit 3bb3b3f

11 files changed

Lines changed: 8282 additions & 369 deletions

File tree

apps/cms/project.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
"sourceRoot": "apps/cms",
55
"projectType": "application",
66
"tags": ["scope:cms", "type:app"],
7+
"// targets": "remove custom dev target once @cdwr/nx-payload supports turbopack (COD-319)",
78
"targets": {
9+
"dev": {
10+
"executor": "nx:run-commands",
11+
"options": {
12+
"command": "next dev --turbopack",
13+
"cwd": "apps/cms"
14+
}
15+
},
816
"dev-fresh": {
917
"executor": "nx:run-commands",
1018
"options": {

apps/cms/src/app/(payload)/admin/importMap.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import { UnderlineFeatureClient as UnderlineFeatureClient_e70f5e05f09f93e00b997e
2727
import { BoldFeatureClient as BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client';
2828
import { ItalicFeatureClient as ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client';
2929
import { BlocksFeatureClient as BlocksFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client';
30+
import { LexicalDiffComponent as LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc';
3031
import { RscEntryLexicalField as RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc';
3132
import { RscEntryLexicalCell as RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc';
3233
import { S3ClientUploadHandler as S3ClientUploadHandler_f97aa6c64367fa259c5bc0567239ef24 } from '@payloadcms/storage-s3/client';
@@ -52,6 +53,8 @@ export const importMap = {
5253
RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e,
5354
'@payloadcms/richtext-lexical/rsc#RscEntryLexicalField':
5455
RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e,
56+
'@payloadcms/richtext-lexical/rsc#LexicalDiffComponent':
57+
LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e,
5558
'@payloadcms/richtext-lexical/client#HeadingFeatureClient':
5659
HeadingFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
5760
'@payloadcms/richtext-lexical/client#FixedToolbarFeatureClient':

0 commit comments

Comments
 (0)