Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit cc12c73

Browse files
author
Charlike Mike Reagent
committed
major(release): initial github source push
BREAKING CHANGE: now default exports an object with Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent 20294d5 commit cc12c73

23 files changed

+4514
-4
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": "detect-next-version",
3+
"projectOwner": "tunnckoCore",
4+
"files": [
5+
"CONTRIBUTORS.md"
6+
],
7+
"imageSize": 150,
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://i.am.charlike.online",
15+
"contributions": [
16+
"question",
17+
"code",
18+
"doc",
19+
"review",
20+
"test"
21+
]
22+
}
23+
]
24+
}

.circleci/config.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
working_directory: ~/parse-commit-message
5+
docker:
6+
- image: circleci/node:8
7+
8+
restore_modules_cache: &restore_modules_cache
9+
restore_cache:
10+
keys:
11+
- parse-commit-message-{{ checksum "yarn.lock" }}
12+
# fallback to using the latest cache if no exact match is found
13+
- parse-commit-message-
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: parse-commit-message-{{ 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: parse-commit-message
55+
56+
publish:
57+
<<: *defaults
58+
steps:
59+
- checkout
60+
- *restore_modules_cache
61+
- run:
62+
name: Trying to deploy
63+
command: yarn hela release
64+
65+
workflows:
66+
version: 2
67+
automated:
68+
jobs:
69+
- install
70+
- test:
71+
requires:
72+
- install
73+
- build:
74+
requires:
75+
- test
76+
filters:
77+
branches:
78+
only: master
79+
- publish:
80+
requires:
81+
- build
82+
filters:
83+
branches:
84+
only: master
85+
context: org-global

.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"tunnckocore"
4+
]
5+
}

.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.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"tunnckocore"
4+
]
5+
}

.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)