Skip to content

chore: standardize pnpm workflow setup - #2

Merged
concertypin merged 4 commits into
mainfrom
dev/template-cleanup-20260804
Aug 4, 2026
Merged

chore: standardize pnpm workflow setup#2
concertypin merged 4 commits into
mainfrom
dev/template-cleanup-20260804

Conversation

@concertypin

Copy link
Copy Markdown
Contributor

Standardizes pnpm/Node setup with a repository-local composite action and explicit frozen installs, bumps @concertypin/config to 0.2, and makes pnpm check apply format/lint fixes.

(cherry picked from commit d1d9d1d64451f45cf70c21f4a4626e8f9e436ac2)
(cherry picked from commit 34b4f3f5a958e106f60ed59c7bd43f5df3978dd9)
Comment thread .github/actions/setup-pnpm/action.yml

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14ac9eb71e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
@concertypin
concertypin merged commit a19ed91 into main Aug 4, 2026
7 checks passed
@concertypin
concertypin deleted the dev/template-cleanup-20260804 branch August 4, 2026 08:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a52681fada

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread vite.config.ts

export default defineConfig({
base: "/",
base: "./",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the router basename absolute in default builds

For a plain pnpm build, Vite substitutes "./" for import.meta.env.BASE_URL, which src/index.tsx passes directly to BrowserRouter as its basename. Because browser pathnames start with / and do not match that relative basename, the built app renders no route at / or /about; the deploy workflow avoids this only because it overrides --base, while the newly documented default build and pnpm preview remain broken. Keep an absolute router basename or decouple it from the relative asset base.

AGENTS.md reference: AGENTS.md:L5-L8

Useful? React with 👍 / 👎.

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.

2 participants