@wocker/core 1.0.30-beta.1 → 1.0.31-beta.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.
@@ -1,4 +1,7 @@
1
1
  export declare class ProcessService {
2
+ get stdin(): NodeJS.ReadStream;
3
+ get stdout(): NodeJS.WriteStream;
4
+ get stderr(): NodeJS.WriteStream;
2
5
  pwd(path?: string): string;
3
6
  cd(path: string): void;
4
7
  chdir(path: string): void;
@@ -13,6 +13,15 @@ exports.ProcessService = void 0;
13
13
  const path_1 = __importDefault(require("path"));
14
14
  const decorators_1 = require("../decorators");
15
15
  let ProcessService = class ProcessService {
16
+ get stdin() {
17
+ return process.stdin;
18
+ }
19
+ get stdout() {
20
+ return process.stdout;
21
+ }
22
+ get stderr() {
23
+ return process.stdout;
24
+ }
16
25
  pwd(path = "") {
17
26
  return path_1.default.join(process.cwd(), path);
18
27
  }
@@ -23,7 +32,7 @@ let ProcessService = class ProcessService {
23
32
  process.chdir(path);
24
33
  }
25
34
  write(chunk) {
26
- return process.stdout.write(chunk);
35
+ return this.stdout.write(chunk);
27
36
  }
28
37
  };
29
38
  exports.ProcessService = ProcessService;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
3
  "type": "commonjs",
4
- "version": "1.0.30-beta.1",
4
+ "version": "1.0.31-beta.0",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Core of the Wocker",
7
7
  "license": "MIT",