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['
|
80
|
-
packageObj.dependencies[dbPackage.packageName] = '
|
81
|
-
packageObj.dependencies[bundlerPackage.packageName] = '
|
82
|
-
packageObj.dependencies[editorPackage.packageName] = '
|
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)({
|
package/dist/lib/templates.js
CHANGED
@@ -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
|
{
|