@nattyjs/common 0.0.1-beta.47 → 0.0.1-beta.48

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.cjs CHANGED
@@ -603,9 +603,9 @@ function registerType(type) {
603
603
  }
604
604
 
605
605
  class AbstractRunner {
606
- stop() {
606
+ async stop() {
607
607
  if (this.childProcess)
608
- return this.childProcess.kill();
608
+ this.childProcess.kill();
609
609
  }
610
610
  async exec(command, args, cwd = process.cwd()) {
611
611
  const options = {
package/dist/index.d.ts CHANGED
@@ -111,7 +111,7 @@ interface NattyConfig {
111
111
  declare abstract class AbstractRunner {
112
112
  abstract run(): void;
113
113
  childProcess: ChildProcess;
114
- stop(): boolean;
114
+ stop(): Promise<void>;
115
115
  protected exec(command: string, args: any[], cwd?: string): Promise<null | string>;
116
116
  }
117
117
 
package/dist/index.mjs CHANGED
@@ -586,9 +586,9 @@ function registerType(type) {
586
586
  }
587
587
 
588
588
  class AbstractRunner {
589
- stop() {
589
+ async stop() {
590
590
  if (this.childProcess)
591
- return this.childProcess.kill();
591
+ this.childProcess.kill();
592
592
  }
593
593
  async exec(command, args, cwd = process.cwd()) {
594
594
  const options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattyjs/common",
3
- "version": "0.0.1-beta.47",
3
+ "version": "0.0.1-beta.48",
4
4
  "description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
5
5
  "keywords": [],
6
6
  "author": "ajayojha <ojhaajay@outlook.com>",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "20.3.1",
24
- "@nattyjs/types": "0.0.1-beta.47",
24
+ "@nattyjs/types": "0.0.1-beta.48",
25
25
  "unbuild": "1.2.1"
26
26
  }
27
27
  }