create-payload-app 0.5.0-beta.2 → 0.5.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,12 +44,12 @@ exports.bundlerPackages = {
44
44
  exports.editorPackages = {
45
45
  slate: {
46
46
  packageName: '@payloadcms/richtext-slate',
47
- importReplacement: "import { createSlate } from '@payloadcms/richtext-slate'",
48
- configReplacement: ' editor: createSlate({}),',
47
+ importReplacement: "import { slateEditor } from '@payloadcms/richtext-slate'",
48
+ configReplacement: ' editor: slateEditor({}),',
49
49
  },
50
50
  lexical: {
51
51
  packageName: '@payloadcms/richtext-lexical',
52
- importReplacement: "import { createLexical } from '@payloadcms/richtext-lexical'",
53
- configReplacement: ' editor: createLexical({}),',
52
+ importReplacement: "import { lexicalEditor } from '@payloadcms/richtext-lexical'",
53
+ configReplacement: ' editor: lexicalEditor({}),',
54
54
  },
55
55
  };
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "prompts": "^2.4.2",
38
38
  "terminal-link": "^2.1.1"
39
39
  },
40
- "version": "0.5.0-beta.2",
40
+ "version": "0.5.0-beta.3",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",