Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4fe01c9

Browse files
author
Charlike Mike Reagent
committedOct 30, 2017
chore(push): initial
Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent 5b9ecfc commit 4fe01c9

25 files changed

+4577
-3
lines changed
 

‎.all-contributorsrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"projectName": "gitcommit",
3+
"projectOwner": "tunnckoCore",
4+
"files": [
5+
"CONTRIBUTORS.md"
6+
],
7+
"imageSize": 100,
8+
"commit": true,
9+
"contributors": [
10+
{
11+
"login": "olstenlarck",
12+
"name": "Charlike Mike Reagent",
13+
"avatar_url": "https://avatars3.githubusercontent.com/u/5038030?v=4",
14+
"profile": "https://charlike.online",
15+
"contributions": [
16+
"question",
17+
"code",
18+
"doc",
19+
"review",
20+
"test"
21+
]
22+
}
23+
]
24+
}

‎.circleci/config.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
working_directory: ~/gitcommit
5+
docker:
6+
- image: circleci/node:8
7+
8+
restore_modules_cache: &restore_modules_cache
9+
restore_cache:
10+
keys:
11+
- gitcommit-{{ checksum "yarn.lock" }}
12+
# fallback to using the latest cache if no exact match is found
13+
- gitcommit-
14+
15+
16+
jobs:
17+
install:
18+
<<: *defaults
19+
steps:
20+
- checkout
21+
- *restore_modules_cache
22+
- run:
23+
name: Installing Dependencies
24+
command: yarn install
25+
- save_cache:
26+
key: gitcommit-{{ checksum "yarn.lock" }}
27+
paths: node_modules
28+
- run:
29+
name: Remove node_modules to cleanup workspace
30+
command: rm -rf node_modules
31+
32+
test:
33+
<<: *defaults
34+
steps:
35+
- checkout
36+
- *restore_modules_cache
37+
- run:
38+
name: Running tests and checks
39+
command: yarn test
40+
- run:
41+
name: Sending test coverage to CodeCov
42+
command: bash <(curl -s https://codecov.io/bash)
43+
44+
build:
45+
<<: *defaults
46+
steps:
47+
- checkout
48+
- *restore_modules_cache
49+
- run:
50+
name: Creating distributable files
51+
command: echo ok
52+
- store_artifacts:
53+
path: dist
54+
destination: gitcommit
55+
56+
# TODO: uncomment when ready
57+
# publish:
58+
# <<: *defaults
59+
# steps:
60+
# - checkout
61+
# - *restore_modules_cache
62+
# - run:
63+
# name: Adding NPM auth token
64+
# command: |
65+
# # Foobie comment.
66+
# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
67+
# - run:
68+
# name: Releasing to NPM and GitHub
69+
# command: yarn start release
70+
71+
workflows:
72+
version: 2
73+
automated:
74+
jobs:
75+
- install
76+
- test:
77+
requires:
78+
- install
79+
- build:
80+
requires:
81+
- install
82+
- test
83+
# TODO: uncomment when ready
84+
# - publish:
85+
# filters:
86+
# branches:
87+
# only:
88+
# - master
89+
# context: org-global
90+
# requires:
91+
# - install
92+
# - test
93+
# - build

‎.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.md]
11+
trim_trailing_whitespace = false

