Skip to content

chore: migrate-nx#571

Merged
ryanbas21 merged 1 commit into
mainfrom
migrate-nx
Apr 16, 2026
Merged

chore: migrate-nx#571
ryanbas21 merged 1 commit into
mainfrom
migrate-nx

Conversation

@ryanbas21
Copy link
Copy Markdown
Collaborator

@ryanbas21 ryanbas21 commented Apr 16, 2026

JIRA Ticket

N/A

Description

Update Nx library packages

Summary by CodeRabbit

  • Chores
    • Updated development build toolchain dependencies to latest versions
    • Disabled analytics in build system configuration
    • Updated local development environment exclusions

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: ec8d214

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

📝 Walkthrough

Walkthrough

Updated development toolchain dependencies (nx and swc packages from various versions), added analytics disable setting to nx configuration, and expanded .gitignore patterns to exclude Claude-related local files and directories.

Changes

Cohort / File(s) Summary
Version Control Configuration
.gitignore
Added ignore patterns for Claude-related directories and files (.claude/worktrees, .claude/settings.local.json).
Build & Workspace Configuration
nx.json
Added top-level analytics: false setting to disable analytics collection; updated schema line formatting.
Development Dependencies
package.json
Bumped nx and related packages (@nx/*, nx) from 22.3.3 to 22.6.5; upgraded SWC tooling packages (@swc-node/register 1.10.101.11.1, @swc/cli 0.6.00.7.10, @swc/core 1.11.211.15.8, @swc/helpers 0.5.170.5.21); updated verdaccio from 6.2.1 to 6.5.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • ancheetah
  • cerebrl

Poem

🐰 The toolkit hops along so bright,
With versions bumped to newer height,
SWC and Nx dance in sync,
Claude's secrets hidden, safe from ink,
Analytics hushed—a peaceful scene! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore: migrate-nx' is partially related to the changeset. It references Nx migration but doesn't clearly convey the main change of updating Nx and toolchain versions across multiple dependencies. Consider a more specific title like 'chore: upgrade Nx and SWC toolchain dependencies' to better reflect the actual changes made.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the required template structure with JIRA Ticket and Description sections completed. However, the Description section is minimal and lacks detail about what was updated and why.
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
  • Commit unit tests in branch migrate-nx

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
Copy Markdown
Contributor

nx-cloud Bot commented Apr 16, 2026

View your CI Pipeline Execution ↗ for commit ec8d214

Command Status Duration Result
nx run-many -t build --no-agents ✅ Succeeded <1s View ↗
nx affected -t build lint test typecheck e2e-ci ✅ Succeeded 2m View ↗

☁️ Nx Cloud last updated this comment at 2026-04-16 18:45:14 UTC

Copy link
Copy Markdown

@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: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Around line 58-74: package.json dependency versions for the `@nx/`* and `@swc/`*
packages were bumped but pnpm-lock.yaml was not updated; run pnpm install (or
pnpm lock) locally to regenerate pnpm-lock.yaml so the lockfile reflects the new
versions (ensure entries for packages like "@nx/devkit", "@nx/workspace",
"@swc/core", "@swc/cli", "@swc-node/register", etc. appear), then add the
updated pnpm-lock.yaml to the commit and push the change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9a1332a3-6409-4ff7-8d58-2dbc645048a4

📥 Commits

Reviewing files that changed from the base of the PR and between 7a45452 and ec8d214.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • .gitignore
  • nx.json
  • package.json

Comment thread package.json
Comment on lines +58 to +74
"@nx/devkit": "22.6.5",
"@nx/eslint": "22.6.5",
"@nx/eslint-plugin": "22.6.5",
"@nx/express": "22.6.5",
"@nx/jest": "22.6.5",
"@nx/js": "22.6.5",
"@nx/playwright": "22.6.5",
"@nx/plugin": "22.6.5",
"@nx/vite": "22.6.5",
"@nx/vitest": "22.6.5",
"@nx/web": "22.6.5",
"@nx/workspace": "22.6.5",
"@playwright/test": "^1.47.2",
"@swc-node/register": "1.10.10",
"@swc/cli": "0.6.0",
"@swc/core": "1.11.21",
"@swc/helpers": "0.5.17",
"@swc-node/register": "1.11.1",
"@swc/cli": "0.7.10",
"@swc/core": "1.15.8",
"@swc/helpers": "0.5.21",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

test -f package.json || { echo "package.json not found"; exit 1; }
test -f pnpm-lock.yaml || { echo "pnpm-lock.yaml not found"; exit 1; }

python - <<'PY'
import json, sys
from pathlib import Path

pkg = json.loads(Path("package.json").read_text())
dev = pkg.get("devDependencies", {})

targets = [
  "nx",
  "@nx/devkit","@nx/eslint","@nx/eslint-plugin","@nx/express","@nx/jest","@nx/js",
  "@nx/playwright","@nx/plugin","@nx/vite","@nx/vitest","@nx/web","@nx/workspace",
  "@swc-node/register","@swc/cli","@swc/core","@swc/helpers","verdaccio"
]

missing = [t for t in targets if t not in dev]
if missing:
    print("Missing from devDependencies:", missing)
    sys.exit(2)

lock = Path("pnpm-lock.yaml").read_text()
not_in_lock = []
for name in targets:
    ver = dev[name]
    if f"{name}@{ver}:" not in lock:
        not_in_lock.append((name, ver))

nx_versions = sorted({v for k, v in dev.items() if k == "nx" or k.startswith("@nx/")})
print("Distinct nx/@nx versions in package.json:", nx_versions)

if not_in_lock:
    print("Expected entries not found in pnpm-lock.yaml:", not_in_lock)
    sys.exit(3)

print("All expected bumped versions were found in pnpm-lock.yaml.")
PY

Repository: ForgeRock/ping-javascript-sdk

Length of output: 599


pnpm-lock.yaml is out of sync with package.json; regenerate the lock file before merge.

The dependency versions in package.json (lines 58-74, 100, 115) have been bumped but are not reflected in pnpm-lock.yaml. All 16 packages checked—including all @nx/* packages (22.6.5) and @swc/* packages—are missing from the lock file with their updated versions. Run pnpm install or pnpm lock to regenerate the lock file and avoid install drift in CI.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` around lines 58 - 74, package.json dependency versions for the
`@nx/`* and `@swc/`* packages were bumped but pnpm-lock.yaml was not updated; run
pnpm install (or pnpm lock) locally to regenerate pnpm-lock.yaml so the lockfile
reflects the new versions (ensure entries for packages like "@nx/devkit",
"@nx/workspace", "@swc/core", "@swc/cli", "@swc-node/register", etc. appear),
then add the updated pnpm-lock.yaml to the commit and push the change.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 16, 2026

Open in StackBlitz

@forgerock/davinci-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/davinci-client@571

@forgerock/device-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/device-client@571

@forgerock/journey-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/journey-client@571

@forgerock/oidc-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/oidc-client@571

@forgerock/protect

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/protect@571

@forgerock/sdk-types

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-types@571

@forgerock/sdk-utilities

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-utilities@571

@forgerock/iframe-manager

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/iframe-manager@571

@forgerock/sdk-logger

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-logger@571

@forgerock/sdk-oidc

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-oidc@571

@forgerock/sdk-request-middleware

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-request-middleware@571

@forgerock/storage

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/storage@571

commit: ec8d214

@github-actions
Copy link
Copy Markdown
Contributor

Deployed e533d6d to https://ForgeRock.github.io/ping-javascript-sdk/pr-571/e533d6de73b0df3cef1e54195d427f8902604391 branch gh-pages in ForgeRock/ping-javascript-sdk

@github-actions
Copy link
Copy Markdown
Contributor

📦 Bundle Size Analysis

📦 Bundle Size Analysis

🚨 Significant Changes

🔻 @forgerock/device-client - 0.0 KB (-9.7 KB, -100.0%)
🔻 @forgerock/journey-client - 0.0 KB (-89.2 KB, -100.0%)

📊 Minor Changes

📈 @forgerock/device-client - 9.9 KB (+0.2 KB)
📉 @forgerock/davinci-client - 48.0 KB (-0.0 KB)
📈 @forgerock/oidc-client - 25.2 KB (+0.3 KB)
📈 @forgerock/journey-client - 89.9 KB (+0.7 KB)

➖ No Changes

@forgerock/sdk-utilities - 11.2 KB
@forgerock/sdk-types - 7.9 KB
@forgerock/protect - 150.1 KB
@forgerock/storage - 1.5 KB
@forgerock/sdk-oidc - 4.8 KB
@forgerock/sdk-request-middleware - 4.5 KB
@forgerock/sdk-logger - 1.6 KB
@forgerock/iframe-manager - 2.4 KB


14 packages analyzed • Baseline from latest main build

Legend

🆕 New package
🔺 Size increased
🔻 Size decreased
➖ No change

ℹ️ How bundle sizes are calculated
  • Current Size: Total gzipped size of all files in the package's dist directory
  • Baseline: Comparison against the latest build from the main branch
  • Files included: All build outputs except source maps and TypeScript build cache
  • Exclusions: .map, .tsbuildinfo, and .d.ts.map files

🔄 Updated automatically on each push to this PR

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 15.67%. Comparing base (5d6747a) to head (ec8d214).
⚠️ Report is 28 commits behind head on main.

❌ Your project status has failed because the head coverage (15.67%) is below the target coverage (40.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #571       +/-   ##
===========================================
- Coverage   70.90%   15.67%   -55.24%     
===========================================
  Files          53      154      +101     
  Lines        2021    26666    +24645     
  Branches      377     1127      +750     
===========================================
+ Hits         1433     4180     +2747     
- Misses        588    22486    +21898     

see 101 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ryanbas21 ryanbas21 merged commit 9088443 into main Apr 16, 2026
8 checks passed
@ryanbas21 ryanbas21 deleted the migrate-nx branch April 16, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants