Skip to content

chore: scaffold the repo and migrate the web app onto published npm#2

Merged
sepehr-safari merged 1 commit into
mainfrom
chore/scaffold-migrate
Jul 13, 2026
Merged

chore: scaffold the repo and migrate the web app onto published npm#2
sepehr-safari merged 1 commit into
mainfrom
chore/scaffold-migrate

Conversation

@sepehr-safari

Copy link
Copy Markdown
Member

Summary

Stand up ocpp-debugkit/website and relocate the toolkit web app into it —
unchanged — with the /inspector route running off the published
@ocpp-debugkit/toolkit npm package instead of a workspace dependency. This is
the "relocate, don't rewrite" step; the umbrella content rework (Studio coverage,
marketing refresh) lands next.

Changes

  • Scaffold: Next.js 16 (App Router), Tailwind v4, strict TypeScript, ESLint,
    Playwright, vercel.json.
  • Migration: src/app/** (landing, layout, inspector, all docs pages) and the
    Playwright specs moved as-is. No behavior change.
  • npm decoupling: package.json depends on @ocpp-debugkit/toolkit@^0.3.1
    from npm. The inspector's import specifiers are unchanged — the published
    package already exports ./core, ./reporter, ./scenarios, ./replay.
  • FOSS foundation: README, LICENSE (Apache-2.0), NOTICE, CONTRIBUTING,
    CODE_OF_CONDUCT, SECURITY (private-advisory reporting), AGENTS, CURRENT_STATE,
    issue/PR templates, CI (build → typecheck → lint → e2e).

Verification

Local, against the published package (no workspace):

  • pnpm build — 17 routes build, including /inspector.
  • pnpm typecheck — clean.
  • pnpm lint — 0 errors (1 pre-existing exhaustive-deps warning carried over
    verbatim from the source; left untouched to preserve behavior).
  • pnpm test:e2e16 passed. The inspector + replay specs are the migration
    smoke test: they load a sample scenario and assert the timeline, failures, and
    replay controls all render off the npm-backed toolkit.

Notes for reviewer

  • Content is intentionally the existing (pre-umbrella) landing/docs — the
    refresh + Studio coverage is the follow-up PR.
  • Manual handoff after merge: import the repo into Vercel (framework auto-detected).

Closes #1

Relocate the toolkit web app into its own repository, unchanged, with the
/inspector route now consuming the published @ocpp-debugkit/toolkit npm
package (^0.3.1) instead of a workspace dependency.

- Next.js 16 / App Router / Tailwind v4 / strict TypeScript scaffold
- Migrated landing, layout, inspector, and all docs pages as-is
- Ported Playwright config + landing/inspector/replay specs
- FOSS foundation: README, LICENSE, NOTICE, CONTRIBUTING, CODE_OF_CONDUCT,
  SECURITY, AGENTS, CURRENT_STATE, issue/PR templates, CI
@sepehr-safari sepehr-safari merged commit 6aee4da into main Jul 13, 2026
1 check passed
@sepehr-safari sepehr-safari deleted the chore/scaffold-migrate branch July 13, 2026 09:44
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.

chore: scaffold the repo and migrate the web app onto published npm

1 participant