@fecommunity/reactpress-server 4.0.0-beta.13 → 4.0.0-beta.15

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 +20 -7
  2. package/package.json +19 -8
package/README.md CHANGED
@@ -1,12 +1,23 @@
1
1
  # @fecommunity/reactpress-server
2
2
 
3
- NestJS CMS API for **ReactPress 4.0** — articles, pages, media, users, plugins, themes, and site settings. Headless REST with Swagger; powers themes, Admin, and desktop via [@fecommunity/reactpress-toolkit](../toolkit/).
3
+ > **ReactPress headless REST API — NestJS backend for the publishing platform.**
4
4
 
5
- > **MySQL** for production · **SQLite** for desktop / local mode.
5
+ [![npm version](https://img.shields.io/npm/v/@fecommunity/reactpress-server/beta.svg?label=beta)](https://www.npmjs.com/package/@fecommunity/reactpress-server/v/beta)
6
+ [![npm latest](https://img.shields.io/npm/v/@fecommunity/reactpress-server.svg?label=latest)](https://www.npmjs.com/package/@fecommunity/reactpress-server)
7
+ [![License: MIT](https://img.shields.io/npm/l/@fecommunity/reactpress-server.svg)](https://github.com/fecommunity/reactpress/blob/master/server/LICENSE)
6
8
 
7
- [![NPM Version](https://img.shields.io/npm/v/@fecommunity/reactpress-server.svg)](https://www.npmjs.com/package/@fecommunity/reactpress-server)
8
- [![License](https://img.shields.io/npm/l/@fecommunity/reactpress-server.svg)](https://github.com/fecommunity/reactpress/blob/master/server/LICENSE)
9
- [![NestJS](https://img.shields.io/badge/NestJS-10-red)](https://nestjs.com/)
9
+ > **Deprecated** — from ReactPress 3.1 onward, the API ships inside [`@fecommunity/reactpress`](https://www.npmjs.com/package/@fecommunity/reactpress) (CLI). New projects should run `npx @fecommunity/reactpress init` instead of installing this package standalone.
10
+
11
+ This package remains available for legacy deployments and direct API integration. It powers themes, Admin, and desktop clients through [@fecommunity/reactpress-toolkit](../toolkit/).
12
+
13
+ | Capability | Detail |
14
+ | :----------- | :----- |
15
+ | **Content** | Articles, pages, media, comments, search, site settings |
16
+ | **Extensibility** | Plugin hook runtime and theme catalog (ReactPress 4.0) |
17
+ | **API** | Headless REST with JWT auth, rate limiting, Swagger/OpenAPI |
18
+ | **Database** | MySQL (production) or SQLite (local / desktop) |
19
+
20
+ [Documentation](https://reactpress-docs.vercel.app/) · [Migrate to CLI](../cli/) · [GitHub](https://github.com/fecommunity/reactpress)
10
21
 
11
22
  ## Quick start
12
23
 
@@ -42,7 +53,7 @@ pnpm run --dir server dev
42
53
  ```
43
54
 
44
55
  | Command | Description |
45
- | :--- | :--- |
56
+ | :------ | :---------- |
46
57
  | `pnpm run dev` | Dev server with hot reload |
47
58
  | `pnpm run build` | Production build |
48
59
  | `pnpm run test` | Unit tests |
@@ -63,7 +74,7 @@ server/
63
74
  The install wizard generates `.env`. Key variables:
64
75
 
65
76
  | Variable | Description | Default |
66
- | :--- | :--- | :--- |
77
+ | :------- | :---------- | :------ |
67
78
  | `DB_HOST` | Database host | `127.0.0.1` |
68
79
  | `DB_PORT` | Database port | `3306` |
69
80
  | `DB_DATABASE` | Database name | `reactpress` |
@@ -90,3 +101,5 @@ OpenAPI spec from this server drives toolkit code generation (`pnpm run --dir to
90
101
  ## License
91
102
 
92
103
  MIT — see [LICENSE](LICENSE).
104
+
105
+ <p align="center"><sub>Part of <a href="https://github.com/fecommunity/reactpress">ReactPress</a> — content owned by the system, frontend owned by developers.</sub></p>
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@fecommunity/reactpress-server",
3
- "version": "4.0.0-beta.13",
4
- "deprecated": "Use the built-in API in @fecommunity/reactpress (CLI). Standalone server publishing stopped from 3.1.",
5
- "description": "ReactPress NestJS CMS API — headless REST for the publishing platform (MySQL or SQLite)",
3
+ "version": "4.0.0-beta.15",
4
+ "deprecated": "Bundled in @fecommunity/reactpress CLI from v3.1. Run `npx @fecommunity/reactpress init` for new projects.",
5
+ "description": "ReactPress NestJS REST API (deprecated). Bundled in @fecommunity/reactpress CLI from v3.1. Headless CMS for articles, media, plugins, and themes",
6
6
  "author": "fecommunity",
7
7
  "license": "MIT",
8
+ "homepage": "https://reactpress-docs.vercel.app/",
9
+ "bugs": {
10
+ "url": "https://github.com/fecommunity/reactpress/issues"
11
+ },
8
12
  "main": "dist/main.js",
9
- "types": "dist/index.d.ts",
10
13
  "bin": {
11
14
  "reactpress-server": "./bin/reactpress-server.js"
12
15
  },
@@ -19,23 +22,31 @@
19
22
  ],
20
23
  "keywords": [
21
24
  "reactpress",
22
- "server",
23
25
  "nestjs",
26
+ "headless-cms",
24
27
  "cms",
25
28
  "blog",
29
+ "rest-api",
26
30
  "api",
27
- "typescript"
31
+ "openapi",
32
+ "swagger",
33
+ "typescript",
34
+ "self-hosted"
28
35
  ],
29
36
  "repository": {
30
37
  "type": "git",
31
38
  "url": "git+https://github.com/fecommunity/reactpress.git",
32
39
  "directory": "server"
33
40
  },
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "registry": "https://registry.npmjs.org/"
44
+ },
34
45
  "engines": {
35
- "node": ">=16.5.0"
46
+ "node": ">=18"
36
47
  },
37
48
  "dependencies": {
38
- "@fecommunity/reactpress-toolkit": "4.0.0-beta.13",
49
+ "@fecommunity/reactpress-toolkit": "4.0.0-beta.15",
39
50
  "@nestjs/cli": "^6.9.0",
40
51
  "@nestjs/common": "^6.7.2",
41
52
  "@nestjs/config": "^0.6.3",