@node-cli/run 0.0.7 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -10
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* returns both `stdout` and `stderr`.
|
|
4
|
-
* If the command fails to run (invalid command or the commands status is
|
|
5
|
-
* anything but 0), the call will throw an exception. The exception can be
|
|
6
|
-
* ignored if the `options.ignoreError` flag is true.
|
|
7
|
-
*
|
|
8
|
-
* @async
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
9
3
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}) => Promise<any>;
|
|
4
|
+
|
|
5
|
+
export * from "./index";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-cli/run",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"description": "A wrapper for child_process for nodejs CLI apps",
|
|
@@ -16,17 +16,18 @@
|
|
|
16
16
|
"kleur": "4.1.5"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "yarn run clean && yarn run build:types && yarn run build:js && yarn run build:barrel",
|
|
20
|
+
"build:barrel": "barrelsby --delete --directory dist --pattern \"**/*.d.ts\" --name \"index.d\"",
|
|
20
21
|
"build:js": "swc --source-maps --out-dir dist src",
|
|
21
22
|
"build:types": "tsc",
|
|
22
23
|
"clean": "rimraf dist types coverage",
|
|
23
24
|
"lint": "eslint \"src/*.ts\"",
|
|
24
|
-
"test": "jest",
|
|
25
|
+
"test": "cross-env-shell NODE_OPTIONS=--experimental-vm-modules jest",
|
|
25
26
|
"test:coverage": "npm run test -- --coverage",
|
|
26
27
|
"watch": "swc --watch --out-dir dist src"
|
|
27
28
|
},
|
|
28
29
|
"publishConfig": {
|
|
29
30
|
"access": "public"
|
|
30
31
|
},
|
|
31
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "fe6401830d153ab91166243c2cafd96f6cc0d9b5"
|
|
32
33
|
}
|