Skip to content

fix(ci): formatting and the production npm audit (next, postcss, nanoid, react-router) - #9

Merged
Domantas merged 1 commit into
mainfrom
fix/ci-green
Oct 3, 2026
Merged

Domantas merged 1 commit into
mainfrom
fix/ci-green

Conversation

@Domantas

@Domantas Domantas commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Admin main has failed CI since July. This fixes the two steps that fail first:

  • Format check — 10 files reformatted with Prettier (9 older files, 1 from the AI chat SSE fix). No code change.
  • npm audit (production) — next 15.5.19 → 15.5.27 (critical), postcss → 8.5.28, nanoid → 3.3.19, react-router → 7.18.4, sharp → 0.35.5, all within the existing ranges. Next 15 pins its own postcss 8.4.31, so package.json gains overrides.next.postcss: ^8.5.28 (same major) instead of the breaking Next 16 upgrade. npm audit --omit=dev --audit-level=high → 0 vulnerabilities.

Still red after this: Typecheck, Test and Build. CI does not check out ../sdks, so the file:../sdks/norbix-js and file:../sdks/norbix-react-redux dependencies resolve to nothing and every file that imports @norbix.ai/ts fails. The fix is to depend on the published @norbix.ai/ts and @norbix/react-redux (gateway tracker step 29b) once sdk-ts 4.3.0 and react-redux #31 are released — a separate pull request.

Checked locally (as CI runs it, no SDK folders): npm ci, lint, format:check, audit green.

🤖 Generated with Claude Code

… audit (next 15.5.27, postcss 8.5.28 via an override for next's bundled copy, nanoid, react-router, sharp)

Admin main has failed CI since July on two independent steps:
- Format check: 10 files (9 older ones, 1 from the AI chat SSE fix) — prettier --write only.
- npm audit --omit=dev --audit-level=high: next (critical), postcss, nanoid,
  react-router (high). In-range updates via npm audit fix; next 15 pins its own
  postcss 8.4.31, so package.json gains overrides.next.postcss ^8.5.28 (same
  major) instead of the breaking next 16 upgrade. npm audit: 0 vulnerabilities.

Typecheck, Test and Build still fail in CI after this: CI does not check out
../sdks, so the file:../sdks/* dependencies resolve to nothing. That is fixed by
moving to the published @norbix.ai/ts and @norbix/react-redux (gateway tracker
step 29b), after sdk-ts 4.3.0 and react-redux #31 are released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit 7204de5 into main Oct 3, 2026
1 of 2 checks passed
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