Skip to content

Conversation

@mikeallisonJS
Copy link
Collaborator

@mikeallisonJS mikeallisonJS commented Jan 23, 2026

follow up after api-journeys

Summary by CodeRabbit

  • Chores
    • Reorganized monorepo structure by consolidating dependencies into separate workspace packages for improved modularity.
    • Switched package manager to pnpm for enhanced dependency management.
    • Updated npm configuration to enable package hoisting behavior.

✏️ Tip: You can customize this high-level summary in your review settings.

- Adjusted .gitignore to correctly include node_modules.
- Updated nx.json to specify pnpm as the package manager.
- Removed deprecated NestJS dependencies from package.json.
- Updated pnpm-lock.yaml to reflect changes in dependencies.
- Added new packages to pnpm-workspace.yaml.
- Refactored TypeScript paths in tsconfig.base.json for better module resolution.
- Updated project.json paths in api-journeys for TranslationModule.
- Removed unused NestJS common library and its related files.
- Refactored imports in various files to align with the new structure.
- Updated various dependencies in `package.json` for `@nestjs` packages and others to their latest versions.
- Removed the unused webpack IgnorePlugin configuration from `webpack.config.js` as it was no longer necessary.
- Removed unused dependencies: `@mui/x-charts`, `@mui/x-tree-view`, `next-firebase-auth-edge`, and `react-loading-hook` from `package.json`.
- Updated `pnpm-lock.yaml` to reflect these changes and ensure consistency across the project.
@mikeallisonJS mikeallisonJS self-assigned this Jan 23, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

Walkthrough

This change restructures a monorepo by removing shared dependencies from the root package.json, creating new sub-package manifests for api-journeys and videos-admin with their specific dependencies, and updating configuration to use pnpm as the package manager.

Changes

Cohort / File(s) Summary
Package Manager Configuration
.gitignore, .npmrc, nx.json
Updated gitignore pattern from /node_modules to node_modules; enabled npm package hoisting with shamefully-hoist=true; configured pnpm as the monorepo package manager
Root Dependency Cleanup
package.json
Removed 16 dependencies including NestJS packages (@nestjs/apollo, @nestjs/bullmq, @nestjs/cache-manager, @nestjs/common, @nestjs/core, @nestjs/graphql, @nestjs/platform-express), MUI X packages (@mui/x-charts, @mui/x-tree-view), authentication packages (next-firebase-auth-edge, adal-node), logging (nestjs-pino, nestjs-ddtrace), and utilities (react-loading-hook)
Sub-package Manifests
apis/api-journeys/package.json, apps/videos-admin/package.json
Created two new package.json files: api-journeys defines NestJS backend dependencies (Express, NestJS core, Firebase Admin, tracing/logging); videos-admin defines frontend dependencies (MUI X charts/tree-view, next-firebase-auth-edge, react-loading-hook)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • tataihono
  • tanflem
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'refactor: videos admin workspace' is partially related to the changeset—it refers to workspace refactoring but is vague and doesn't capture the main structural changes (API journeys setup, dependency reorganization, monorepo restructuring). Consider a more specific title that reflects the primary changes, such as 'refactor: reorganize videos admin and api-journeys into separate workspaces' or 'refactor: split workspace dependencies and restructure apis'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 00-00-MA-feat-videos-admin-workspace

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link

nx-cloud bot commented Jan 23, 2026

View your CI Pipeline Execution ↗ for commit f969266

Command Status Duration Result
nx run journeys-e2e:e2e ✅ Succeeded 29s View ↗
nx run docs-e2e:e2e ✅ Succeeded 3s View ↗
nx run resources-e2e:e2e ✅ Succeeded 11s View ↗
nx run journeys-admin-e2e:e2e ✅ Succeeded 35s View ↗
nx run watch-e2e:e2e ✅ Succeeded 24s View ↗
nx run short-links-e2e:e2e ✅ Succeeded 3s View ↗
nx run player-e2e:e2e ✅ Succeeded 3s View ↗
nx run videos-admin-e2e:e2e ✅ Succeeded 4s View ↗
Additional runs (28) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2026-01-23 01:16:41 UTC

@github-actions
Copy link
Contributor

Warnings
⚠️ ❗ Big PR (959 changes)

(change count - 959): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by 🚫 dangerJS against f969266

@github-actions github-actions bot temporarily deployed to Preview - journeys January 23, 2026 00:58 Inactive
@github-actions github-actions bot temporarily deployed to Preview - resources January 23, 2026 00:58 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys-admin January 23, 2026 00:58 Inactive
@github-actions github-actions bot temporarily deployed to Preview - short-links January 23, 2026 00:58 Inactive
@github-actions github-actions bot temporarily deployed to Preview - videos-admin January 23, 2026 00:58 Inactive
@github-actions github-actions bot temporarily deployed to Preview - watch-modern January 23, 2026 00:58 Inactive
@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
player ✅ Ready player preview Fri Jan 23 14:00:26 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
docs ✅ Ready docs preview Fri Jan 23 14:00:40 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys ✅ Ready journeys preview Fri Jan 23 14:00:42 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
short-links ✅ Ready short-links preview Fri Jan 23 14:00:43 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready journeys-admin preview Fri Jan 23 14:00:58 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch ✅ Ready watch preview Fri Jan 23 14:01:06 NZDT 2026

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@apis/api-journeys/package.json`:
- Around line 10-13: Dependencies show mixed NestJS versions and a known vuln in
11.0.12; update all `@nestjs/`* packages referenced (e.g., "@nestjs/common",
"@nestjs/core", "@nestjs/platform-express", "@nestjs/testing", and
"@nestjs/graphql" if applicable) to 11.0.16 or later in package.json (both
dependencies and devDependencies), reinstall/lock (npm install or yarn) to
update the lockfile, and run the test/build to ensure compatibility.

In `@apps/videos-admin/package.json`:
- Line 9: The package.json dependency "next-firebase-auth-edge" is pinned to a
canary pre-release (^1.7.0-canary.2); update it to the stable release by
replacing the version string for the "next-firebase-auth-edge" entry with
"^1.11.1" so the project uses the stable v1.11.1 instead of canary pre-releases.
After changing the version, run your package manager install (npm/yarn/pnpm) to
update lockfiles and verify builds/tests pass.
🧹 Nitpick comments (3)
apps/videos-admin/package.json (1)

1-5: Consider consistent package naming convention.

The package name videos-admin is unscoped, while apis/api-journeys/package.json uses the scoped name @core/api-journeys. Consider using a consistent naming convention across workspace packages (e.g., @core/videos-admin) for better organization and clarity.

apis/api-journeys/package.json (2)

16-16: Inconsistent version pinning strategy.

file-type uses ^20.4.1 while all other dependencies use exact versions. Consider using a consistent versioning strategy across dependencies for reproducible builds.


19-19: adal-node is deprecated; consider migrating to @azure/msal-node.

The adal-node library (Azure Active Directory Authentication Library) is deprecated by Microsoft and no longer supported. Microsoft ended support and development on June 30, 2023, and the npm package explicitly recommends migrating to @azure/msal-node (Microsoft Authentication Library for Node.js). Continuing to use adal-node carries security and support risk.

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
resources ✅ Ready resources preview Fri Jan 23 14:01:38 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch-modern ✅ Ready watch-modern preview Fri Jan 23 14:01:45 NZDT 2026

@github-actions
Copy link
Contributor

The latest updates on your projects.

Name Status Preview Updated (UTC)
videos-admin ✅ Ready videos-admin preview Fri Jan 23 14:01:48 NZDT 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants