Version Consistency Audit
Audit of Node.js, Next.js, React, TypeScript, and other key dependency versions across Juniro repositories
Date: January 8, 2026
Summary
Status: ⚠️ Inconsistencies Found
There are version inconsistencies across repositories that should be standardized for:
- Easier maintenance
- Consistent developer experience
- Reduced compatibility issues
- Simplified CI/CD
Current State
Node.js Versions
| Repository | Node.js Version | Notes |
|---|---|---|
juniro-api | >=20.0.0 | ✅ Explicitly specified |
juniro-design | Not specified | ⚠️ Should specify |
juniro-web-public | >=18.0.0 | ⚠️ Different from API |
juniro-web-parents | Not specified | ⚠️ Should specify |
juniro-web-providers | Not specified | ⚠️ Should specify |
juniro-web-admin | >=18.0.0 | ⚠️ Different from API |
juniro-docs | 20.x | ✅ Explicitly specified |
juniro-platform | >=18.0.0 | ⚠️ Different from API |
Recommendation: Standardize on Node.js 20.x (LTS) across all repos.
Next.js Versions
| Repository | Next.js Version | Notes |
|---|---|---|
juniro-design | ^15.1.3 | ⚠️ Latest (15.x) |
juniro-web-public | ^14.0.0 | ⚠️ Older (14.x) |
juniro-web-parents | ^14.0.0 | ⚠️ Older (14.x) |
juniro-web-providers | 14.2.35 | ⚠️ Older (14.x) |
juniro-web-admin | ^14.0.0 | ⚠️ Older (14.x) |
Issue: juniro-design is on Next.js 15.x while all web apps are on 14.x. This creates:
- Incompatibility risks when syncing components
- Different API behaviors (App Router, Server Components)
- Different build outputs
Recommendation:
- Option A: Upgrade all web apps to Next.js 15.x (recommended for consistency)
- Option B: Downgrade
juniro-designto Next.js 14.x (not recommended - loses 15.x features)
React Versions
| Repository | React Version | Notes |
|---|---|---|
juniro-design | ^18.3.1 | ✅ Consistent |
juniro-web-public | ^18.3.1 | ✅ Consistent |
juniro-web-parents | ^18.3.1 | ✅ Consistent |
juniro-web-providers | ^18.3.1 | ✅ Consistent |
juniro-web-admin | ^18.3.1 | ✅ Consistent |
juniro-docs | ^18.0.0 | ⚠️ Slightly older (but acceptable) |
Status: ✅ Mostly consistent - React 18.x across all repos.
TypeScript Versions
| Repository | TypeScript Version | Notes |
|---|---|---|
juniro-api | ^5.7.2 | ✅ Latest |
juniro-design | Not in dependencies | ⚠️ Check devDependencies |
juniro-web-public | ^5.9.2 | ✅ Latest |
juniro-web-parents | ^5.9.2 | ✅ Latest |
juniro-web-providers | ^5.9.2 | ✅ Latest |
juniro-web-admin | ^5.9.2 | ✅ Latest |
Status: ✅ Consistent - TypeScript 5.x across all repos.
Other Key Dependencies
Zod Versions
juniro-api:^3.24.1(Zod 3.x)juniro-web-public:^4.0.16(Zod 4.x) ⚠️ Incompatiblejuniro-web-parents:^4.0.16(Zod 4.x) ⚠️ Incompatiblejuniro-web-providers:^4.0.16(Zod 4.x) ⚠️ Incompatiblejuniro-web-admin:^4.0.16(Zod 4.x) ⚠️ Incompatible
Issue: Zod 3.x and 4.x have breaking changes. This affects:
- Shared validation schemas
- API request/response validation
- Type compatibility
Recommendation: Standardize on Zod 3.x (API uses 3.x) or upgrade API to 4.x.
Recommended Standards
Core Versions
| Dependency | Recommended Version | Rationale |
|---|---|---|
| Node.js | >=20.0.0 | LTS, modern features, better performance |
| Next.js | ^15.1.3 | Latest stable, App Router improvements |
| React | ^18.3.1 | Stable, widely used |
| TypeScript | ^5.9.2 | Latest stable, better type inference |
| Zod | ^3.24.1 | Stable, API compatibility |
Package Manager
| Repository | Package Manager | Notes |
|---|---|---|
juniro-api | npm | ✅ Standard |
juniro-design | bun | ⚠️ Different |
juniro-web-public | npm | ✅ Standard |
juniro-web-parents | npm | ✅ Standard |
juniro-web-providers | npm | ✅ Standard |
juniro-web-admin | npm | ✅ Standard |
juniro-docs | bun | ⚠️ Different |
Recommendation: Standardize on npm for consistency, or document bun usage clearly.
Action Items
High Priority
-
Standardize Node.js version
- Add
"engines": { "node": ">=20.0.0" }to all repos - Update CI/CD workflows to use Node.js 20
- Add
-
Resolve Next.js version mismatch
- Upgrade all web apps to Next.js 15.x, OR
- Document the version difference and compatibility strategy
-
Resolve Zod version mismatch
- Standardize on Zod 3.x (downgrade web apps), OR
- Upgrade API to Zod 4.x (requires testing)
Medium Priority
-
Standardize package manager
- Document bun usage (if intentional), OR
- Migrate to npm for consistency
-
Add version checks to CI/CD
- Verify Node.js version in CI
- Check for version drift in PRs
Implementation Strategy
Phase 1: Document Current State
- ✅ This audit document
- Update CLAUDE.md files with version requirements
Phase 2: Standardize Node.js
- Add
enginesfield to all package.json files - Update CI/CD workflows
- Update documentation
Phase 3: Resolve Next.js Mismatch
- Test Next.js 15.x compatibility
- Upgrade web apps OR document strategy
Phase 4: Resolve Zod Mismatch
- Test compatibility
- Standardize version
- Update shared schemas
Related Documentation
- Engineering Standards
- CLAUDE.md files - Repository-specific context
- CI/CD Configuration
Last Updated: January 8, 2026