create-keystone-app
Advanced tools
@@ -47,3 +47,3 @@ 'use strict'; | ||
name: "create-keystone-app", | ||
version: "8.0.0", | ||
version: "8.0.1", | ||
main: "dist/create-keystone-app.cjs.js", | ||
@@ -50,0 +50,0 @@ files: [ |
@@ -47,3 +47,3 @@ 'use strict'; | ||
name: "create-keystone-app", | ||
version: "8.0.0", | ||
version: "8.0.1", | ||
main: "dist/create-keystone-app.cjs.js", | ||
@@ -50,0 +50,0 @@ files: [ |
{ | ||
"name": "create-keystone-app", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"main": "dist/create-keystone-app.cjs.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -115,3 +115,3 @@ "use strict"; | ||
secretField: "password", | ||
initFirstItem: false ? void 0 : { | ||
initFirstItem: { | ||
fields: ["name", "email", "password"] | ||
@@ -118,0 +118,0 @@ } |
@@ -42,16 +42,13 @@ // Welcome to some authentication for Keystone | ||
// dont support initFirstItem functionality in production | ||
// WARNING: remove initFirstItem functionality in production | ||
// see https://keystonejs.com/docs/config/auth#init-first-item for more | ||
initFirstItem: | ||
process.env.NODE_ENV === 'production' | ||
? undefined | ||
: { | ||
// if there are no items in the database, by configuring this field | ||
// you are asking the Keystone AdminUI to create a new user | ||
// providing inputs for these fields | ||
fields: ['name', 'email', 'password'], | ||
initFirstItem: { | ||
// if there are no items in the database, by configuring this field | ||
// you are asking the Keystone AdminUI to create a new user | ||
// providing inputs for these fields | ||
fields: ['name', 'email', 'password'], | ||
// it uses context.sudo() to do this, which bypasses any access control you might have | ||
// you shouldn't use this in production | ||
}, | ||
// it uses context.sudo() to do this, which bypasses any access control you might have | ||
// you shouldn't use this in production | ||
}, | ||
}); | ||
@@ -58,0 +55,0 @@ |
@@ -11,5 +11,3 @@ { | ||
}, | ||
"// @aws-sdk": "temporary dependency until https://github.com/keystonejs/keystone/issues/8023 is resolved", | ||
"dependencies": { | ||
"@aws-sdk/util-endpoints": "^3.192.0", | ||
"@keystone-6/auth": "^5.0.0", | ||
@@ -16,0 +14,0 @@ "@keystone-6/core": "^3.0.1", |
40454
-0.68%692
-0.43%