@tsed/vike 8.34.0 → 8.36.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.
@@ -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 compress from "compression";
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 { Env } from "@tsed/core";
2
1
  import { Configuration, registerProvider } from "@tsed/di";
2
+ import { Env } from "@tsed/core";
3
3
  import { Logger } from "@tsed/logger";
4
4
  export const VITE_SERVER = Symbol.for("VITE_DEV_SERVER");
5
5
  registerProvider({
@@ -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,5 +1,5 @@
1
- import { Options } from "sirv";
2
1
  import type { InlineConfig } from "vite";
2
+ import { Options } from "sirv";
3
3
  export type ViteConfig = InlineConfig & {
4
4
  enableStream?: boolean;
5
5
  statics?: Omit<Options, "dev">;
@@ -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.36.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.34.0",
30
- "@tsed/core": "8.34.0",
31
- "@tsed/di": "8.34.0",
32
- "@tsed/exceptions": "8.34.0",
33
- "@tsed/platform-http": "8.34.0",
34
- "@tsed/typescript": "8.34.0",
35
- "eslint": "9.12.0",
29
+ "@tsed/barrels": "8.36.0",
30
+ "@tsed/core": "8.36.0",
31
+ "@tsed/di": "8.36.0",
32
+ "@tsed/exceptions": "8.36.0",
33
+ "@tsed/platform-http": "8.36.0",
34
+ "@tsed/typescript": "8.36.0",
36
35
  "typescript": "6.0.2",
37
36
  "vike": "0.4.230",
38
37
  "vite": "7.3.2",