@nerest/nerest 1.5.0 → 1.5.1

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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +4 -5
package/README.md CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  Nerest is an opinionated micro frontend framework/stack for building SSR applications with TypeScript, Fastify, JSON Schema and React. It is available as a single `@nerest/nerest` npm package.
4
4
 
5
+ [View current documentation](https://nerestjs.github.io/docs/)
6
+
5
7
  ## Quick Start
6
8
 
7
- See [nerest-harness](https://github.com/nerestjs/harness) for a comprehensive example of a Nerest micro frontend.
9
+ [Follow the tutorial](https://nerestjs.github.io/docs/tutorial/) to build your first Nerest micro frontend step-by-step, or clone and run [the complete version](https://github.com/nerestjs/tutorial) of that micro frontend locally.
8
10
 
9
11
  ## Conventions
10
12
 
@@ -49,7 +51,7 @@ The exported function may be async, in which case Nerest will wait for the Promi
49
51
 
50
52
  ## Configuration
51
53
 
52
- Different aspects of Nerest apps can be configured via environment variables, JSON configuration and runtime hooks written in TypeScript. Examples of all kinds of configuration can be viewed in the [nerest-harness](https://github.com/nerestjs/harness) repository.
54
+ Different aspects of Nerest apps can be configured via environment variables, JSON configuration and runtime hooks written in TypeScript.
53
55
 
54
56
  ### Environment Variables
55
57
 
@@ -143,7 +145,7 @@ This runtime hook can be used to adjust fastify settings, register additional pl
143
145
 
144
146
  #### Logger
145
147
 
146
- Nerest uses the default server-side fastify logger](https://fastify.dev/docs/latest/Reference/Logging/#logging), enabled by default. To configure or disable it, export a `logger` function from the `nerest/runtime.ts` module. This function will be called on server start, and its return value will be used as the logger configuration for Fastify.
148
+ Nerest uses the [default server-side fastify logger](https://fastify.dev/docs/latest/Reference/Logging/#logging), enabled by default. To configure or disable it, export a `logger` function from the `nerest/runtime.ts` module. This function will be called on server start, and its return value will be used as the logger configuration for Fastify.
147
149
 
148
150
  ```typescript
149
151
  import type { FastifyServerOptions } from 'fastify';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nerest/nerest",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "React micro frontend framework",
5
5
  "homepage": "https://github.com/nerestjs/nerest",
6
6
  "repository": {
@@ -24,7 +24,6 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build": "tsc -p tsconfig.json -d",
27
- "docs": "scripts/docs.sh",
28
27
  "lint": "eslint --ext .ts .",
29
28
  "prepare": "simple-git-hooks",
30
29
  "test": "npm run test:module && npm run test:integration:dev && npm run test:integration:prod",
@@ -69,11 +68,11 @@
69
68
  "devDependencies": {
70
69
  "@commitlint/cli": "^19.8.0",
71
70
  "@commitlint/config-conventional": "^19.8.0",
72
- "@playwright/test": "^1.51.0",
71
+ "@playwright/test": "^1.51.1",
73
72
  "@tinkoff/eslint-config": "^5.0.1",
74
73
  "@tinkoff/eslint-config-react": "^5.0.1",
75
74
  "@tinkoff/prettier-config": "^5.0.0",
76
- "@types/react": "^19.0.10",
75
+ "@types/react": "^19.0.11",
77
76
  "@types/react-dom": "^19.0.4",
78
77
  "execa": "^9.5.2",
79
78
  "lint-staged": "^15.5.0",
@@ -82,7 +81,7 @@
82
81
  "simple-git-hooks": "^2.11.1",
83
82
  "sort-package-json": "^3.0.0",
84
83
  "typescript": "^5.8.2",
85
- "vitest": "^3.0.8"
84
+ "vitest": "^3.0.9"
86
85
  },
87
86
  "peerDependencies": {
88
87
  "react": "^18.0.0 || ^19.0.0",