@mini2/core 1.0.5 → 1.0.7

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.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { default as App } from './app';
2
- export { default as Container } from './container';
2
+ export { Container } from 'inversify';
3
+ export { default as container } from './container';
3
4
  export * from './interfaces/app.interface';
4
5
  export * from './interfaces/authenticated.interface';
5
6
  export * from './interfaces/config.interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAGnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAG7B,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGvE,cAAc,SAAS,CAAC;AAGxB,cAAc,oBAAoB,CAAC;AAGnC,cAAc,QAAQ,CAAC;AAGvB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAGnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AAGpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAG7B,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGvE,cAAc,SAAS,CAAC;AAGxB,cAAc,oBAAoB,CAAC;AAGnC,cAAc,QAAQ,CAAC;AAGvB,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -17,13 +17,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.HttpException = exports.Container = exports.App = void 0;
20
+ exports.HttpException = exports.container = exports.Container = exports.App = void 0;
21
21
  // Ana Application sınıfı
22
22
  var app_1 = require("./app");
23
23
  Object.defineProperty(exports, "App", { enumerable: true, get: function () { return __importDefault(app_1).default; } });
24
- // Container için
24
+ // Container Class ve instance için
25
+ var inversify_1 = require("inversify");
26
+ Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return inversify_1.Container; } });
25
27
  var container_1 = require("./container");
26
- Object.defineProperty(exports, "Container", { enumerable: true, get: function () { return __importDefault(container_1).default; } });
28
+ Object.defineProperty(exports, "container", { enumerable: true, get: function () { return __importDefault(container_1).default; } });
27
29
  // Interfaces
28
30
  __exportStar(require("./interfaces/app.interface"), exports);
29
31
  __exportStar(require("./interfaces/authenticated.interface"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,yBAAyB;AACzB,6BAAuC;AAA9B,2GAAA,OAAO,OAAO;AAEvB,iBAAiB;AACjB,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAE7B,aAAa;AACb,6DAA2C;AAC3C,uEAAqD;AACrD,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAElD,cAAc;AACd,yEAAuD;AACvD,sEAAoD;AACpD,sEAAoD;AAEpD,QAAQ;AACR,sDAAoC;AACpC,+CAA6B;AAE7B,aAAa;AACb,8DAA4C;AAC5C,8DAAuE;AAA9D,gIAAA,OAAO,OAAiB;AAEjC,QAAQ;AACR,0CAAwB;AAExB,mBAAmB;AACnB,qDAAmC;AAEnC,iBAAiB;AACjB,yCAAuB;AAEvB,sBAAsB;AACtB,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,yBAAyB;AACzB,6BAAuC;AAA9B,2GAAA,OAAO,OAAO;AAEvB,mCAAmC;AACnC,uCAAsC;AAA7B,sGAAA,SAAS,OAAA;AAClB,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAE7B,aAAa;AACb,6DAA2C;AAC3C,uEAAqD;AACrD,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAElD,cAAc;AACd,yEAAuD;AACvD,sEAAoD;AACpD,sEAAoD;AAEpD,QAAQ;AACR,sDAAoC;AACpC,+CAA6B;AAE7B,aAAa;AACb,8DAA4C;AAC5C,8DAAuE;AAA9D,gIAAA,OAAO,OAAiB;AAEjC,QAAQ;AACR,0CAAwB;AAExB,mBAAmB;AACnB,qDAAmC;AAEnC,iBAAiB;AACjB,yCAAuB;AAEvB,sBAAsB;AACtB,4CAA0B"}
package/package.json CHANGED
@@ -6,9 +6,10 @@
6
6
  "rebuild": "npm run clean && npm run build",
7
7
  "prepublishOnly": "npm run rebuild",
8
8
  "dev": "tsc --watch",
9
- "publish:patch": "npm version patch && npm publish",
10
- "publish:minor": "npm version minor && npm publish",
11
- "publish:major": "npm version major && npm publish"
9
+ "publish": "npm run build && npm publish",
10
+ "publish:patch": "tsc && npm version patch && npm publish",
11
+ "publish:minor": "tsc && npm version minor && npm publish",
12
+ "publish:major": "tsc && npm version major && npm publish"
12
13
  },
13
14
  "main": "dist/index.js",
14
15
  "types": "dist/index.d.ts",
@@ -24,7 +25,7 @@
24
25
  "license": "ISC",
25
26
  "description": "Mini Express Framework - Lightweight and modular Express.js framework with TypeScript support",
26
27
  "name": "@mini2/core",
27
- "version": "1.0.5",
28
+ "version": "1.0.7",
28
29
  "author": "Mustafa Çolakoglu <mustafacolakoglu94@gmail.com> (https://github.com/mustafa-colakoglu)",
29
30
  "dependencies": {
30
31
  "class-transformer": "^0.5.1",