Skip to content

Commit a7bcfa4

Browse files
authored
Merge pull request #38 from codervisor/develop
Develop
2 parents 8c58f03 + 6ab2f1a commit a7bcfa4

File tree

310 files changed

+9920
-7585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+9920
-7585
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"forwardPorts": [3000, 3001, 5000, 5173, 8080],
1616

1717
// Use 'postCreateCommand' to run commands after the container is created.
18-
"postCreateCommand": "npm install -g pnpm@10.13.1 && pnpm install && pnpm build:types",
18+
"postCreateCommand": "npm install -g pnpm@10.15.0 && pnpm install && pnpm build:types",
1919

2020
// Configure tool-specific properties.
2121
"customizations": {

.env.example

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,26 @@ POSTGRES_URL="postgresql://username:password@host:5432/database"
169169
## ======== APPLICATION SETTINGS ========
170170
NODE_ENV="development"
171171

172+
# JWT Secret for authentication tokens
173+
JWT_SECRET="dev-secret-key-change-in-production"
174+
175+
## ======== SSO CONFIGURATION ========
176+
177+
# GitHub OAuth
178+
GITHUB_CLIENT_ID="your-github-client-id"
179+
GITHUB_CLIENT_SECRET="your-github-client-secret"
180+
GITHUB_REDIRECT_URI="http://localhost:3000/api/auth/callback/github"
181+
182+
# Google OAuth
183+
GOOGLE_CLIENT_ID="your-google-client-id.googleusercontent.com"
184+
GOOGLE_CLIENT_SECRET="your-google-client-secret"
185+
GOOGLE_REDIRECT_URI="http://localhost:3000/api/auth/callback/google"
186+
187+
# WeChat OAuth
188+
WECHAT_APP_ID="your-wechat-app-id"
189+
WECHAT_APP_SECRET="your-wechat-app-secret"
190+
WECHAT_REDIRECT_URI="http://localhost:3000/api/auth/callback/wechat"
191+
172192
## ======== REALTIME UPDATES CONFIGURATION ========
173193

174194
# Realtime provider selection (auto-detected if not specified)

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
- **Temp files**: Use `tmp/` folder for experiments (gitignored)
2222
- **Build packages**: Use `pnpm build` (builds all packages)
23-
- **Containers**: `docker compose -f docker-compose.dev.yml up web-dev -d --wait`
23+
- **Containers**: `docker compose up web-dev -d --wait`
2424
- **Validating**: Use `pnpm validate`
2525
- **Testing**: Use `pnpm test`
2626

.github/instructions/all.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ pnpm --filter @codervisor/devlog-mcp build
273273
pnpm --filter @codervisor/devlog-web build
274274

275275
# Start containerized development
276-
docker compose -f docker-compose.dev.yml up web-dev -d --wait
276+
docker compose up web-dev -d --wait
277277

278278
# Test build without breaking dev server
279279
pnpm build

.github/scripts/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ Sets up Node.js environment and installs dependencies with pnpm.
1919
```bash
2020
./.github/scripts/setup-node.sh [node_version] [pnpm_version]
2121
```
22-
- **Default**: Node.js 20, pnpm 10.13.1
22+
- **Default**: Node.js 20, pnpm 10.15.0
2323
- **Used in**: All workflows that need Node.js
2424

2525
#### `build-packages.sh`
26-
Builds all packages in dependency order (core → ai → mcp → cli → web).
26+
Builds all packages in dependency order (core → ai → mcp → web).
2727
```bash
2828
./.github/scripts/build-packages.sh
2929
```
3030
- **Dependencies**: Requires pnpm workspace setup
31-
- **Output**: Build artifacts in `packages/*/build` and `packages/web/.next-build`
31+
- **Output**: Build artifacts in `packages/*/build` and `apps/web/.next-build`
3232

3333
#### `verify-build.sh`
3434
Verifies that all expected build artifacts exist.
@@ -90,7 +90,7 @@ Runs lightweight validation checks for pull requests.
9090
```
9191
- **Checks**:
9292
- TypeScript compilation
93-
- Quick build test (core, ai, mcp, cli packages)
93+
- Quick build test (core, ai, mcp packages)
9494
- Unit tests
9595
- Import structure validation (if script exists)
9696

.github/scripts/bump-dev-versions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ PACKAGES=(
99
"mcp:packages/mcp"
1010
"core:packages/core"
1111
"ai:packages/ai"
12-
"cli:packages/cli"
1312
)
1413

1514
# Generate timestamp for unique dev versions

.github/scripts/check-versions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ declare -A PACKAGE_MAP=(
1414
["mcp"]="packages/mcp"
1515
["core"]="packages/core"
1616
["ai"]="packages/ai"
17-
["cli"]="packages/cli"
1817
)
1918

2019
# If specific packages specified, filter to those

.github/scripts/publish-dev-packages.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ PACKAGES=(
99
"core:packages/core"
1010
"mcp:packages/mcp"
1111
"ai:packages/ai"
12-
"cli:packages/cli"
1312
)
1413

1514
PUBLISHED_PACKAGES=""

.github/scripts/publish-packages.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ for pkg in "${PACKAGE_ARRAY[@]}"; do
3838
PUBLISHED_PACKAGES="$PUBLISHED_PACKAGES@codervisor/devlog-ai@$(grep '"version"' package.json | cut -d'"' -f4) "
3939
cd ../..
4040
;;
41-
"cli")
42-
echo "📤 Publishing @codervisor/devlog-cli..."
43-
cd packages/cli
44-
pnpm publish --access public --no-git-checks
45-
PUBLISHED_PACKAGES="$PUBLISHED_PACKAGES@codervisor/devlog-cli@$(grep '"version"' package.json | cut -d'"' -f4) "
46-
cd ../..
47-
;;
4841
*)
4942
echo "⚠️ Unknown package: $pkg"
5043
;;

.github/scripts/validate-pr.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ echo "🔨 Quick build test..."
1313
pnpm --filter @codervisor/devlog-core build
1414
pnpm --filter @codervisor/devlog-ai build
1515
pnpm --filter @codervisor/devlog-mcp build
16-
pnpm --filter @codervisor/devlog-cli build
1716

1817
# Run tests
1918
echo "🧪 Running tests..."

0 commit comments

Comments
 (0)