@expressots/core 2.14.1 → 2.15.0

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,28 @@
1
1
 
2
2
 
3
+ ## [2.15.0](https://github.com/expressots/expressots/compare/2.14.1...2.15.0) (2024-07-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * bump @types/node from 20.14.9 to 20.14.10 ([2061291](https://github.com/expressots/expressots/commit/20612919e11dcaaebe06cf740e7513efc80acdf9))
9
+ * bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.16.0 ([4c33e38](https://github.com/expressots/expressots/commit/4c33e38d1d3c7041c72758d1b9001b7e0788927a))
10
+ * bump @typescript-eslint/parser from 7.15.0 to 7.16.0 ([db38183](https://github.com/expressots/expressots/commit/db381837868cb0701b332ac5f23437c3bd5ba180))
11
+ * bump prettier from 3.3.2 to 3.3.3 ([1d3ee41](https://github.com/expressots/expressots/commit/1d3ee41902344a5fde5e79a0f6fafdde52ea31cd))
12
+ * bump release-it from 17.4.1 to 17.5.0 ([a4aa310](https://github.com/expressots/expressots/commit/a4aa3103f0b9df81dfa78f4de34ea3fbc7e407c9))
13
+ * bump vitest and @vitest/coverage-v8 ([f186dc3](https://github.com/expressots/expressots/commit/f186dc30c271267f0995276216a616f7b99e21ef))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * remove git modules cmds ([be88854](https://github.com/expressots/expressots/commit/be888548ed225feb43ad6db6929bf8d820ff8e1b))
19
+ * update index ([ebb6e8e](https://github.com/expressots/expressots/commit/ebb6e8ece46e343203136e8fc502a95ce23c2440))
20
+
21
+
22
+ ### Code Refactoring
23
+
24
+ * remove render from core ([70ba135](https://github.com/expressots/expressots/commit/70ba135593466cccb5d895029c588e544434dd26))
25
+
3
26
  ## [2.14.1](https://github.com/expressots/expressots/compare/2.14.0...2.14.1) (2024-07-04)
4
27
 
5
28
 
package/lib/cjs/index.js CHANGED
@@ -23,4 +23,3 @@ __exportStar(require("./decorator"), exports);
23
23
  __exportStar(require("./error"), exports);
24
24
  __exportStar(require("./middleware"), exports);
25
25
  __exportStar(require("./provider"), exports);
26
- __exportStar(require("./render"), exports);
@@ -7,4 +7,3 @@ export * from "./decorator";
7
7
  export * from "./error";
8
8
  export * from "./middleware";
9
9
  export * from "./provider";
10
- export * from "./render";
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressots/core",
3
- "version": "2.14.1",
3
+ "version": "2.15.0",
4
4
  "description": "Expressots - modern, fast, lightweight nodejs web framework (@core)",
5
5
  "author": "Richard Zampieri",
6
6
  "main": "./lib/cjs/index.js",
@@ -79,19 +79,19 @@
79
79
  "@expressots/adapter-express": "latest",
80
80
  "@release-it/conventional-changelog": "8.0.1",
81
81
  "@types/express": "4.17.21",
82
- "@types/node": "20.14.9",
83
- "@typescript-eslint/eslint-plugin": "7.15.0",
84
- "@typescript-eslint/parser": "7.15.0",
85
- "@vitest/coverage-v8": "1.4.0",
82
+ "@types/node": "20.14.10",
83
+ "@typescript-eslint/eslint-plugin": "7.16.0",
84
+ "@typescript-eslint/parser": "7.16.0",
85
+ "@vitest/coverage-v8": "2.0.2",
86
86
  "eslint": "8.57.0",
87
87
  "eslint-config-prettier": "9.1.0",
88
88
  "husky": "9.0.11",
89
- "prettier": "3.3.2",
90
- "release-it": "17.4.1",
89
+ "prettier": "3.3.3",
90
+ "release-it": "17.5.0",
91
91
  "typescript": "5.5.3",
92
92
  "vite": "5.3.3",
93
93
  "vite-tsconfig-paths": "4.3.2",
94
- "vitest": "1.4.0"
94
+ "vitest": "2.0.2"
95
95
  },
96
96
  "release-it": {
97
97
  "git": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressots/core",
3
- "version": "2.14.1",
3
+ "version": "2.15.0",
4
4
  "description": "Expressots - modern, fast, lightweight nodejs web framework (@core)",
5
5
  "author": "Richard Zampieri",
6
6
  "main": "./lib/cjs/index.js",
@@ -79,19 +79,19 @@
79
79
  "@expressots/adapter-express": "latest",
80
80
  "@release-it/conventional-changelog": "8.0.1",
81
81
  "@types/express": "4.17.21",
82
- "@types/node": "20.14.9",
83
- "@typescript-eslint/eslint-plugin": "7.15.0",
84
- "@typescript-eslint/parser": "7.15.0",
85
- "@vitest/coverage-v8": "1.4.0",
82
+ "@types/node": "20.14.10",
83
+ "@typescript-eslint/eslint-plugin": "7.16.0",
84
+ "@typescript-eslint/parser": "7.16.0",
85
+ "@vitest/coverage-v8": "2.0.2",
86
86
  "eslint": "8.57.0",
87
87
  "eslint-config-prettier": "9.1.0",
88
88
  "husky": "9.0.11",
89
- "prettier": "3.3.2",
90
- "release-it": "17.4.1",
89
+ "prettier": "3.3.3",
90
+ "release-it": "17.5.0",
91
91
  "typescript": "5.5.3",
92
92
  "vite": "5.3.3",
93
93
  "vite-tsconfig-paths": "4.3.2",
94
- "vitest": "1.4.0"
94
+ "vitest": "2.0.2"
95
95
  },
96
96
  "release-it": {
97
97
  "git": {
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,46 +0,0 @@
1
- /**
2
- * Configuration options for Express Handlebars.
3
- * @interface ConfigOptions
4
- */
5
- interface ConfigOptions {
6
- extname?: string;
7
- layoutDir?: string;
8
- defaultLayout?: string | false;
9
- }
10
- /**
11
- * Callback function for rendering templates.
12
- * @callback RenderCallback
13
- *
14
- * @param {Error | null} err - The error object.
15
- * @param {string} [content] - The rendered content.
16
- */
17
- interface RenderCallback {
18
- (err: Error | null, content?: string): void;
19
- }
20
- /**
21
- * Function for rendering templates.
22
- * @typedef Engine
23
- *
24
- * @param {string} viewPath - The path to the directory containing the templates.
25
- * @param {ConfigOptions} options - The configuration options for the template engine.
26
- * @param {RenderCallback} [callback] - The callback function for rendering templates.
27
- */
28
- type Engine = (viewPath: string, options: ConfigOptions, callback?: RenderCallback) => void;
29
- /**
30
- * Interface representing the configuration options for Handlebars templates.
31
- */
32
- interface IHandlebars {
33
- /**
34
- * Specifies the extension name for the Handlebars templates.
35
- */
36
- extName: string;
37
- /**
38
- * Specifies the path to the directory containing the Handlebars templates.
39
- */
40
- viewPath: string;
41
- /**
42
- * Specifies the function for rendering Handlebars templates.
43
- */
44
- engine: Engine;
45
- }
46
- export { IHandlebars };
@@ -1,2 +0,0 @@
1
- export { IHandlebars } from "./handlebars.interface";
2
- export { RenderTemplateOptions } from "./render.type";
@@ -1,12 +0,0 @@
1
- import { IHandlebars } from "./handlebars.interface";
2
- /**
3
- * Type alias for the configuration options for rendering templates.
4
- *
5
- * Currently, this type alias is equivalent to the `IHandlebars` interface,
6
- * and represents the configuration options for Handlebars templates.
7
- *
8
- * In the future, this type could be expanded to include configuration options
9
- * for other template engines.
10
- */
11
- type RenderTemplateOptions = IHandlebars;
12
- export { RenderTemplateOptions };