-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- no longer prepend dotfiles, leave to user definition - improve unhandled rejection error cases - overhaul README - improve overall logging to user for scenarios such as no task selected - overhaul symlinking task and provide backup option - fix issue where file already in place when attempting to symlink by removing/restoring backup
- Loading branch information
Showing
48 changed files
with
10,190 additions
and
1,288 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
{"presets": ["es2015"] } | ||
{ | ||
"presets": [[ | ||
"env", {} | ||
]], | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-object-rest-spread", | ||
"syntax-async-functions", | ||
"transform-regenerator" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
|
||
node_modules/ | ||
|
||
test/ |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"semi": false, | ||
"parser": "flow", | ||
"jsxBracketSameLine": true | ||
} |
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,3 +1,8 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "6" | ||
sudo: false | ||
install: | ||
- make setup | ||
script: | ||
- make test |
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,11 +1,11 @@ | ||
Issue summary | ||
=== | ||
### Issue summary | ||
|
||
Expected behavior | ||
=== | ||
|
||
Actual behavior | ||
=== | ||
### Expected behavior | ||
|
||
|
||
### Actual behavior | ||
|
||
|
||
### Steps to reproduce | ||
|
||
Steps to reproduce | ||
=== |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
MODULES = ./node_modules/.bin | ||
BABEL = $(MODULES)/babel | ||
ESLINT = $(MODULES)/eslint | ||
MOCHA = $(MODULES)/mocha | ||
|
||
SRC_BASE = src/ | ||
SCRIPT_DEST = ./ | ||
SCRIPT_SRC = $(SRC_BASE) | ||
|
||
help: | ||
@grep -E '^[a-zA-Z\._-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' | ||
|
||
lint: ## lints source 🎩 | ||
$(ESLINT) $(SCRIPT_SRC) | ||
|
||
compile-script: ## compiles scripts 🛠 | ||
$(BABEL) $(SCRIPT_SRC) -d $(SCRIPT_DEST) | ||
|
||
watch: compile-script ## watch for script changes and compile 🔍 | ||
$(BABEL) $(SCRIPT_SRC) --watch -d $(SCRIPT_DEST) | ||
|
||
setup: ## set up project for development 🏠 | ||
npm install | ||
|
||
build: ## build sources 🔨 | ||
make compile-script | ||
|
||
develop: build ## run development task 👷 | ||
make watch | ||
|
||
test: build ## test internal functions 👨⚕ | ||
make lint && $(MOCHA) | ||
|
||
cleanup: ## tidy out any generated/deployed files 👨🔧 | ||
rm -rf lib test |
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,10 +1,14 @@ | ||
Fixes # || Adds new feature X | ||
=== | ||
|
||
Changes include; | ||
|
||
## Changes | ||
* a | ||
* b | ||
* c | ||
|
||
## Checks | ||
- [ ] Passes linting | ||
- [ ] Passes tests | ||
- [ ] Applicable tests created if necessary | ||
|
||
@jh3y |
Oops, something went wrong.