@tsed/vike 8.34.0 → 8.35.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/esm/ViteModule.js +3 -3
- package/lib/esm/middlewares/ViteRendererMiddleware.js +1 -1
- package/lib/esm/services/ViteServer.js +1 -1
- package/lib/types/ViteModule.d.ts +1 -1
- package/lib/types/interfaces/ViteConfig.d.ts +1 -1
- package/lib/types/services/ViteService.d.ts +1 -1
- package/package.json +8 -9
package/lib/esm/ViteModule.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
2
|
import { Inject, Module } from "@tsed/di";
|
|
3
|
-
import { PlatformApplication } from "@tsed/platform-http";
|
|
4
3
|
import { PlatformViews } from "@tsed/platform-views";
|
|
5
|
-
import
|
|
6
|
-
import { ViteRendererMiddleware } from "./middlewares/ViteRendererMiddleware.js";
|
|
4
|
+
import { PlatformApplication } from "@tsed/platform-http";
|
|
7
5
|
import { VITE_SERVER } from "./services/ViteServer.js";
|
|
6
|
+
import { ViteRendererMiddleware } from "./middlewares/ViteRendererMiddleware.js";
|
|
8
7
|
import { ViteService } from "./services/ViteService.js";
|
|
8
|
+
import compress from "compression";
|
|
9
9
|
let ViteModule = class ViteModule {
|
|
10
10
|
$onInit() {
|
|
11
11
|
this.platformView.registerEngine("vite", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
+
import { Context } from "@tsed/platform-params";
|
|
2
3
|
import { Inject } from "@tsed/di";
|
|
3
4
|
import { Middleware } from "@tsed/platform-middlewares";
|
|
4
|
-
import { Context } from "@tsed/platform-params";
|
|
5
5
|
import { ViteService } from "../services/ViteService.js";
|
|
6
6
|
let ViteRendererMiddleware = class ViteRendererMiddleware {
|
|
7
7
|
async use($ctx) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PlatformApplication } from "@tsed/platform-http";
|
|
2
1
|
import { PlatformViews } from "@tsed/platform-views";
|
|
2
|
+
import { PlatformApplication } from "@tsed/platform-http";
|
|
3
3
|
import { VITE_SERVER } from "./services/ViteServer.js";
|
|
4
4
|
import { ViteService } from "./services/ViteService.js";
|
|
5
5
|
export declare class ViteModule {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Writable } from "node:stream";
|
|
2
1
|
import { PlatformContext } from "@tsed/platform-http";
|
|
3
2
|
import { ViteConfig } from "../interfaces/ViteConfig.js";
|
|
3
|
+
import { Writable } from "node:stream";
|
|
4
4
|
export declare class ViteService {
|
|
5
5
|
static moduleName: string;
|
|
6
6
|
protected config: ViteConfig;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/vike",
|
|
3
|
+
"version": "8.35.0",
|
|
3
4
|
"description": "Vike package for Ts.ED framework",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"version": "8.34.0",
|
|
6
5
|
"source": "./src/index.ts",
|
|
6
|
+
"type": "module",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
9
9
|
"typings": "./lib/types/index.d.ts",
|
|
@@ -26,13 +26,12 @@
|
|
|
26
26
|
"sirv": "^2.0.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@tsed/barrels": "8.
|
|
30
|
-
"@tsed/core": "8.
|
|
31
|
-
"@tsed/di": "8.
|
|
32
|
-
"@tsed/exceptions": "8.
|
|
33
|
-
"@tsed/platform-http": "8.
|
|
34
|
-
"@tsed/typescript": "8.
|
|
35
|
-
"eslint": "9.12.0",
|
|
29
|
+
"@tsed/barrels": "8.35.0",
|
|
30
|
+
"@tsed/core": "8.35.0",
|
|
31
|
+
"@tsed/di": "8.35.0",
|
|
32
|
+
"@tsed/exceptions": "8.35.0",
|
|
33
|
+
"@tsed/platform-http": "8.35.0",
|
|
34
|
+
"@tsed/typescript": "8.35.0",
|
|
36
35
|
"typescript": "6.0.2",
|
|
37
36
|
"vike": "0.4.230",
|
|
38
37
|
"vite": "7.3.2",
|