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

Commit

Permalink
major: renamed to scoped package
Browse files Browse the repository at this point in the history
Signed-off-by: Charlike Mike Reagent <[email protected]>
  • Loading branch information
Charlike Mike Reagent committed Nov 1, 2018
1 parent 84f7cce commit acdd6ad
Show file tree
Hide file tree
Showing 28 changed files with 3,111 additions and 2,560 deletions.
21 changes: 12 additions & 9 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{
"projectName": "execa-pro",
"projectOwner": "tunnckoCore",
"projectName": "execa",
"projectOwner": "tunnckoCoreLabs",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"CONTRIBUTORS.md"
"README.md"
],
"imageSize": 150,
"commit": true,
"imageSize": 120,
"commit": false,
"contributorsPerLine": 6,
"contributors": [
{
"login": "olstenlarck",
"login": "tunnckoCore",
"name": "Charlike Mike Reagent",
"avatar_url": "https://avatars3.githubusercontent.com/u/5038030?v=4",
"profile": "https://i.am.charlike.online",
"profile": "https://tunnckocore.com",
"contributions": [
"question",
"code",
"doc",
"question",
"review",
"test"
"fundingFinding"
]
}
]
Expand Down
180 changes: 122 additions & 58 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,85 +1,149 @@
version: 2

defaults: &defaults
working_directory: ~/execa-pro
workdir: &workdir
working_directory: ~/execa

# node8osx: &node8osx
# <<: *workdir
# macos:
# xcode: "9.2"

# node10osx: &node10osx
# <<: *workdir
# macos:
# xcode: "9"

node8linux: &node8linux
<<: *workdir
docker:
- image: circleci/node:8

node10linux: &node10linux
<<: *workdir
docker:
- image: circleci/node:10

restore_modules_cache: &restore_modules_cache
restore_cache:
keys:
- execa-pro-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- execa-pro-
- execa-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- execa-

# jobinstall: &jobinstall
# steps:
# - checkout
# # - *restore_modules_cache
# - run:
# name: Installing PNPM package manager
# command: sudo npm i -g pnpm
# - run:
# name: Installing project dependencies
# command: pnpm run inst
# - save_cache:
# key: execa-{{ checksum "yarn.lock" }}
# paths: node_modules
# - run:
# name: Remove node_modules to cleanup workspace
# command: rm -rf node_modules

jobtest: &jobtest
steps:
- checkout
- *restore_modules_cache
- run:
name: Installing project dependencies
command: yarn install --prefer-offline || yarn install
- run:
name: Testing your project
command: yarn test
- save_cache:
key: execa-{{ checksum "yarn.lock" }}
paths: node_modules
- run:
name: Sending test coverage to CodeCov
command: bash <(curl -s https://codecov.io/bash)

jobs:
install:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
- run:
name: Installing Dependencies
command: yarn install
- save_cache:
key: execa-pro-{{ checksum "yarn.lock" }}
paths: node_modules
- run:
name: Remove node_modules to cleanup workspace
command: rm -rf node_modules
# install-node8linux:
# <<: *node8linux
# <<: *jobinstall

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)
test-node8linux:
<<: *node8linux
<<: *jobtest

build:
<<: *defaults
# install-node10linux:
# <<: *node10linux
# <<: *jobinstall

test-node10linux:
<<: *node10linux
<<: *jobtest

# install-node8osx:
# <<: *node8osx
# <<: *jobinstall

# test-node8osx:
# <<: *node8osx
# <<: *jobtest

# install-node10osx:
# <<: *node10osx
# <<: *jobinstall

# test-node10osx:
# <<: *node10osx
# <<: *jobtest

release:
<<: *node10linux
steps:
- checkout
- *restore_modules_cache
- run:
name: Creating distributable files
command: echo ok
- store_artifacts:
path: dist
destination: execa-pro

publish:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
name: Bundling your awesome project
command: yarn build || echo "No build step."
- run:
name: Trying to deploy
command: yarn hela release
name: Releasing and publishing
command: yarn new-release

workflows:
version: 2
automated:
jobs:
- install
- test:
requires:
- install
- build:
requires:
- test
filters:
branches:
only: master
- publish:
# Linux
- test-node8linux
- test-node10linux

# - install-node8linux
# - test-node8linux:
# requires:
# - install-node8linux
# - install-node10linux
# - test-node10linux:
# requires:
# - install-node10linux
# OSX
# - install-node8osx
# - test-node8osx:
# requires:
# - install-node8osx
# - install-node10osx
# - test-node10osx:
# requires:
# - install-node10osx

# Release and NPM publish
# Executed only on master
- release:
requires:
- build
# - test-node8osx
# - test-node10osx
- test-node8linux
- test-node10linux
filters:
branches:
only: master
context: org-global
context: org-secret
5 changes: 3 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# http://editorconfig.org/
root = true

[*]
[*.{js,mjs,jsx,ts,tsx}]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
trim_trailing_whitespace = false
87 changes: 43 additions & 44 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
# 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
execa

# npm >=5 lock file (& shrinkwrap), we use Yarn!
# Lockfiles. We use Yarn (https://yarnpkg.com/)
package-lock.json
npm-shrinkwrap.json
shrinkwrap.yaml

# Typescript v1 declaration files
typings/

# Packages #
# Archives and packages #
# ##########
*.7z
*.dmg
Expand All @@ -47,47 +29,64 @@ logs
*.sqlite
*~
~*
.DS_Store*

# dotenv environment variables file
.env
.pem
*.pem

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Editors
*.idea
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Another files #
# ###############
Icon?
.DS_Store*
Thumbs.db
ehthumbs.db
Desktop.ini
.directory
._*
lcov.info
# Coverage directory used by tools like istanbul
coverage

# Runtime data
pids
*.pid
*.seed
*.pid.lock
# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Optional eslint cache
.eslintcache
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# The `@std/esm` package cache
.esm-cache

# dotenv environment variables file
.env

# next.js build output
.next
13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

Loading

0 comments on commit acdd6ad

Please sign in to comment.