From 51b9b3681f46faf368c429302e127cf8c279d18d Mon Sep 17 00:00:00 2001 From: "Marc J. Schmidt" Date: Tue, 19 Mar 2024 02:45:57 +0100 Subject: [PATCH] fix(website): fix ssr, remove some pages --- website/README.md | 7 +++--- website/package.json | 8 +++---- .../src/app/pages/documentation.component.ts | 24 +++++++++---------- website/src/app/zone.ts | 16 +++++++++++-- yarn.lock | 16 ++++++------- 5 files changed, 41 insertions(+), 30 deletions(-) diff --git a/website/README.md b/website/README.md index 8f9c55b40..596d57e16 100644 --- a/website/README.md +++ b/website/README.md @@ -7,8 +7,6 @@ You are looking to change documentation? Go to ./src/pages/documentation Requires node v20. ```sh -npm ci - # frontend watcher npm run app:start @@ -16,14 +14,15 @@ npm run app:start npm run server:watch ``` +Or just `npm run dev`. + ## SSR build ``` npm run app:build npm run ssr:build npm run server -`` - +``` ## Build Docker image diff --git a/website/package.json b/website/package.json index fe8163435..52dda8bec 100644 --- a/website/package.json +++ b/website/package.json @@ -30,16 +30,16 @@ "@deepkit/desktop-ui": "^1.0.1-alpha.143", "@deepkit/event": "^1.0.1-alpha.143", "@deepkit/filesystem": "^1.0.1-alpha.143", - "@deepkit/framework": "^1.0.1-alpha.143", + "@deepkit/framework": "^1.0.1-alpha.144", "@deepkit/http": "^1.0.1-alpha.143", "@deepkit/injector": "^1.0.1-alpha.143", "@deepkit/logger": "^1.0.1-alpha.143", - "@deepkit/mongo": "^1.0.1-alpha.143", + "@deepkit/mongo": "^1.0.1-alpha.144", "@deepkit/orm": "^1.0.1-alpha.143", - "@deepkit/postgres": "^1.0.1-alpha.143", + "@deepkit/postgres": "^1.0.1-alpha.144", "@deepkit/rpc": "^1.0.1-alpha.143", "@deepkit/rpc-tcp": "^1.0.1-alpha.143", - "@deepkit/sql": "^1.0.1-alpha.143", + "@deepkit/sql": "^1.0.1-alpha.144", "@deepkit/stopwatch": "^1.0.1-alpha.143", "@deepkit/template": "^1.0.1-alpha.143", "@deepkit/type": "^1.0.1-alpha.143", diff --git a/website/src/app/pages/documentation.component.ts b/website/src/app/pages/documentation.component.ts index 37b67b15b..2cbeb200d 100644 --- a/website/src/app/pages/documentation.component.ts +++ b/website/src/app/pages/documentation.component.ts @@ -1,13 +1,13 @@ -import { AfterViewInit, Component, ElementRef, OnDestroy, ViewChild } from "@angular/core"; -import { Router, RouterLink, RouterLinkActive, RouterOutlet } from "@angular/router"; -import { AppDescription, AppTitle } from "@app/app/components/title"; -import { ContentRenderComponent } from "@app/app/components/content-render.component"; -import { NgForOf, NgIf } from "@angular/common"; -import { FormsModule } from "@angular/forms"; -import { LoadingComponent } from "@app/app/components/loading"; -import { AskComponent } from "@app/app/components/ask.component"; -import { Subscription } from "rxjs"; -import { PlatformHelper } from "@app/app/utils"; +import { AfterViewInit, Component, ElementRef, OnDestroy, ViewChild } from '@angular/core'; +import { Router, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router'; +import { AppDescription, AppTitle } from '@app/app/components/title'; +import { ContentRenderComponent } from '@app/app/components/content-render.component'; +import { NgForOf, NgIf } from '@angular/common'; +import { FormsModule } from '@angular/forms'; +import { LoadingComponent } from '@app/app/components/loading'; +import { AskComponent } from '@app/app/components/ask.component'; +import { Subscription } from 'rxjs'; +import { PlatformHelper } from '@app/app/utils'; @Component({ standalone: true, @@ -37,10 +37,10 @@ import { PlatformHelper } from "@app/app/utils";