Skip to content

fix: make clean script cross-platform - #27

Merged
abla86 merged 2 commits into
mainfrom
fix/cross-platform-clean-script
Oct 12, 2026
Merged

abla86 merged 2 commits into
mainfrom
fix/cross-platform-clean-script

Conversation

@abla86

@abla86 abla86 commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Problem

The clean npm script uses rm -rf, which is not available in the default Windows command shell used by npm on Windows. This makes a normal development task fail on Windows.

Change

Replace the shell-specific command with Node's node:fs rmSync, preserving the same cleanup targets (dist/ and server.js) and making the script work across supported operating systems.

Validation

The command uses Node APIs already available in the project runtime. CI should verify the repository's typecheck, build, and smoke test; this PR does not change application runtime behavior.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 06:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T07:01:46.631916Z ea6441d PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI 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.

🔵 Needs a closer look

The nonexistent Autoprefixer version prevents dependency installation.

0 open findings

What changed in this PR

Makes the clean script cross-platform using Node’s filesystem API.

Changes:

  • Replaces rm -rf with fs.rmSync.
  • Accidentally changes Autoprefixer to a nonexistent version.
File Description
package.json Updates cleanup command and Autoprefixer dependency.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@abla86
abla86 merged commit fed0c7e into main Oct 12, 2026
9 checks passed
@abla86
abla86 deleted the fix/cross-platform-clean-script branch October 12, 2026 07:00

@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: ea6441d1b6

ℹ️ 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 Outdated
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^6.1.1",
"autoprefixer": "^10.4.21",
"autoprefixer": "^4.10.21",

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 Restore the valid Autoprefixer version

^4.10.21 drops the major-version digit from the previously declared release: Autoprefixer publishes 10.4.21, but no 4.10.21 release satisfies this range. The root CI workflow runs npm install before linting, building, and testing, so dependency installation will fail with an ETARGET error and prevent every root CI run from reaching those checks.

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