Skip to content

Commit

Permalink
rename to prerendering
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlautier committed Sep 10, 2024
1 parent d4c635d commit 1d94dd3
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 76 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- ## [0.1.0](https://github.com/sketch7/aspnet-prerenderer/compare/0.1.0...0.1.1) (2024-09-10) -->
<!-- ## [0.1.0](https://github.com/sketch7/aspnet-prerendering/compare/0.1.0...0.1.1) (2024-09-10) -->

## 0.1.0 (2024-09-10)

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[projectUri]: https://github.com/sketch7/aspnet-prerenderer
[projectUri]: https://github.com/sketch7/aspnet-prerendering
[changeLog]: ./CHANGELOG.md
[developmentWorkflowWiki]: ./docs/DEVELOPMENT-WORKFLOW.md
[apiWiki]: ./docs/API.md

[npm]: https://www.npmjs.com/package/@ssv/aspnet-prerenderer
[npm]: https://www.npmjs.com/package/@ssv/aspnet-prerendering

# @ssv/aspnet-prerenderer
[![CI](https://github.com/sketch7/aspnet-prerenderer/actions/workflows/ci.yml/badge.svg)](https://github.com/sketch7/aspnet-prerenderer/actions/workflows/ci.yml)
[![npm version](https://badge.fury.io/js/%40ssv%2Faspnet-prerenderer.svg)](https://badge.fury.io/js/%40ssv%2Faspnet-prerenderer)
# @ssv/aspnet-prerendering
[![CI](https://github.com/sketch7/aspnet-prerendering/actions/workflows/ci.yml/badge.svg)](https://github.com/sketch7/aspnet-prerendering/actions/workflows/ci.yml)
[![npm version](https://badge.fury.io/js/%40ssv%2Faspnet-prerendering.svg)](https://badge.fury.io/js/%40ssv%2Faspnet-prerendering)

Port of [aspnet-prerendering](https://github.com/aspnet/JavaScriptServices/blob/master/src/Microsoft.AspNetCore.SpaServices/npm/aspnet-prerendering/package.json) which supports ESM.

Expand All @@ -23,7 +23,7 @@ This allows using vite/esbuild angular (was tested only with angular - `@angular
Get library via [npm]

```bash
npm install @ssv/aspnet-prerenderer
npm install @ssv/aspnet-prerendering
```


Expand All @@ -36,7 +36,7 @@ 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-prerenderer";
import { createServerRenderer } from "@ssv/aspnet-prerendering";

import { AppServerModule } from "./app/app.server.module";

Expand Down
76 changes: 29 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 7 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
{
"name": "@ssv/aspnet-prerenderer",
"name": "@ssv/aspnet-prerendering",
"version": "0.1.0",
"versionSuffix": "",
"description": "SignalR client library built on top of @microsoft/signalr. This gives you more features and easier to use.",
"homepage": "https://github.com/sketch7/aspnet-prerenderer",
"description": "aspnet SPA Services Node prerendering ESM compatible.",
"homepage": "https://github.com/sketch7/aspnet-prerendering",
"keywords": [
"sketch7",
"signalr",
"aspnet-prerenderer",
"realtime",
"push",
"ws",
"websockets",
"streams",
"rxjs",
"real-time",
"node",
"aspnet-prerendering",
"angular",
"aurelia",
"vue",
"react"
"spa-services"
],
"scripts": {
"start": "nx build --watch",
Expand All @@ -35,7 +26,7 @@
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/sketch7/aspnet-prerenderer"
"url": "https://github.com/sketch7/aspnet-prerendering"
},
"dependencies": {
"domain-task": "^3.0.3"
Expand Down
4 changes: 2 additions & 2 deletions project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "aspnet-prerenderer",
"name": "aspnet-prerendering",
"$schema": "node_modules/nx/schemas/project-schema.json",
"sourceRoot": "src",
"projectType": "library",
Expand Down Expand Up @@ -43,7 +43,7 @@
"outputs": ["{options.reportsDirectory}"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "coverage/aspnet-prerenderer"
"reportsDirectory": "coverage/aspnet-prerendering"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./lib/aspnet-prerenderer";
export * from "./lib/aspnet-prerendering";
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"paths": {
"@ssv/aspnet-prerenderer": [
"@ssv/aspnet-prerendering": [
"src/index.ts"
]
},
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from "vite";
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";

export default defineConfig({
cacheDir: "./node_modules/.vite/aspnet-prerenderer",
cacheDir: "./node_modules/.vite/aspnet-prerendering",

plugins: [nxViteTsPaths()],

Expand Down

0 comments on commit 1d94dd3

Please sign in to comment.