Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
215c98a
refactor: restructure project to use reactpress-cli for API managemen…
fecommunity May 1, 2026
c84ac76
chore: update configuration for external database mode and enhance de…
fecommunity May 2, 2026
b7d2085
chore: update contributing and documentation for monorepo structure, …
fecommunity May 3, 2026
3a86c86
chore: refactor project structure to integrate server directory, upda…
fecommunity May 4, 2026
0d491b8
chore: enhance project initialization and development scripts, add en…
fecommunity May 5, 2026
263feb2
chore: migrate to reactpress-cli for project commands, restructure sc…
fecommunity May 9, 2026
20412ce
chore: rename reactpress-toolchain to reactpress-cli, add server and …
fecommunity May 9, 2026
8ae8f47
docs: expand README.md with detailed CLI usage instructions, command …
fecommunity May 10, 2026
0bcecf9
chore: update project structure for ReactPress 3.0, rename main packa…
fecommunity May 10, 2026
e25bf51
docs: update README and migration guide for ReactPress 3.0, highlight…
fecommunity May 16, 2026
9a62dae
feat: enhance homepage with new CLI command block, add highlights sec…
fecommunity May 16, 2026
835736c
feat: add preserveServerBundlePlugin to prevent stale asset cleanup i…
fecommunity May 17, 2026
7a0a063
feat: refactor build process in CLI to enhance step tracking and user…
fecommunity May 17, 2026
5c5d300
feat: enhance build command in CLI by adding target selection and imp…
fecommunity May 17, 2026
76ba426
feat: update tagline and descriptions across documentation for clarit…
fecommunity May 17, 2026
341eac9
feat: enhance CLI command block with new features, update command des…
fecommunity May 17, 2026
0c098df
feat: update CLI and documentation for ReactPress 3.0, enhancing user…
fecommunity May 23, 2026
5024371
feat: integrate multilingual support in CLI by adding i18n functional…
fecommunity May 23, 2026
8de4937
feat: add .env.example file for configuration setup and update .gitig…
fecommunity May 24, 2026
41e48fa
chore: release v3.0.0 — update changelog compare base and notes
fecommunity May 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .env

This file was deleted.

11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ReactPress — copy to .env and run `pnpm init` to sync from .reactpress/config.json
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=reactpress
DB_PASSWD=reactpress
DB_DATABASE=reactpress

CLIENT_SITE_URL=http://localhost:3001
SERVER_SITE_URL=http://localhost:3002
SERVER_PORT=3002
SERVER_API_PREFIX=/api
86 changes: 86 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: CI

on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]

jobs:
build-and-smoke:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: reactpress
MYSQL_DATABASE: reactpress
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -h localhost"
--health-interval=10s
--health-timeout=5s
--health-retries=5

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build toolkit
run: pnpm run build:toolkit

- name: Build server
run: pnpm run build:server

- name: Create test .env
run: |
cat > .env <<'EOF'
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWD=reactpress
DB_DATABASE=reactpress
SERVER_PORT=3002
SERVER_SITE_URL=http://127.0.0.1:3002
SERVER_API_PREFIX=/api
CLIENT_SITE_URL=http://127.0.0.1:3001
EOF

- name: Start API and smoke health
env:
DB_HOST: 127.0.0.1
DB_PORT: 3306
DB_USER: root
DB_PASSWD: reactpress
DB_DATABASE: reactpress
SERVER_PORT: 3002
SERVER_SITE_URL: http://127.0.0.1:3002
SERVER_API_PREFIX: /api
run: |
node server/dist/main.js &
echo $! > /tmp/reactpress-api.pid
for i in $(seq 1 45); do
if node scripts/smoke-api-health.mjs; then
kill "$(cat /tmp/reactpress-api.pid)" 2>/dev/null || true
exit 0
fi
sleep 2
done
kill "$(cat /tmp/reactpress-api.pid)" 2>/dev/null || true
echo "API health smoke failed"
exit 1

- name: CLI doctor (offline checks)
run: node cli/bin/reactpress.js doctor || true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ node_modules
.idea
.next

.env
.env.prod
.reactpress/
*.local
*.cache
*error.log
Expand All @@ -12,6 +14,7 @@ node_modules
sitemap.xml

lib
!cli/lib
dist
dist-ssr
coverage
Expand Down
Loading
Loading