Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Commit

Permalink
fix(initial): implementation
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 25 changed files with 4,150 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .all-contributorsrc
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"
]
}
]
}
85 changes: 85 additions & 0 deletions .circleci/config.yml
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
11 changes: 11 additions & 0 deletions .editorconfig
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
93 changes: 93 additions & 0 deletions .eslintignore
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
13 changes: 13 additions & 0 deletions .eslintrc
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"]
}
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Enforce Unix newlines
* text eol=lf
93 changes: 93 additions & 0 deletions .gitignore
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
1 change: 1 addition & 0 deletions .helarc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: tunnckocore
7 changes: 7 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"statements": 0,
"functions": 0,
"branches": 0,
"lines": 0,
"exclude": ["test"]
}
Loading

0 comments on commit bd3d178

Please sign in to comment.