This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 25502c2
Showing
28 changed files
with
1,248 additions
and
0 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,3 @@ | ||
{ | ||
"extends": ["angular"] | ||
} |
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 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
|
||
types: [ | ||
{value: 'feat', name: 'feat: A new feature'}, | ||
{value: 'fix', name: 'fix: A bug fix'}, | ||
{value: 'docs', name: 'docs: Documentation only changes'}, | ||
{value: 'style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)'}, | ||
{value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature'}, | ||
{value: 'perf', name: 'perf: A code change that improves performance'}, | ||
{value: 'test', name: 'test: Adding missing tests'}, | ||
{value: 'chore', name: 'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation'}, | ||
{value: 'revert', name: 'revert: Revert to a commit'} | ||
], | ||
|
||
scopes: [ | ||
{} | ||
], | ||
|
||
allowCustomScopes: false, | ||
allowBreakingChanges: ['feat'] | ||
|
||
}; |
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,17 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
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,5 @@ | ||
.nyc_output | ||
coverage | ||
dist | ||
node_modules | ||
npm-debug.log |
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 @@ | ||
save-exact = true | ||
|
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,21 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '6' | ||
- '4' | ||
matrix: | ||
fast_finish: true | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper-.*$/ | ||
cache: | ||
directories: | ||
- node_modules | ||
notifications: | ||
email: | ||
on_success: never | ||
|
||
before_script: 'npm run linter' | ||
script: 'npm test' | ||
after_script: 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls' |
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,9 @@ | ||
{ | ||
"recommendations": [ | ||
"EditorConfig.EditorConfig", | ||
"eg2.tslint", | ||
"KnisterPeter.vscode-github", | ||
"KnisterPeter.vscode-commitizen", | ||
"KnisterPeter.vscode-ava-runner" | ||
] | ||
} |
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,9 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/dist": true, | ||
"**/coverage": true | ||
} | ||
} |
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,21 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "0.1.0", | ||
"command": "npm", | ||
"isShellCommand": true, | ||
"showOutput": "silent", | ||
"suppressTaskName": true, | ||
"tasks": [ | ||
{ | ||
"taskName": "build", | ||
"args": [ | ||
"run", | ||
"watch:build" | ||
], | ||
"isBuildCommand": true, | ||
"isWatching": true, | ||
"problemMatcher": "$tsc-watch" | ||
} | ||
] | ||
} |
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,59 @@ | ||
# Contribution Guide | ||
|
||
## Found an Issue? | ||
|
||
Thank you for reporting any issues you find. We do our best to test and make paeckchen as solid as possible, | ||
but any reported issue is a real help. | ||
|
||
> paeckchen issues | ||
Please follow these guidelines when reporting issues: | ||
|
||
* Provide a title in the format of `<Error> when <Task>` | ||
* Provide a short summary of what you are trying to do | ||
* Provide the log of the encountered error if applicable | ||
* Provide the exact version of paeckchen | ||
* Be awesome and consider contributing a [pull request](#want-to-contribute) | ||
|
||
## Want to contribute? | ||
|
||
You consider contributing changes to paeckchen – we dig that! | ||
Please consider these guidelines when filing a pull request: | ||
|
||
> paeckchen pull requests | ||
* Follow the [Coding Rules](#coding-rules) | ||
* Follow the [Commit Rules](#commit-rules) | ||
* Make sure you rebased the current master branch when filing the pull request | ||
* Provide a short title with a maximum of 100 characters | ||
* Provide a more detailed description containing | ||
* What you want to achieve | ||
* What you changed | ||
* What you added | ||
* What you removed | ||
|
||
## Coding Rules | ||
|
||
To keep the code base of paeckchen neat and tidy the following rules apply to every change | ||
|
||
> Coding standards | ||
* Respect tslint | ||
* Use advanced language features where possible | ||
* Coverage never drops below 95% | ||
* No change may lower coverage by more than 1% | ||
* Be awesome | ||
|
||
## Commit Rules | ||
|
||
To help everyone with understanding the commit history of paeckchen the following commit rules are enforced. | ||
To make your life easier paeckchen is commitizen-friendly (For your convenience install [cz-cli](https://github.com/commitizen/cz-cli)). | ||
|
||
> Commit standards | ||
* [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) | ||
* husky commit message hook available | ||
* present tense | ||
* maximum of 100 characters | ||
* message format of `$type($scope): $message` | ||
|
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Markus Wolf | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,50 @@ | ||
# paeckchen-cli | ||
|
||
[![license][license-image]][license-url] | ||
[![npm][npm-version-image]][npm-version-url] | ||
[![dep][daviddm-image]][daviddm-url] | ||
[![travis][travis-image]][travis-url] | ||
[![appveyor][appveyor-image]][appveyor-url] | ||
[![coveralls][coveralls-image]][coveralls-url] | ||
[![commitizen][commitizen-image]][commitizen-url] | ||
|
||
CLI interface of [paeckchen](https://github.com/paeckchen/paeckchen). | ||
|
||
## Installation | ||
|
||
Grab it from npm | ||
|
||
```shell | ||
npm install paeckchen-cli | ||
``` | ||
|
||
## Usage | ||
|
||
```js | ||
import { paeckchenCli } from 'paeckchen-cli'; | ||
paeckchenCli(); | ||
``` | ||
|
||
--- | ||
Built by (c) KnisterPeter. Released under the MIT license. | ||
|
||
[license-image]: https://img.shields.io/github/license/paeckchen/paeckchen.svg | ||
[license-url]: https://github.com/paeckchen/paeckchen | ||
|
||
[travis-image]: https://travis-ci.org/paeckchen/paeckchen-cli.svg?branch=master | ||
[travis-url]: https://travis-ci.org/paeckchen/paeckchen-cli | ||
|
||
[appveyor-image]: https://ci.appveyor.com/api/projects/status/r5bibqgy676fbf87/branch/master?svg=true | ||
[appveyor-url]: https://ci.appveyor.com/project/KnisterPeter/paeckchen-cli/branch/master | ||
|
||
[coveralls-image]: https://coveralls.io/repos/github/paeckchen/paeckchen-cli/badge.svg?branch=master | ||
[coveralls-url]: https://coveralls.io/github/paeckchen/paeckchen-cli?branch=master | ||
|
||
[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg | ||
[commitizen-url]: http://commitizen.github.io/cz-cli/ | ||
|
||
[npm-version-image]: https://img.shields.io/npm/v/paeckchen-cli.svg | ||
[npm-version-url]: https://www.npmjs.com/package/paeckchen-cli | ||
|
||
[daviddm-image]: https://img.shields.io/david/paeckchen/paeckchen-cli.svg | ||
[daviddm-url]: https://david-dm.org/paeckchen/paeckchen-cli |
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,29 @@ | ||
environment: | ||
matrix: | ||
- nodejs_version: '6' | ||
- nodejs_version: '4' | ||
cache: | ||
- node_modules | ||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- set CI=true | ||
- set PATH=%APPDATA%\npm;%PATH% | ||
- node --version | ||
- npm --version | ||
matrix: | ||
fast_finish: true | ||
max_jobs: 6 | ||
version: '{build}' | ||
shallow_clone: true | ||
clone_depth: 1 | ||
skip_tags: true | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper-.*$/ | ||
build: off | ||
before_test: | ||
- npm install | ||
test_script: | ||
- npm test | ||
deploy: off |
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 @@ | ||
export * from './dist/src/index'; |
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,98 @@ | ||
{ | ||
"name": "paeckchen-cli", | ||
"version": "0.4.1", | ||
"description": "paeckchen command line interface", | ||
"main": "dist/src/index.js", | ||
"bin": { | ||
"paeckchen": "./dist/src/index.js" | ||
}, | ||
"files": [ | ||
"dist/src" | ||
], | ||
"scripts": { | ||
"commitmsg": "conventional-changelog-lint -e", | ||
"linter": "tslint --project ./tsconfig.json --type-check", | ||
"clean": "rimraf dist .nyc_output coverage", | ||
"prebuild": "npm run clean", | ||
"build": "tsc --sourceMap", | ||
"pretest": "npm run clean && tsc --inlineSourceMap", | ||
"test": "nyc --reporter lcov ava", | ||
"watch:build": "tsc --watch --sourceMap", | ||
"watch:test": "npm test -- --watch", | ||
"prerelease": "git checkout master && git pull origin master && npm test && npm run build", | ||
"release": "standard-version", | ||
"postrelease": "git push --follow-tags origin master && npm publish", | ||
"update": "tipi update" | ||
}, | ||
"tipi": { | ||
"version": "3.1.0", | ||
"template": "typescript" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "paeckchen/paeckchen-cli" | ||
}, | ||
"keywords": [], | ||
"author": { | ||
"name": "Markus Wolf", | ||
"email": "knister.peter@shadowrun-clan.de" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/paeckchen/paeckchen/issues" | ||
}, | ||
"homepage": "https://github.com/paeckchen/paeckchen#readme", | ||
"devDependencies": { | ||
"@knisterpeter/standard-tslint": "^1.0.0", | ||
"@types/debug": "~0.0.29", | ||
"@types/meow": "~3.6.0", | ||
"@types/minimist": "~1.1.29", | ||
"@types/node": "~6.0.52", | ||
"ava": "~0.17.0", | ||
"conventional-changelog-lint": "1.1.0", | ||
"coveralls": "~2.11.15", | ||
"cz-customizable": "4.0.0", | ||
"execa": "~0.5.0", | ||
"husky": "0.12.0", | ||
"nyc": "~10.0.0", | ||
"rimraf": "~2.5.4", | ||
"standard-version": "4.0.0", | ||
"source-map-support": "~0.4.6", | ||
"tipi-cli": "3.1.0", | ||
"tslint": "~4.1.1", | ||
"typescript": "~2.1.4" | ||
}, | ||
"dependencies": { | ||
"debug": "~2.4.5", | ||
"meow": "~3.7.0", | ||
"paeckchen-core": "~0.4.2", | ||
"terminal-kit": "~0.25.6" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-customizable" | ||
}, | ||
"cz-customizable": { | ||
"config": "./.cz-config.js" | ||
} | ||
}, | ||
"ava": { | ||
"files": [ | ||
"dist/test/**/*-test.js" | ||
], | ||
"source": [ | ||
"dist/src/**/*.js" | ||
], | ||
"require": [ | ||
"source-map-support/register" | ||
] | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"node_modules", | ||
"coverage", | ||
"dist/test", | ||
"test" | ||
] | ||
} | ||
} |
Oops, something went wrong.