-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75265fa
commit e878b30
Showing
5 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,66 @@ | ||
/** | ||
* Prints next steps. | ||
* | ||
* @param {string} blockName The block name. | ||
* @param {string} blockDir The block directory. | ||
*/ | ||
|
||
const chalk = require('chalk'); | ||
|
||
module.exports = () => { | ||
console.log('\n\nβ ', chalk.black.bgGreen(' All done! Happy coding. \n')); | ||
console.log( | ||
'Installer has added πΊ GoPablo files to the current directory. ', | ||
'\nInside this directory, you can run this command:', | ||
'\nInside this directory, you can run this command:' | ||
); | ||
|
||
// Scripts. | ||
// Scripts | ||
console.log( | ||
'\nπ ', | ||
' Type', | ||
chalk.black.bgWhite(' npm run dev '), | ||
'\n\n', | ||
' Use to compile and run your files.', | ||
'\n', | ||
' Watches for any changes and reports back any errors in your code.', | ||
' Watches for any changes and reports back any errors in your code.' | ||
); | ||
|
||
// Support. | ||
// Support | ||
console.log('\nβ ', chalk.black.bgYellow(' Support GoPablo \n')); | ||
console.log('Like GoPablo? Check out our other free and open source repositories: \n'); | ||
console.log( | ||
'Like GoPablo? Check out our other free and open source repositories: \n' | ||
); | ||
console.log( | ||
` ${chalk.yellow('Cherry β ')} https://bit.ly/3sEr75P`, | ||
'\n', | ||
` ${chalk.gray('β’ A design system to build the web.')}`, | ||
'\n', | ||
` ${chalk.yellow('GoPablo β ')} http://bit.ly/2Hgkfpy`, | ||
'\n', | ||
` ${chalk.gray('β’ Create optimized static websites.')}`, | ||
'\n', | ||
` ${chalk.yellow('WordPressify β ')} https://bit.ly/2KTqyQX`, | ||
'\n', | ||
` ${chalk.gray('Development workflow for WordPress themes.')}`, | ||
` ${chalk.gray('β’ Automate your WordPress development workflow.')}`, | ||
'\n', | ||
` ${chalk.yellow('FuzzyMail β ')} https://bit.ly/2P3Irlr`, | ||
` ${chalk.yellow('Nextify β ')} https://bit.ly/3m4lVWm`, | ||
'\n', | ||
` ${chalk.gray('Email template generator. Making emails fun again.')}`, | ||
` ${chalk.gray('β’ React apps using Next.js and Emotion.')}`, | ||
'\n', | ||
` ${chalk.yellow('ReactFondue β ')} https://bit.ly/2OXgStR`, | ||
` ${chalk.yellow('FuzzyMail β ')} https://bit.ly/2P3Irlr`, | ||
'\n', | ||
` ${chalk.gray('SEO optimized React applications with SSR.')}`, | ||
` ${chalk.gray('β’ Responsive email template generator.')}`, | ||
'\n', | ||
` ${chalk.green('Powered by Riangle β ')} https://bit.ly/2P5i26I`, | ||
'\n', | ||
'\n', | ||
` ${chalk.red('Thank you for using πΊ GoPablo β ')} https://www.gopablo.co`, | ||
` ${chalk.red('Thank you for using β‘ Nextify β ')} https://www.nextify.me` | ||
); | ||
|
||
// Get started. | ||
// Get started | ||
console.log('\n\nπ― ', chalk.black.bgGreen(' Get Started β \n')); | ||
console.log(' You can start: \n'); | ||
console.log( | ||
` ${chalk.dim('1.')} Editing your new website: ${chalk.green(`${process.cwd()}/src`)}`, | ||
` ${chalk.dim('1.')} Editing your new website: ${chalk.green( | ||
`${process.cwd()}/src` | ||
)}` | ||
); | ||
console.log( | ||
` ${chalk.dim('2.')} Running: ${chalk.green('npm')} run dev`, | ||
'\n\n' | ||
); | ||
console.log(` ${chalk.dim('2.')} Running: ${chalk.green('npm')} run dev`, '\n\n'); | ||
process.exit(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters