This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: first release Signed-off-by: Charlike Mike Reagent <[email protected]>
- Loading branch information
Charlike Mike Reagent
committed
Nov 14, 2017
1 parent
1a68e6d
commit bd3d178
Showing
25 changed files
with
4,150 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"projectName": "new-release", | ||
"projectOwner": "tunnckoCore", | ||
"files": [ | ||
"CONTRIBUTORS.md" | ||
], | ||
"imageSize": 150, | ||
"commit": true, | ||
"contributors": [ | ||
{ | ||
"login": "olstenlarck", | ||
"name": "Charlike Mike Reagent", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/5038030?v=4", | ||
"profile": "https://i.am.charlike.online", | ||
"contributions": [ | ||
"question", | ||
"code", | ||
"doc", | ||
"review", | ||
"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,85 @@ | ||
version: 2 | ||
|
||
defaults: &defaults | ||
working_directory: ~/new-release | ||
docker: | ||
- image: circleci/node:8 | ||
|
||
restore_modules_cache: &restore_modules_cache | ||
restore_cache: | ||
keys: | ||
- new-release-{{ checksum "yarn.lock" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- new-release- | ||
|
||
|
||
jobs: | ||
install: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- *restore_modules_cache | ||
- run: | ||
name: Installing Dependencies | ||
command: yarn install | ||
- save_cache: | ||
key: new-release-{{ checksum "yarn.lock" }} | ||
paths: node_modules | ||
- run: | ||
name: Remove node_modules to cleanup workspace | ||
command: rm -rf node_modules | ||
|
||
test: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- *restore_modules_cache | ||
- run: | ||
name: Running tests and checks | ||
command: yarn test | ||
- run: | ||
name: Sending test coverage to CodeCov | ||
command: bash <(curl -s https://codecov.io/bash) | ||
|
||
build: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- *restore_modules_cache | ||
- run: | ||
name: Creating distributable files | ||
command: echo ok | ||
- store_artifacts: | ||
path: dist | ||
destination: new-release | ||
|
||
publish: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- *restore_modules_cache | ||
- run: | ||
name: Trying to deploy | ||
command: yarn hela release | ||
|
||
workflows: | ||
version: 2 | ||
automated: | ||
jobs: | ||
- install | ||
- test: | ||
requires: | ||
- install | ||
- build: | ||
requires: | ||
- test | ||
filters: | ||
branches: | ||
only: master | ||
- publish: | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: master | ||
context: org-global |
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,11 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,93 @@ | ||
# Always-ignore dirs # | ||
# #################### | ||
_gh_pages | ||
node_modules | ||
jspm_packages | ||
bower_components | ||
vendor | ||
build | ||
dest | ||
dist | ||
lib-cov | ||
coverage | ||
.nyc_output | ||
nyc_output | ||
nbproject | ||
cache | ||
temp | ||
tmp | ||
|
||
# npm >=5 lock file (& shrinkwrap), we use Yarn! | ||
package-lock.json | ||
npm-shrinkwrap.json | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Packages # | ||
# ########## | ||
*.7z | ||
*.dmg | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# OS, Logs and databases # | ||
# ######################### | ||
logs | ||
*.log | ||
*.log* | ||
*.dat | ||
*.sql | ||
*.sqlite | ||
*~ | ||
~* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Editors | ||
*.idea | ||
|
||
# Another files # | ||
# ############### | ||
Icon? | ||
.DS_Store* | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
.directory | ||
._* | ||
lcov.info | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# The `@std/esm` package cache | ||
.esm-cache | ||
|
||
# dotenv environment variables file | ||
.env |
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,13 @@ | ||
{ | ||
"extends": [ | ||
"tunnckocore" | ||
], | ||
"rules": { | ||
"import/no-dynamic-require": "off", | ||
"import/no-extraneous-dependencies": "off", | ||
"import/extensions": "off", | ||
"comma-dangle": "off", | ||
"global-require": "off", | ||
"semi": ["error", "never"] | ||
} | ||
} |
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,2 @@ | ||
# Enforce Unix newlines | ||
* text eol=lf |
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,93 @@ | ||
# Always-ignore dirs # | ||
# #################### | ||
_gh_pages | ||
node_modules | ||
jspm_packages | ||
bower_components | ||
vendor | ||
build | ||
dest | ||
dist | ||
lib-cov | ||
coverage | ||
.nyc_output | ||
nyc_output | ||
nbproject | ||
cache | ||
temp | ||
tmp | ||
|
||
# npm >=5 lock file (& shrinkwrap), we use Yarn! | ||
package-lock.json | ||
npm-shrinkwrap.json | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Packages # | ||
# ########## | ||
*.7z | ||
*.dmg | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# OS, Logs and databases # | ||
# ######################### | ||
logs | ||
*.log | ||
*.log* | ||
*.dat | ||
*.sql | ||
*.sqlite | ||
*~ | ||
~* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Editors | ||
*.idea | ||
|
||
# Another files # | ||
# ############### | ||
Icon? | ||
.DS_Store* | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
.directory | ||
._* | ||
lcov.info | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# The `@std/esm` package cache | ||
.esm-cache | ||
|
||
# dotenv environment variables file | ||
.env |
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 @@ | ||
extends: tunnckocore |
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,7 @@ | ||
{ | ||
"statements": 0, | ||
"functions": 0, | ||
"branches": 0, | ||
"lines": 0, | ||
"exclude": ["test"] | ||
} |
Oops, something went wrong.