Skip to content

chore(template): move client to repo root and reconfigure for client-only - #1

Merged
staana-matthew merged 5 commits into
devfrom
chore/remove-server-and-supabase-boilerplate
Jun 10, 2026
Merged

staana-matthew merged 5 commits into
devfrom
chore/remove-server-and-supabase-boilerplate

Conversation

@staana-matthew

Copy link
Copy Markdown
Owner

Summary

Move the client app from client/ into the repository root and
reconfigure workspace, CI, and build settings for a client-only React
TypeScript template.

What Changed

  • Moved client sources and config to repo root (removed client/).
  • Updated package.json scripts and pruned server-only dependencies.
  • Updated vite.config.ts, tsconfig.json, and tsconfig.app.json.
  • Updated .vscode workspace settings and extensions.json.
  • Simplified GitHub Actions workflows to run client-only jobs.
  • Updated README.md to reflect root-based setup and commands.
  • Updated/removed tests that referenced server/supabase mocks.

What

This PR converts the repository to a client-only React TypeScript
template by relocating the client and removing backend scaffolding.

Why

The original template included server/ and supabase/ boilerplate
that is not used by this project. Keeping that scaffolding causes
confusion, stale dependencies, and failing CI steps for consumers of
the template. Centralizing the client at the repo root simplifies
developer workflows and tooling.

How

  • Move files from client/ into the repo root; update import paths.
  • Edit package.json to keep only client scripts (dev, build,
    test, lint, format).
  • Modify vite.config.ts and TypeScript configs to remove server
    references and ensure correct path aliases.
  • Update .github/workflows/* to remove server jobs and only run
    client install/lint/build/test steps.
  • Update .vscode settings to reference the root workspace.
  • Replace or stub tests that relied on server/supabase utilities.

Testing

  • Run formatting: npm run format (already executed)
  • Install and run dev server: npm run dev — app should load
  • Build locally: npm run build — build should succeed
  • Run tests: npm run test:run — update failing tests that referenced
    removed mocks
  • CI: ensure .github/workflows/ci.yml passes on push

Pre-Merge Checklist

  • Rebase or merge latest dev into this branch
  • All tests pass locally and in CI
  • Update any downstream docs that referenced client/
  • Request at least one reviewer

This repo was forked from a React+Express+Supabase template but the
final product is a client-only React template. Remove the unused
`server/` and `supabase/` scaffolding, eliminate related scripts and
cleanup references so local dev and CI run client-only.

This reduces confusion for new users and removes unused dev deps.
Move all client-side sources and config out of `client/` into the
repository root to simplify the template layout and reduce confusion
for template users. Update import paths and config references that
pointed at `client/`. Remove the now-empty `client/` directory.

This keeps the template minimal and makes standard `npm run` scripts
work from the repo root.
Update `.vscode` workspace settings and recommended extensions to
point at the repository root rather than `client/`. Remove settings
that referenced server-side launch configs or workspace folders.

This makes the VS Code experience consistent for developers using the
client-only template.
Remove server/supabase-related jobs and steps from CI workflows and
ensure the build/test matrix only runs client tasks (install, lint,
typecheck, build, test). Simplify secrets/env usage to avoid server
deploy steps that no longer exist.

This reduces CI run time and avoids failed jobs due to removed services.
Adjust `package.json` scripts and dependencies, remove server-only
devDependencies, and update `vite.config.ts`, `tsconfig.json`,
and `tsconfig.app.json` to exclude server paths and include client
source locations at the repo root.

Wrap up with a README update detailing root-level dev commands.
@staana-matthew staana-matthew added documentation Improvements or additions to documentation chore ci labels Jun 10, 2026
@staana-matthew
staana-matthew merged commit b0907f7 into dev Jun 10, 2026
1 of 4 checks passed
@staana-matthew
staana-matthew deleted the chore/remove-server-and-supabase-boilerplate branch June 10, 2026 03:10
staana-matthew added a commit that referenced this pull request Jun 10, 2026
…only (#1)

* chore(project): remove server and supabase scaffolding

This repo was forked from a React+Express+Supabase template but the
final product is a client-only React template. Remove the unused
`server/` and `supabase/` scaffolding, eliminate related scripts and
cleanup references so local dev and CI run client-only.

This reduces confusion for new users and removes unused dev deps.

* chore(restructure): move client contents from client/ to repo root

Move all client-side sources and config out of `client/` into the
repository root to simplify the template layout and reduce confusion
for template users. Update import paths and config references that
pointed at `client/`. Remove the now-empty `client/` directory.

This keeps the template minimal and makes standard `npm run` scripts
work from the repo root.

* chore(vscode): update workspace settings for root-based dev

Update `.vscode` workspace settings and recommended extensions to
point at the repository root rather than `client/`. Remove settings
that referenced server-side launch configs or workspace folders.

This makes the VS Code experience consistent for developers using the
client-only template.

* ci(github): update GitHub Actions workflows to client-only builds

Remove server/supabase-related jobs and steps from CI workflows and
ensure the build/test matrix only runs client tasks (install, lint,
typecheck, build, test). Simplify secrets/env usage to avoid server
deploy steps that no longer exist.

This reduces CI run time and avoids failed jobs due to removed services.

* chore(config): update package.json, Vite and TS configs for client-only

Adjust `package.json` scripts and dependencies, remove server-only
devDependencies, and update `vite.config.ts`, `tsconfig.json`,
and `tsconfig.app.json` to exclude server paths and include client
source locations at the repo root.

Wrap up with a README update detailing root-level dev commands.
staana-matthew added a commit that referenced this pull request Jun 10, 2026
…only (#1)

* chore(project): remove server and supabase scaffolding

This repo was forked from a React+Express+Supabase template but the
final product is a client-only React template. Remove the unused
`server/` and `supabase/` scaffolding, eliminate related scripts and
cleanup references so local dev and CI run client-only.

This reduces confusion for new users and removes unused dev deps.

* chore(restructure): move client contents from client/ to repo root

Move all client-side sources and config out of `client/` into the
repository root to simplify the template layout and reduce confusion
for template users. Update import paths and config references that
pointed at `client/`. Remove the now-empty `client/` directory.

This keeps the template minimal and makes standard `npm run` scripts
work from the repo root.

* chore(vscode): update workspace settings for root-based dev

Update `.vscode` workspace settings and recommended extensions to
point at the repository root rather than `client/`. Remove settings
that referenced server-side launch configs or workspace folders.

This makes the VS Code experience consistent for developers using the
client-only template.

* ci(github): update GitHub Actions workflows to client-only builds

Remove server/supabase-related jobs and steps from CI workflows and
ensure the build/test matrix only runs client tasks (install, lint,
typecheck, build, test). Simplify secrets/env usage to avoid server
deploy steps that no longer exist.

This reduces CI run time and avoids failed jobs due to removed services.

* chore(config): update package.json, Vite and TS configs for client-only

Adjust `package.json` scripts and dependencies, remove server-only
devDependencies, and update `vite.config.ts`, `tsconfig.json`,
and `tsconfig.app.json` to exclude server paths and include client
source locations at the repo root.

Wrap up with a README update detailing root-level dev commands.
staana-matthew added a commit that referenced this pull request Jun 10, 2026
…only (#1)

* chore(project): remove server and supabase scaffolding

This repo was forked from a React+Express+Supabase template but the
final product is a client-only React template. Remove the unused
`server/` and `supabase/` scaffolding, eliminate related scripts and
cleanup references so local dev and CI run client-only.

This reduces confusion for new users and removes unused dev deps.

* chore(restructure): move client contents from client/ to repo root

Move all client-side sources and config out of `client/` into the
repository root to simplify the template layout and reduce confusion
for template users. Update import paths and config references that
pointed at `client/`. Remove the now-empty `client/` directory.

This keeps the template minimal and makes standard `npm run` scripts
work from the repo root.

* chore(vscode): update workspace settings for root-based dev

Update `.vscode` workspace settings and recommended extensions to
point at the repository root rather than `client/`. Remove settings
that referenced server-side launch configs or workspace folders.

This makes the VS Code experience consistent for developers using the
client-only template.

* ci(github): update GitHub Actions workflows to client-only builds

Remove server/supabase-related jobs and steps from CI workflows and
ensure the build/test matrix only runs client tasks (install, lint,
typecheck, build, test). Simplify secrets/env usage to avoid server
deploy steps that no longer exist.

This reduces CI run time and avoids failed jobs due to removed services.

* chore(config): update package.json, Vite and TS configs for client-only

Adjust `package.json` scripts and dependencies, remove server-only
devDependencies, and update `vite.config.ts`, `tsconfig.json`,
and `tsconfig.app.json` to exclude server paths and include client
source locations at the repo root.

Wrap up with a README update detailing root-level dev commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant