create-payload-app 0.5.0-beta.9 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,13 +67,10 @@ function configurePayloadConfig(args) {
67
67
  _a.label = 1;
68
68
  case 1:
69
69
  _a.trys.push([1, 4, , 5]);
70
- return [4 /*yield*/, fs_extra_1.default.readJson(packageJsonPath)
71
- // TODO: Likely revert this once we go to latest
72
- ];
70
+ return [4 /*yield*/, fs_extra_1.default.readJson(packageJsonPath)];
73
71
  case 2:
74
72
  packageObj = _a.sent();
75
- // TODO: Likely revert this once we go to latest
76
- packageObj.dependencies['payload'] = 'beta';
73
+ packageObj.dependencies['payload'] = 'latest';
77
74
  dbPackage = packages_1.dbPackages[args.dbDetails.type];
78
75
  bundlerPackage = packages_1.bundlerPackages['webpack'];
79
76
  editorPackage = packages_1.editorPackages['slate'];
@@ -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#feat/2.0-template-updates',
140
+ url: 'https://github.com/payloadcms/payload/templates/blank',
141
141
  description: 'Blank Template',
142
142
  };
143
143
  return [4 /*yield*/, (0, create_project_1.createProject)({
@@ -30,7 +30,7 @@ var webpackReplacement = {
30
30
  packageName: '@payloadcms/bundler-webpack',
31
31
  importReplacement: "import { webpackBundler } from '@payloadcms/bundler-webpack'",
32
32
  // Replacement of line containing `// bundler-config`
33
- configReplacement: ' bundler: webpackBundler(),',
33
+ configReplacement: ' bundler: webpackBundler(),',
34
34
  };
35
35
  var viteReplacement = {
36
36
  packageName: '@payloadcms/bundler-vite',
@@ -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#feat/2.0-template-updates',
67
+ url: 'https://github.com/payloadcms/payload/templates/blank',
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#feat/2.0-template-updates',
73
+ url: 'https://github.com/payloadcms/payload/templates/website',
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#feat/2.0-template-updates',
79
+ url: 'https://github.com/payloadcms/payload/templates/ecommerce',
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.9",
40
+ "version": "0.5.0",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",