medisot-base-server
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,7 @@ | ||
1.0.1 / 2020-03-23 | ||
=================== | ||
* [BUG] Main file fixed in package json | ||
* Updating **declaration file** and adding typings to package.json | ||
1.0.0 / 2020-03-23 | ||
@@ -2,0 +8,0 @@ =================== |
import { Cluster } from "cluster"; | ||
import { Container } from "inversify"; | ||
import { IBaseServer } from "./models/IBaseServer"; | ||
declare module 'medisot-base-server' { | ||
const IBaseServer: IBaseServer; | ||
class BaseServer { | ||
constructor(appFactory: (app: Express.Application, cluster: Cluster) => Express.Application, container: Container, serverConfig: (app: Express.Application) => void); | ||
run(): void; | ||
} | ||
namespace BaseServer {} | ||
var _BaseServer: BaseServer; | ||
export { IBaseServer, BaseServer } | ||
} | ||
declare class BaseServer { | ||
constructor(appFactory: (app: Express.Application, cluster: Cluster) => Express.Application, container: Container, serverConfig: (app: Express.Application) => void); | ||
run(): void; | ||
} | ||
export default BaseServer |
{ | ||
"name": "medisot-base-server", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Helps create an inversify express application that utilises all the cores of the CPU", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"scripts": { | ||
@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16679
63