create-payload-app 0.3.29 → 0.3.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,11 +17,11 @@
17
17
  "dependencies": {
18
18
  "payload": "1.1.17",
19
19
  "dotenv": "^8.2.0",
20
- "express": "^4.17.1"
20
+ "express": "^4.17.1",
21
+ "cross-env": "^7.0.3"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@types/express": "^4.17.9",
24
- "cross-env": "^7.0.3",
25
25
  "nodemon": "^2.0.6",
26
26
  "ts-node": "^9.1.1",
27
27
  "copyfiles": "^2.4.1",
@@ -106,19 +106,19 @@ function getValidTemplates() {
106
106
  {
107
107
  name: 'cloud-template-blank',
108
108
  type: 'starter',
109
- url: 'https://github.com/payloadcms/template-blank',
109
+ url: 'https://github.com/payloadcms/payload/templates/blank',
110
110
  description: 'Blank template for Payload Cloud',
111
111
  },
112
112
  {
113
113
  name: 'cloud-template-website',
114
114
  type: 'starter',
115
- url: 'https://github.com/payloadcms/template-website',
115
+ url: 'https://github.com/payloadcms/payload/templates/website',
116
116
  description: 'Website template for Payload Cloud',
117
117
  },
118
118
  {
119
119
  name: 'cloud-template-ecommerce',
120
120
  type: 'starter',
121
- url: 'https://github.com/payloadcms/template-ecommerce',
121
+ url: 'https://github.com/payloadcms/payload/templates/ecommerce',
122
122
  description: 'E-commerce template for Payload Cloud',
123
123
  },
124
124
  ];
@@ -6,9 +6,6 @@ const Users: CollectionConfig = {
6
6
  admin: {
7
7
  useAsTitle: 'email',
8
8
  },
9
- access: {
10
- read: () => true,
11
- },
12
9
  fields: [
13
10
  // Email added by default
14
11
  // Add more fields as needed
@@ -6,9 +6,6 @@ const Users: CollectionConfig = {
6
6
  admin: {
7
7
  useAsTitle: 'email',
8
8
  },
9
- access: {
10
- read: () => true,
11
- },
12
9
  fields: [
13
10
  // Email added by default
14
11
  {
@@ -6,9 +6,6 @@ const Users: CollectionConfig = {
6
6
  admin: {
7
7
  useAsTitle: 'email',
8
8
  },
9
- access: {
10
- read: () => true,
11
- },
12
9
  fields: [
13
10
  // Email added by default
14
11
  // Add more fields as needed
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.3.29",
40
+ "version": "0.3.31",
41
41
  "devDependencies": {
42
42
  "@types/command-exists": "^1.2.0",
43
43
  "@types/degit": "^2.8.3",