From 523141fd6a3b0beaa9234b70a11c714a7f247341 Mon Sep 17 00:00:00 2001 From: Stephen Lautier Date: Thu, 19 Sep 2024 08:13:59 +0200 Subject: [PATCH] chore(bump): 1.0.0 + cl + readme --- CHANGELOG.md | 6 +++--- README.md | 5 ----- package.json | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a02ae3..3e858cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ - + -## 0.1.0 (2024-09-10) +## 1.0.0 (2024-09-19) -initial release \ No newline at end of file +initial release - port + ESM support + cleanup some legacy stuff diff --git a/README.md b/README.md index 2602978..9998612 100644 --- a/README.md +++ b/README.md @@ -30,18 +30,13 @@ npm install @ssv/aspnet-prerendering ## Usage ```ts -import "zone.js/node"; -import "reflect-metadata"; import { renderModule } from "@angular/platform-server"; import { APP_BASE_HREF } from "@angular/common"; -import { enableProdMode } from "@angular/core"; // import { createServerRenderer } from "aspnet-prerendering"; import { createServerRenderer } from "@ssv/aspnet-prerendering"; import { AppServerModule } from "./app/app.server.module"; -enableProdMode(); - interface TransferData { originalHtml: string; startupContext: StartupContext; // custom diff --git a/package.json b/package.json index c6a6d06..01e0630 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ssv/aspnet-prerendering", - "version": "0.1.1", + "version": "1.0.0", "versionSuffix": "", "description": "aspnet SPA Services Node prerendering ESM compatible.", "homepage": "https://github.com/sketch7/aspnet-prerendering",