Skip to content

fix(web): point npm links to toolkit package + inspector nav link#81

Merged
sepehr-safari merged 1 commit into
mainfrom
fix/npm-package-links
Jul 8, 2026
Merged

fix(web): point npm links to toolkit package + inspector nav link#81
sepehr-safari merged 1 commit into
mainfrom
fix/npm-package-links

Conversation

@sepehr-safari

Copy link
Copy Markdown
Member

Summary

Two fixes bundled together:

1. npm links point to organization page instead of package page

The footer npm link on the landing page and both npm links in README.md pointed to
https://www.npmjs.com/org/ocpp-debugkit (the org page) instead of the actual
package: https://www.npmjs.com/package/@ocpp-debugkit/toolkit.

Also fixed apps/web/README.md which still referenced the old deprecated package
names (@ocpp-debugkit/core, scenarios, reporter) instead of the consolidated
@ocpp-debugkit/toolkit.

2. Inspector header has no link back to root page

The docs layout has a working nav link (OCPP DebugKit/), but the inspector
header was a plain <h1> with no link. Updated to match the docs pattern: a <Link>
to / with the brand name, plus a small "Inspector" section label.

Changes

  • README.md — badge link + links section: npmjs.com/org/...npmjs.com/package/@ocpp-debugkit/toolkit
  • apps/web/src/app/page.tsx — footer npm link: same fix
  • apps/web/README.md — old package names → @ocpp-debugkit/toolkit
  • apps/web/src/app/inspector/page.tsx — header <h1><Link href="/"> + section label
  • apps/web/tests/inspector.spec.ts — updated test for new header structure
  • apps/web/tests/landing.spec.ts — updated navigation test for new header structure

Verification

  • pnpm lint — passes
  • pnpm format:check — passes
  • pnpm typecheck — passes
  • pnpm build — passes
  • pnpm test — 295 tests pass
  • pnpm test:e2e — 16 Playwright tests pass

npm links in README.md and landing page footer pointed to the npm
organization page instead of the actual toolkit package page.

- README.md: badge link + links section -> /package/@ocpp-debugkit/toolkit
- apps/web/src/app/page.tsx: footer npm link -> same
- apps/web/README.md: stale references to old packages (core, scenarios,
  reporter) -> @ocpp-debugkit/toolkit

Also add a nav link from the inspector header to the root page, matching
the docs layout pattern (link with 'OCPP DebugKit' + section label).

- apps/web/src/app/inspector/page.tsx: wrap title in <Link href='/'>
- Update E2E tests to match new header structure
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ocpp-debugkit-web Building Building Preview Jul 8, 2026 9:52pm

@sepehr-safari sepehr-safari merged commit 96b3b8f into main Jul 8, 2026
4 checks passed
@sepehr-safari sepehr-safari deleted the fix/npm-package-links branch July 8, 2026 21:53
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