Skip to content

Conversation

castastrophe
Copy link
Contributor

Description

This change pins package dependencies across the entire Spectrum Web Components monorepo to ensure consistent and reproducible builds. The update affects 25 package.json files and the yarn.lock file, standardizing dependency versions across all packages and tools.

Motivation and context

Pinning dependencies is essential for:

  • Ensuring reproducible builds across different environments
  • Preventing unexpected breaking changes from dependency updates
  • Maintaining consistent behavior across all packages in the monorepo
  • Improving security by controlling exactly which versions are used
  • Facilitating easier debugging when issues arise

Related issue(s)

  • fixes [SWC-1243]

Screenshots (if appropriate)

N/A - This is a dependency management change without visual changes.

Author's checklist

  • I have read the CONTRIBUTING and PULL_REQUESTS documents.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices
  • I have added automated tests to cover my changes.
  • I have included a well-written changeset if my change needs to be published.
  • I have included updated documentation if my change required it.

Reviewer's checklist

  • Includes a Github Issue with appropriate flag or Jira ticket number without a link
  • Includes thoughtfully written changeset if changes suggested include patch, minor, or major features
  • Automated tests cover all use cases and follow best practices for writing
  • Validated on all supported browsers
  • All VRTs are approved before the author can update Golden Hash

Manual review test cases

  • All packages build successfully with pinned dependencies

    1. Go to root directory
    2. Run yarn install to install pinned dependencies
    3. Expect all packages to install without conflicts
  • Build system works with pinned dependencies

    1. Run yarn build
    2. Verify all packages build successfully
    3. Expect no build errors related to dependency conflicts
  • Tests pass with pinned dependencies

    1. Run yarn test
    2. Verify all tests pass
    3. Expect no test failures related to dependency changes

@castastrophe castastrophe self-assigned this Sep 19, 2025
@castastrophe castastrophe requested a review from a team as a code owner September 19, 2025 17:41
@castastrophe castastrophe added dependencies Pull requests that update a dependency file Priority ready-for-review 2nd gen These issues or PRs map to our 2nd generation work to modernizing infrastructure. labels Sep 19, 2025
Copy link

changeset-bot bot commented Sep 19, 2025

⚠️ No Changeset found

Latest commit: cc3d7b9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Rajdeepc Rajdeepc requested a review from a team September 24, 2025 07:06
@castastrophe castastrophe force-pushed the castastrophe/chore-pin-dependencies-barebones-swc-1243 branch 4 times, most recently from 6016aae to 2a0c345 Compare September 25, 2025 17:26
@castastrophe castastrophe force-pushed the castastrophe/chore-pin-dependencies-barebones-swc-1243 branch from 2a0c345 to cc3d7b9 Compare September 25, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2nd gen These issues or PRs map to our 2nd generation work to modernizing infrastructure. dependencies Pull requests that update a dependency file Priority ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants