Skip to content

Commit 4570625

Browse files
committed
stupid rename...
1 parent f423bb2 commit 4570625

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "poops",
33
"description": "A super simple bundler for simple web projects.",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"license": "MIT",
66
"main": "poops.js",
77
"repository": "https://github.com/stamat/poops.git",

poops.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const cwd = process.cwd() // Current Working Directory
2020
const pkg = require('./package.json')
2121
const args = process.argv.slice(2)
2222

23-
let defaultConfigPath = 'poop.json'
23+
let defaultConfigPath = 'poops.json'
2424

2525
if (args.length) {
2626
defaultConfigPath = args[0]
@@ -163,21 +163,21 @@ function buildTime(start, end) {
163163
const style = new Style()
164164

165165
// CLI Header
166-
console.log(`\n${style.color('#8b4513')}💩 Poop — v${pkg.version}
166+
console.log(`\n${style.color('#8b4513')}💩 Poops — v${pkg.version}
167167
----------------${style.reset + style.bell}\n`)
168168

169169
const configPath = path.join(cwd, defaultConfigPath)
170170

171-
// Check if poop.json exists
171+
// Check if poops.json exists
172172
if (!pathExists(configPath)) {
173173
console.log(`${style.redBright + style.bold}[error]${style.reset} \`${style.underline}${defaultConfigPath}${style.reset}\` not found.
174174
${style.dim}Configuration file \`${style.underline}${defaultConfigPath}${style.reset}${style.dim}\` not found in your working directory: ${style.underline}${cwd}${style.reset}\n
175-
${style.dim}Please specify another file path or create a \`poop.js\` file in your working directory and try again.\n
176-
${style.dim}For information on the structure of the configuration file, please visit: \n${style.underline}https://stamat.github.io/poop${style.reset}\n`)
175+
${style.dim}Please specify another file path or create a \`poops.json\` file in your working directory and try again.\n
176+
${style.dim}For information on the structure of the configuration file, please visit: \n${style.underline}https://stamat.github.io/poops${style.reset}\n`)
177177
process.exit(1)
178178
}
179179

180-
// Load poop.json
180+
// Load poops.json
181181
const config = require(configPath)
182182
const banner = config.banner ? fillBannerTemplate(config.banner) : null
183183

@@ -204,10 +204,10 @@ if (config.serve) {
204204
const port = config.serve.port ? parseInt(config.serve.port, 10) : 4040
205205
http.createServer(app).listen(port, () => {
206206
console.log(`${style.cyanBright + style.bold}[info]${style.reset} ${style.dim}🌍 Local server:${style.reset} ${style.italic + style.underline}http://localhost:${port}${style.reset}`)
207-
poop()
207+
poops()
208208
})
209209
} else {
210-
poop()
210+
poops()
211211
}
212212

213213
// SCSS/SASS Compiler
@@ -412,7 +412,7 @@ function compileScriptsEntry(infilePath, outfilePath, options = {}) {
412412
}
413413

414414
// Main function 💩
415-
function poop() {
415+
function poops() {
416416
if (config.livereload) {
417417
const lrExcludes = ['.git', '.svn', '.hg']
418418

0 commit comments

Comments
 (0)