‎.eslintignore

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Always-ignore dirs #
2+
# ####################
3+
_gh_pages
4+
node_modules
5+
jspm_packages
6+
bower_components
7+
vendor
8+
build
9+
dest
10+
dist
11+
lib-cov
12+
coverage
13+
.nyc_output
14+
nyc_output
15+
nbproject
16+
cache
17+
temp
18+
tmp
19+
20+
# npm >=5 lock file (& shrinkwrap), we use Yarn!
21+
package-lock.json
22+
npm-shrinkwrap.json
23+
24+
# Typescript v1 declaration files
25+
typings/
26+
27+
# Packages #
28+
# ##########
29+
*.7z
30+
*.dmg
31+
*.iso
32+
*.jar
33+
*.rar
34+
*.tar
35+
*.zip
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# OS, Logs and databases #
41+
# #########################
42+
logs
43+
*.log
44+
*.log*
45+
*.dat
46+
*.sql
47+
*.sqlite
48+
*~
49+
~*
50+
51+
# Runtime data
52+
pids
53+
*.pid
54+
*.seed
55+
*.pid.lock
56+
57+
# Editors
58+
*.idea
59+
60+
# Another files #
61+
# ###############
62+
Icon?
63+
.DS_Store*
64+
Thumbs.db
65+
ehthumbs.db
66+
Desktop.ini
67+
.directory
68+
._*
69+
lcov.info
70+
71+
# Runtime data
72+
pids
73+
*.pid
74+
*.seed
75+
*.pid.lock
76+
77+
# Optional npm cache directory
78+
.npm
79+
80+
# Optional REPL history
81+
.node_repl_history
82+
83+
# Optional eslint cache
84+
.eslintcache
85+
86+
# Yarn Integrity file
87+
.yarn-integrity
88+
89+
# The `@std/esm` package cache
90+
.esm-cache
91+
92+
# dotenv environment variables file
93+
.env

‎.eslintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": [
3+
"tunnckocore"
4+
],
5+
"rules": {
6+
"import/no-dynamic-require": "off",
7+
"import/no-extraneous-dependencies": "off",
8+
"import/extensions": "off",
9+
"comma-dangle": "off",
10+
"global-require": "off"
11+
}
12+
}

‎.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enforce Unix newlines
2+
* text eol=lf

‎.gitignore

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Always-ignore dirs #
2+
# ####################
3+
_gh_pages
4+
node_modules
5+
jspm_packages
6+
bower_components
7+
vendor
8+
build
9+
dest
10+
dist
11+
lib-cov
12+
coverage
13+
.nyc_output
14+
nyc_output
15+
nbproject
16+
cache
17+
temp
18+
tmp
19+
20+
# npm >=5 lock file (& shrinkwrap), we use Yarn!
21+
package-lock.json
22+
npm-shrinkwrap.json
23+
24+
# Typescript v1 declaration files
25+
typings/
26+
27+
# Packages #
28+
# ##########
29+
*.7z
30+
*.dmg
31+
*.iso
32+
*.jar
33+
*.rar
34+
*.tar
35+
*.zip
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# OS, Logs and databases #
41+
# #########################
42+
logs
43+
*.log
44+
*.log*
45+
*.dat
46+
*.sql
47+
*.sqlite
48+
*~
49+
~*
50+
51+
# Runtime data
52+
pids
53+
*.pid
54+
*.seed
55+
*.pid.lock
56+
57+
# Editors
58+
*.idea
59+
60+
# Another files #
61+
# ###############
62+
Icon?
63+
.DS_Store*
64+
Thumbs.db
65+
ehthumbs.db
66+
Desktop.ini
67+
.directory
68+
._*
69+
lcov.info
70+
71+
# Runtime data
72+
pids
73+
*.pid
74+
*.seed
75+
*.pid.lock
76+
77+
# Optional npm cache directory
78+
.npm
79+
80+
# Optional REPL history
81+
.node_repl_history
82+
83+
# Optional eslint cache
84+
.eslintcache
85+
86+
# Yarn Integrity file
87+
.yarn-integrity
88+
89+
# The `@std/esm` package cache
90+
.esm-cache
91+
92+
# dotenv environment variables file
93+
.env

‎.helarc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extends: tunnckocore

‎.npmrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
save-exact=true
2+
save=true
3+
username=olstenlarck
4+
silent=true
5+
progress=true

‎.nycrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"statements": 0,
3+
"functions": 0,
4+
"branches": 0,
5+
"lines": 0,
6+
"exclude": ["test"]
7+
}

0 commit comments

Comments
 (0)
Please sign in to comment.