File tree Expand file tree Collapse file tree 25 files changed +4577
-3
lines changed Expand file tree Collapse file tree 25 files changed +4577
-3
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
1
+ # Enforce Unix newlines
2
+ * text eol =lf
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ extends : tunnckocore
Original file line number Diff line number Diff line change
1
+ save-exact = true
2
+ save = true
3
+ username = olstenlarck
4
+ silent = true
5
+ progress = true
Original file line number Diff line number Diff line change
1
+ {
2
+ "statements" : 0 ,
3
+ "functions" : 0 ,
4
+ "branches" : 0 ,
5
+ "lines" : 0 ,
6
+ "exclude" : [" test" ]
7
+ }
You can’t perform that action at this time.
0 commit comments