<commit_before>/**
 * Installation
 */

const fs = require('fs');
const theCWD = process.cwd();
const theCWDArray = theCWD.split('/');
const theDir = theCWDArray[theCWDArray.length - 1];
const ora = require('ora');
const execa = require('execa');
const chalk = require('chalk');
const download = require('download');
const handleError = require('./handleError.js');
const clearConsole = require('./clearConsole.js');
const printNextSteps = require('./printNextSteps.js');

module.exports = () => {
	// Init.
	clearConsole();

	// Files.
	const filesToDownload = [
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/.babelrc',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/.gitignore',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/.stylelintrc',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/LICENSE',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/README.md',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/gulpfile.js',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/installer/package.json',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/css/globals.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/css/mixins.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/css/style.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/css/variables.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/css/wordpressify.css',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/assets/js/main.js',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/404.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/archive.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/comments.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/content-none.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/content-page.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/content-single.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/content.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/footer.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/functions.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/header.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/index.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/page.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/screenshot.png',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/search.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/searchform.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/sidebar.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-14/src/theme/single.php',
	];

	// Organise file structure
	const dotFiles = ['.babelrc', '.gitignore', '.stylelintrc'];
	const cssFiles = ['globals.css', 'mixins.css', 'style.css', 'variables.css', 'wordpressify.css'];
	const jsFiles = ['main.js'];
	const pluginFiles = ['README.md'];
	const themeFiles = [
		'404.php',
		'archive.php',
		'comments.php',
		'content-none.php',
		'content-page.php',
		'content-single.php',
		'content.php',
		'footer.php',
		'functions.php',
		'header.php',
		'index.php',
		'page.php',
		'screenshot.png',<commit_msg>🚀 RELEASE: Update download URLs<commit_after>/**
 * Installation
 */

const fs = require('fs');
const theCWD = process.cwd();
const theCWDArray = theCWD.split('/');
const theDir = theCWDArray[theCWDArray.length - 1];
const ora = require('ora');
const execa = require('execa');
const chalk = require('chalk');
const download = require('download');
const handleError = require('./handleError.js');
const clearConsole = require('./clearConsole.js');
const printNextSteps = require('./printNextSteps.js');

module.exports = () => {
	// Init.
	clearConsole();

	// Files.
	const filesToDownload = [
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/.babelrc',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/.gitignore',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/.stylelintrc',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/LICENSE',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/README.md',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/gulpfile.js',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/installer/package.json',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/css/globals.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/css/mixins.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/css/style.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/css/variables.css',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/css/wordpressify.css',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/assets/js/main.js',

		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/404.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/archive.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/comments.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/content-none.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/content-page.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/content-single.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/content.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/footer.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/functions.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/header.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/index.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/page.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/screenshot.png',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/search.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/searchform.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/sidebar.php',
		'https://raw.githubusercontent.com/luangjokaj/wordpressify/v0.2.8-15/src/theme/single.php',
	];

	// Organise file structure
	const dotFiles = ['.babelrc', '.gitignore', '.stylelintrc'];
	const cssFiles = ['globals.css', 'mixins.css', 'style.css', 'variables.css', 'wordpressify.css'];
	const jsFiles = ['main.js'];
	const pluginFiles = ['README.md'];
	const themeFiles = [
		'404.php',
		'archive.php',
		'comments.php',
		'content-none.php',
		'content-page.php',
		'content-single.php',
		'content.php',
		'footer.php',
		'functions.php',
		'header.php',
		'index.php',
		'page.php',
		'screenshot.png',
{'fraction_non_alphanumeric': 0.19154355578196638, 'fraction_numerical': 0.039989811512990324, 'mean_word_length': 4.518622628250176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 60, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '888414', 'n_tokens_mistral': 3322, 'n_tokens_neox': 3082, 'n_words': 219}