create-payload-app 0.5.0-beta.6 → 0.5.0-beta.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,10 +76,10 @@ function configurePayloadConfig(args) {
76
76
  packageObj.dependencies['payload'] = 'beta';
77
77
  dbPackage = packages_1.dbPackages[args.dbDetails.type];
78
78
  bundlerPackage = packages_1.bundlerPackages['webpack'];
79
- editorPackage = packages_1.editorPackages['lexical'];
80
- packageObj.dependencies[dbPackage.packageName] = 'beta';
81
- packageObj.dependencies[bundlerPackage.packageName] = 'beta';
82
- packageObj.dependencies[editorPackage.packageName] = 'beta';
79
+ editorPackage = packages_1.editorPackages['slate'];
80
+ packageObj.dependencies[dbPackage.packageName] = 'latest';
81
+ packageObj.dependencies[bundlerPackage.packageName] = 'latest';
82
+ packageObj.dependencies[editorPackage.packageName] = 'latest';
83
83
  return [4 /*yield*/, fs_extra_1.default.writeJson(packageJsonPath, packageObj, { spaces: 2 })];
84
84
  case 3:
85
85
  _a.sent();
@@ -137,7 +137,7 @@ describe('createProject', function () {
137
137
  template = {
138
138
  name: 'blank',
139
139
  type: 'starter',
140
- url: 'https://github.com/payloadcms/payload/templates/blank#2.0',
140
+ url: 'https://github.com/payloadcms/payload/templates/blank#feat/2.0-template-updates',
141
141
  description: 'Blank Template',
142
142
  };
143
143
  return [4 /*yield*/, (0, create_project_1.createProject)({
@@ -64,19 +64,19 @@ function getValidTemplates() {
64
64
  {
65
65
  name: 'blank',
66
66
  type: 'starter',
67
- url: 'https://github.com/payloadcms/payload/templates/blank#2.0',
67
+ url: 'https://github.com/payloadcms/payload/templates/blank#feat/2.0-template-updates',
68
68
  description: 'Blank Template',
69
69
  },
70
70
  {
71
71
  name: 'website',
72
72
  type: 'starter',
73
- url: 'https://github.com/payloadcms/payload/templates/website#2.0',
73
+ url: 'https://github.com/payloadcms/payload/templates/website#feat/2.0-template-updates',
74
74
  description: 'Website Template',
75
75
  },
76
76
  {
77
77
  name: 'ecommerce',
78
78
  type: 'starter',
79
- url: 'https://github.com/payloadcms/payload/templates/ecommerce#2.0',
79
+ url: 'https://github.com/payloadcms/payload/templates/ecommerce#feat/2.0-template-updates',
80
80
  description: 'E-commerce Template',
81
81
  },
82
82
  {
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.6",
40
+ "version": "0.5.0-beta.8",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",