@expressots/core 2.16.0 → 2.16.1

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/lib/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [2.16.1](https://github.com/expressots/expressots/compare/2.16.0...2.16.1) (2024-08-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove reflect-metadata from main, add server env types ([43a5a33](https://github.com/expressots/expressots/commit/43a5a33d64381456930800555aef3ba0c6d1fd29))
9
+
3
10
  ## [2.16.0](https://github.com/expressots/expressots/compare/2.15.0...2.16.0) (2024-08-08)
4
11
 
5
12
 
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AppContainer = void 0;
13
+ require("reflect-metadata");
13
14
  const inversify_1 = require("inversify");
14
15
  const inversify_binding_decorators_1 = require("inversify-binding-decorators");
15
16
  /**
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServerEnvironment = void 0;
4
+ var server_env_types_1 = require("./server-env.types");
5
+ Object.defineProperty(exports, "ServerEnvironment", { enumerable: true, get: function () { return server_env_types_1.ServerEnvironment; } });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServerEnvironment = void 0;
4
+ /**
5
+ * Enum representing possible server environments.
6
+ * @options Development - Development environment.
7
+ * @options Production - Production environment.
8
+ */
9
+ var ServerEnvironment;
10
+ (function (ServerEnvironment) {
11
+ ServerEnvironment["Development"] = "development";
12
+ ServerEnvironment["Production"] = "production";
13
+ })(ServerEnvironment || (exports.ServerEnvironment = ServerEnvironment = {}));
@@ -1,3 +1,4 @@
1
+ import "reflect-metadata";
1
2
  import { Container, ContainerModule, interfaces } from "inversify";
2
3
  /**
3
4
  * Interface for container options that can be passed to the AppContainer class.
@@ -1 +1,2 @@
1
1
  export { Pattern, ExpressoConfig } from "./project-config";
2
+ export { ServerEnvironment } from "./server-env.types";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Enum representing possible server environments.
3
+ * @options Development - Development environment.
4
+ * @options Production - Production environment.
5
+ */
6
+ export declare enum ServerEnvironment {
7
+ Development = "development",
8
+ Production = "production"
9
+ }
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressots/core",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Expressots - modern, fast, lightweight nodejs web framework (@core)",
5
5
  "author": "Richard Zampieri",
6
6
  "main": "./lib/cjs/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressots/core",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Expressots - modern, fast, lightweight nodejs web framework (@core)",
5
5
  "author": "Richard Zampieri",
6
6
  "main": "./lib/cjs/index.js",