Skip to content

refactor: videos admin workspace#8632

Open
mikeallisonJS wants to merge 11 commits intomainfrom
00-00-MA-feat-videos-admin-workspace
Open

refactor: videos admin workspace#8632
mikeallisonJS wants to merge 11 commits intomainfrom
00-00-MA-feat-videos-admin-workspace

Conversation

@mikeallisonJS
Copy link
Collaborator

@mikeallisonJS mikeallisonJS commented Jan 23, 2026

follow up after api-journeys

Summary by CodeRabbit

  • Chores
    • Updated workspace configuration to introduce centralized dependency versioning and package manager specification
    • Extended the project workspace with a new application module for video administration, including associated dependencies and configuration

- 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

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • apis/api-journeys/src/__generated__/graphql.ts is excluded by !**/__generated__/**
  • libs/shared/gql/src/__generated__/graphql-env.d.ts is excluded by !**/__generated__/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Walkthrough

This change reorganizes the project into a pnpm monorepo structure by creating a new app (videos-admin) with its own package.json, moving dependencies from the root package, establishing a centralized dependency catalog in the workspace configuration, and updating the package manager specification.

Changes

Cohort / File(s) Summary
New App Setup
apps/videos-admin/package.json
New package.json for videos-admin app with dependencies including MUI X components, Firebase auth, and testing libraries.
Workspace Configuration
nx.json, pnpm-workspace.yaml
Added pnpm as package manager and introduced centralized dependency catalog with pinned versions for core, UI, testing, and tooling packages.
Root Dependencies
package.json
Removed @mui/x-charts, @mui/x-tree-view, next-firebase-auth-edge, and react-loading-hook from root dependencies (moved to videos-admin app).
Repository Configuration
.gitignore
Changed node_modules ignore pattern from absolute (/node_modules) to relative path (node_modules).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • tataihono
  • tanflem
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'refactor: videos admin workspace' directly matches the main objective of the PR, which is to refactor the videos admin workspace. The changes across multiple files (.gitignore, package.json, nx.json, pnpm-workspace.yaml, and the new apps/videos-admin/package.json) all support this workspace reorganization and configuration update.
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 c810dc2

Command Status Duration Result
nx run watch-e2e:e2e ✅ Succeeded 26s View ↗
nx run journeys-admin-e2e:e2e ✅ Succeeded 31s View ↗
nx run resources-e2e:e2e ✅ Succeeded 14s View ↗
nx run docs-e2e:e2e ✅ Succeeded 4s View ↗
nx run journeys-e2e:e2e ✅ Succeeded 19s View ↗
nx run short-links-e2e:e2e ✅ Succeeded 3s View ↗
nx run videos-admin-e2e:e2e ✅ Succeeded 4s View ↗
nx run player-e2e:e2e ✅ Succeeded 3s View ↗
Additional runs (28) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2026-02-02 22:19:57 UTC

@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

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
player ✅ Ready player preview Tue Feb 3 11:10:11 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
docs ✅ Ready docs preview Tue Feb 3 11:09:58 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys ✅ Ready journeys preview Tue Feb 3 11:10:00 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
short-links ✅ Ready short-links preview Tue Feb 3 11:09:57 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready journeys-admin preview Tue Feb 3 11:12:21 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch ✅ Ready watch preview Tue Feb 3 11:11:35 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

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
resources ✅ Ready resources preview Tue Feb 3 11:11:25 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch-modern ✅ Ready watch-modern preview Tue Feb 3 11:09:38 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
videos-admin ✅ Ready videos-admin preview Tue Feb 3 11:11:02 NZDT 2026

- Added multiple new packages including various MUI components, Apollo, and NestJS modules.
- Updated existing package versions for better compatibility and performance.
- Adjusted dependency versions for axios, react, and others to ensure stability.
- Removed .npmrc file as it is no longer needed.
- Added multiple new NestJS packages and updated existing dependencies in package.json for better functionality.
- Updated pnpm workspace to include new package catalog entries for Apollo, DnD Kit, MUI components, and others.
- Deleted unused api-journeys package.json file.
@github-actions github-actions bot temporarily deployed to Preview - journeys February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys-admin February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - watch-modern February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - short-links February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - resources February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - videos-admin February 2, 2026 21:57 Inactive
@github-actions github-actions bot temporarily deployed to Preview - videos-admin February 2, 2026 22:07 Inactive
@github-actions github-actions bot temporarily deployed to Preview - short-links February 2, 2026 22:07 Inactive
@github-actions github-actions bot temporarily deployed to Preview - watch-modern February 2, 2026 22:07 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys-admin February 2, 2026 22:07 Inactive
@github-actions github-actions bot temporarily deployed to Preview - resources February 2, 2026 22:07 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys February 2, 2026 22:07 Inactive
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.

1 participant