Skip to content

chore(maintenance): move dev tooling to devDependencies in private workspaces - #5595

Merged
svozza merged 2 commits into
mainfrom
chore/issue-5593
Aug 31, 2026
Merged

chore(maintenance): move dev tooling to devDependencies in private workspaces#5595
svozza merged 2 commits into
mainfrom
chore/issue-5593

Conversation

@svozza

@svozza svozza commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

A couple of private workspaces declared build/test tooling (esbuild, typescript, @types/*) under dependencies instead of devDependencies. Dependabot classifies updates as production or development based on where a package is declared across the repo, so these misplacements caused routine tooling bumps to be labelled as production dependencies and excluded from the dev-dependency auto-merge workflow. Both workspaces are private and never published to npm, so the change has no effect on anything we ship.

Changes

  • examples/app: remove @types/node, @types/aws-lambda, and typescript from dependencies (they were already duplicated in devDependencies), and move esbuild to devDependencies
  • layers: move esbuild to devDependencies
  • Update package-lock.json so the workspace declarations and dev flags reflect the moves; all resolved versions stay at main's pins

packages/testing keeps esbuild as a production dependency — it backs the NodejsFunction L3 construct the package provides, so it's production as far as this package is concerned (see review discussion).

Issue number: closes #5593


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Comment thread packages/testing/package.json
@svozza
svozza merged commit 477fa86 into main Aug 31, 2026
39 checks passed
@svozza
svozza deleted the chore/issue-5593 branch August 31, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S PR between 10-29 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: move dev tooling out of production dependencies in private workspaces

2 participants