Skip to content

Commit

Permalink
Revert "Rename to site-up"
Browse files Browse the repository at this point in the history
This reverts commit 8933cf6.
  • Loading branch information
bcomnes committed Sep 5, 2021
1 parent b59f579 commit 8750674
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# site-up
# siteup
[![Actions Status](https://github.com/bcomnes/siteup/workflows/tests/badge.svg)](https://github.com/bcomnes/siteup/actions)

WIP - nothing to see here

```console
npm install site-up
npm install siteup
```

## Usage
Expand Down
16 changes: 8 additions & 8 deletions bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ async function run () {

if (argv.help) {
const pkg = await getPkg()
console.log(`siteUp (v${pkg.version})`)
console.log('Usage: siteUp [options]\n')
console.log(' Example: siteUp --src website --dest public\n')
console.log(`siteup (v${pkg.version})`)
console.log('Usage: siteup [options]\n')
console.log(' Example: siteup --src website --dest public\n')
clopts.print()
process.exit(0)
}
Expand All @@ -73,14 +73,14 @@ async function run () {

// TODO validate input a little better

const siteUp = new SiteUp(src, dest, cwd)
const siteup = new SiteUp(src, dest, cwd)

process.once('SIGINT', quit)
process.once('SIGTERM', quit)

async function quit () {
if (siteUp.watching) {
const results = await siteUp.stopWatching()
if (siteup.watching) {
const results = await siteup.stopWatching()
console.log(results)
console.log('watching stopped')
}
Expand All @@ -89,11 +89,11 @@ async function run () {
}

if (!argv.watch) {
const results = await siteUp.build()
const results = await siteup.build()
console.log(results)
console.log('done')
} else {
const initialResults = await siteUp.watch()
const initialResults = await siteup.watch()
console.log(initialResults)
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "site-up",
"name": "@bret/siteup",
"description": "WIP - nothing to see here",
"version": "0.0.9",
"type": "module",
"exports": {
"import": "./index.js"
},
"bin": {
"site-up": "./bin.js"
"siteup": "./bin.js"
},
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
"bugs": {
"url": "https://github.com/bcomnes/site-up/issues"
"url": "https://github.com/bcomnes/siteup/issues"
},
"dependencies": {
"async-folder-walker": "^2.0.1",
Expand Down Expand Up @@ -54,12 +54,12 @@
"standard": "^16.0.0",
"tap": "^15.0.1"
},
"homepage": "https://github.com/bcomnes/site-up",
"homepage": "https://github.com/bcomnes/siteup",
"keywords": [],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bcomnes/site-up.git"
"url": "https://github.com/bcomnes/siteup.git"
},
"scripts": {
"prepublishOnly": "git push --follow-tags && gh-release -y",
Expand Down

0 comments on commit 8750674

Please sign in to comment.