strapi-generate-new
Advanced tools
Comparing version 1.2.0 to 1.3.0
'use strict'; | ||
/** | ||
* Module dependencies | ||
*/ | ||
// Public node modules. | ||
const _ = require('lodash'); | ||
/** | ||
* Expose main global config. | ||
@@ -45,2 +38,6 @@ */ | ||
}, | ||
'studio': { | ||
'enabled': true, | ||
'secretKey': 'YOUR SECRET KEY HERE' | ||
}, | ||
'globals': { | ||
@@ -53,6 +50,2 @@ 'models': true, | ||
}, | ||
'studio': { | ||
'enabled': true, | ||
'secretKey': '' | ||
}, | ||
'users': { | ||
@@ -59,0 +52,0 @@ 'jwtSecret': scope.jwtSecret |
@@ -32,3 +32,3 @@ 'use strict'; | ||
// Generate random code. | ||
let jwtSecret = crypto.randomBytes(64).toString('hex'); | ||
const jwtSecret = crypto.randomBytes(64).toString('hex'); | ||
@@ -35,0 +35,0 @@ // App info. |
{ | ||
"name": "strapi-generate-new", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Generate a new Strapi application.", | ||
@@ -21,3 +21,3 @@ "homepage": "http://strapi.io", | ||
"devDependencies": { | ||
"xo": "^0.9.0" | ||
"xo": "^0.10.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "author": { |
32402
512