Skip to content

Commit 7e1f0a2

Browse files
committed
build: 2.0.0-rc
1 parent c5d32f3 commit 7e1f0a2

File tree

9 files changed

+1155
-301
lines changed

9 files changed

+1155
-301
lines changed

.eslintignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#IDE
21
.vscode
3-
#
2+
.npmignore
3+
api
44
node_modules
5+
samples
6+
*.md
7+
*.json
8+
.DS_Store
9+
LICENSE

.eslintrc.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
"browser": true,
44
"node": true
55
},
6-
"extends": "eslint:recommended",
6+
"extends": ["plugin:prettier/recommended"],
77
"globals": {
88
"Promise": true,
99
"global": true
1010
},
1111
"parserOptions": {
12-
"ecmaVersion": 2017,
12+
"ecmaVersion": 2018,
1313
"sourceType": "module",
1414
"ecmaFeatures": {
1515
"jsx": true
1616
}
1717
},
1818
"rules": {
19-
"indent": ["error", 2, {"SwitchCase":1}],
19+
"indent": ["error", 2, { "SwitchCase": 1 }],
2020
"default-case": "error",
21-
"linebreak-style": [
22-
"error",
23-
"unix"
24-
],
25-
"quotes": [
26-
"error",
27-
"double"
28-
],
29-
"semi": [
30-
"error",
31-
"always"
32-
]
21+
"linebreak-style": ["error", "unix"],
22+
"semi": ["error", "always"],
23+
"no-console": "error",
24+
"no-undef": "error",
25+
"no-var": "error",
26+
"no-caller": "error",
27+
"no-throw-literal": "error",
28+
"no-unneeded-ternary": "error",
29+
"prefer-const": "error",
30+
"comma-spacing": ["error", { "before": false, "after": true }],
31+
"comma-style": ["error", "last"],
32+
"handle-callback-err": ["error", "^(err|error)$"]
3333
}
34-
}
34+
}

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules
2+
.eslintignore
3+
.gitignore
4+
.prettierignore
5+
.npmignore
6+
LICENSE
7+
*.png
8+
*.txt
9+
TODO
10+
*.md
11+
test.log
12+
.DS_Store

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"printWidth": 120,
3+
"singleQuote": true,
4+
"useTabs": false,
5+
"tabWidth": 2,
6+
"semi": true,
7+
"bracketSpacing": true,
8+
"trailingComma": "none",
9+
"arrowParens": "avoid"
10+
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Coderty S.L.
3+
Copyright (c) 2020 Coderty S.L.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1+
<p align="center">
2+
<a href="http://runnerty.io">
3+
<img height="257" src="https://runnerty.io/assets/header/logo-stroked.png">
4+
</a>
5+
<p align="center">A new way for processes managing</p>
6+
</p>
7+
8+
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
9+
<a href="#badge">
10+
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg">
11+
</a>
12+
113
# Shell executor for [Runnerty]:
214

15+
### Installation:
16+
```bash
17+
npm i @runnerty/executor-shell
18+
```
19+
320
### Configuration sample:
21+
Add in [config.json]:
422
#### Local
523
```json
624
{
@@ -21,6 +39,7 @@
2139
```
2240

2341
### Plan sample:
42+
Add in [plan.json]:
2443
```json
2544
{
2645
"id":"shell_default",
@@ -62,11 +81,19 @@ This the output of `my-returning-object-process.js`:
6281
}
6382
```
6483

65-
Output values with the object's values:
66-
84+
Output values with the object's values.
85+
It is possible to access the values by [GETVALUE] function:
6786
```
6887
@GV(PROCESS_EXEC_JSON_NAME) --> "my output name"
6988
@GV(PROCESS_EXEC_JSON_LASTNAME) --> "my output lastName"
7089
```
7190

7291
[Runnerty]: http://www.runnerty.io
92+
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-shell.svg
93+
[npm-url]: https://www.npmjs.com/package/@runnerty/executor-shell
94+
[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-shell.svg
95+
[david-badge]: https://david-dm.org/runnerty/executor-shell.svg
96+
[david-badge-url]: https://david-dm.org/runnerty/executor-shell
97+
[GETVALUE]: http://docs.runnerty.io/functions/
98+
[config.json]: http://docs.runnerty.io/config/
99+
[plan.json]: http://docs.runnerty.io/plan/

0 commit comments

Comments
 (0)