Update wordings

This commit is contained in:
Alexandre Bodin 2019-07-03 11:20:14 +02:00
parent e7a2b12146
commit a61845b3c0
5 changed files with 9 additions and 4 deletions

View File

@ -15,7 +15,7 @@ module.exports = async scope => {
const configuration = { const configuration = {
client, client,
connection: merge({}, defaultConfigs[client] || {}, scope.database), connection: merge({}, defaultConfigs[client] || {}, scope.database),
dependencies: clientDependencies({ scope, client: client }), dependencies: clientDependencies({ scope, client }),
}; };
return createProject(scope, configuration); return createProject(scope, configuration);
}; };

View File

@ -40,7 +40,7 @@ async function askDbInfosAndTest(scope) {
const configuration = { const configuration = {
client, client,
connection, connection,
dependencies: clientDependencies({ scope, client: client }), dependencies: clientDependencies({ scope, client }),
}; };
await testDatabaseConnection({ await testDatabaseConnection({

View File

@ -112,6 +112,9 @@ module.exports = async function createProject(
console.log(` ${cmd} build`); console.log(` ${cmd} build`);
console.log(' Builds Strapi admin panel.'); console.log(' Builds Strapi admin panel.');
console.log(); console.log();
console.log(` ${cmd} strapi`);
console.log(` Display all available commands.`);
console.log();
console.log('You can start by doing:'); console.log('You can start by doing:');
console.log(); console.log();
console.log(` ${chalk.cyan('cd')} ${rootPath}`); console.log(` ${chalk.cyan('cd')} ${rootPath}`);

View File

@ -17,7 +17,7 @@ module.exports = async function createQuickStartProject(scope) {
const configuration = { const configuration = {
client, client,
connection: defaultConfigs[client], connection: defaultConfigs[client],
dependencies: clientDependencies({ scope, client: client }), dependencies: clientDependencies({ scope, client }),
}; };
await createProject(scope, configuration); await createProject(scope, configuration);

View File

@ -22,7 +22,9 @@ module.exports = function parseDatabaseArguments({ scope, args }) {
args.dbclient !== 'sqlite' args.dbclient !== 'sqlite'
) { ) {
return stopProcess( return stopProcess(
`⛔️ Some database arguments are missing. Required arguments list: ${dbArguments}` `⛔️ Some of the database arguments are missing. Required arguments: ${dbArguments.join(
', '
)}.`
); );
} }