Skip to content

Commit

Permalink
major(refactor): switch to use 'prompts' package
Browse files Browse the repository at this point in the history
Now it is a pretty cool replacement of the original `git commit` command.
Prompts few questions that forms a commit message compliant to the Conventional Commits spec (angular style commits). By defaul
t does not prompt for scope, body and footer. Use -x (--scope), -y (--body) or -w (--footer) flags.
  • Loading branch information
Charlike Mike Reagent committed Mar 7, 2018
1 parent 15d16c2 commit 3de8888
Show file tree
Hide file tree
Showing 28 changed files with 1,146 additions and 1,516 deletions.
24 changes: 0 additions & 24 deletions .all-contributorsrc

This file was deleted.

44 changes: 9 additions & 35 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- checkout
- *restore_modules_cache
- run:
name: Installing Dependencies
name: Installing dependencies
command: yarn install
- save_cache:
key: gitcommit-{{ checksum "yarn.lock" }}
Expand All @@ -41,32 +41,14 @@ jobs:
name: Sending test coverage to CodeCov
command: bash <(curl -s https://codecov.io/bash)

build:
release:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
- run:
name: Creating distributable files
command: echo ok
- store_artifacts:
path: dist
destination: gitcommit

# TODO: uncomment when ready
# publish:
# <<: *defaults
# steps:
# - checkout
# - *restore_modules_cache
# - run:
# name: Adding NPM auth token
# command: |
# # Foobie comment.
# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
# - run:
# name: Releasing to NPM and GitHub
# command: yarn start release
name: Releasing and publishing
command: yarn run release

workflows:
version: 2
Expand All @@ -76,18 +58,10 @@ workflows:
- test:
requires:
- install
- build:
- release:
requires:
- install
- test
# TODO: uncomment when ready
# - publish:
# filters:
# branches:
# only:
# - master
# context: org-global
# requires:
# - install
# - test
# - build
filters:
branches:
only: master
context: org-global
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# http://editorconfig.org/
root = true

[*]
Expand Down
93 changes: 0 additions & 93 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ dist
lib-cov
coverage
.nyc_output
nyc_output
nbproject
cache
temp
tmp
gitcommit

# npm >=5 lock file (& shrinkwrap), we use Yarn!
package-lock.json
Expand All @@ -41,7 +41,10 @@ typings/
# #########################
logs
*.log
*.log*
npm-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.dat
*.sql
*.sqlite
Expand All @@ -56,6 +59,7 @@ pids

# Editors
*.idea
*.vscode

# Another files #
# ###############
Expand Down Expand Up @@ -91,3 +95,4 @@ pids

# dotenv environment variables file
.env
.pem
1 change: 0 additions & 1 deletion .helarc.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .npmrc

This file was deleted.

7 changes: 0 additions & 7 deletions .nycrc.json

This file was deleted.

93 changes: 0 additions & 93 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc.json

This file was deleted.

Loading

0 comments on commit 3de8888

Please sign in to comment.