@ozanarslan/corpus 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -170339,7 +170339,10 @@ class Server extends ServerAbstract {
170339
170339
  async close() {
170340
170340
  await this.handleBeforeClose?.();
170341
170341
  console.log("Closing...");
170342
- return await this.instance.close();
170342
+ await this.instance.close();
170343
+ if (Config.nodeEnv !== "test") {
170344
+ process.exit(0);
170345
+ }
170343
170346
  }
170344
170347
  }
170345
170348
  // src/index.ts
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ozanarslan/corpus",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "0.1.1",
5
+ "version": "0.1.2",
6
6
  "description": "Small Typescript backend framework with only core utilities",
7
7
  "author": "Ozan Arslan <ozanarslanwork@gmail.com>",
8
8
  "license": "MIT",