Skip to content

fix: remove redundant build command from serve-build scripts in package.json files#395

Merged
Patrick Lafrance (patricklafrance) merged 1 commit intomainfrom
chore/fix-audit-2026-03-01
Mar 2, 2026
Merged

fix: remove redundant build command from serve-build scripts in package.json files#395
Patrick Lafrance (patricklafrance) merged 1 commit intomainfrom
chore/fix-audit-2026-03-01

Conversation

@patricklafrance
Copy link
Member

Fix #394

…ge.json files

feat: add transit task dependency in turbo.json for linting and type checking
Copilot AI review requested due to automatic review settings March 2, 2026 17:50
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 2, 2026

Open in StackBlitz

@workleap/browserslist-config

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/browserslist-config@395

@workleap/eslint-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/eslint-configs@395

@workleap/postcss-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/postcss-configs@395

@workleap/rsbuild-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/rsbuild-configs@395

@workleap/rslib-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/rslib-configs@395

@workleap/stylelint-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/stylelint-configs@395

@workleap/swc-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/swc-configs@395

@workleap/tsup-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/tsup-configs@395

@workleap/typescript-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/typescript-configs@395

@workleap/webpack-configs

pnpm add https://pkg.pr.new/workleap/wl-web-configs/@workleap/webpack-configs@395

commit: 5b86ea3

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates monorepo task orchestration to avoid redundant builds when serving built sample apps, aligning with Turborepo’s task graph and the monorepo audit findings in #394.

Changes:

  • Remove redundant pnpm build && prefix from serve-build scripts in the webpack and rsbuild sample apps (rely on turbo.json serve-buildbuild dependency).
  • Introduce a Turborepo transit task and make eslint/stylelint/typecheck depend on it to improve dependency-aware cache invalidation without forcing sequential execution.
  • Update internal skill/docs and the audit prompt with clarified package names and an explicit “accepted findings” ignore list.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
turbo.json Adds transit task and hooks it into lint/typecheck tasks for dependency-aware caching behavior.
samples/webpack/app/package.json Removes redundant build invocation from serve-build.
samples/rsbuild/app/package.json Removes redundant build invocation from serve-build.
agent-skills/workleap-web-configs/SKILL.md Corrects package identifiers to use the proper @workleap/* names.
.github/prompts/audit-monorepo.md Documents an ignore list for audit findings that are accepted by maintainers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@patricklafrance Patrick Lafrance (patricklafrance) merged commit 88a683a into main Mar 2, 2026
11 of 12 checks passed
@patricklafrance Patrick Lafrance (patricklafrance) deleted the chore/fix-audit-2026-03-01 branch March 2, 2026 18:42
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.

audit: monorepo audit findings — 2026-03-01

2 participants