Skip to content

Add workspaces:list-versions root script#4107

Merged
mcmire merged 4 commits intomainfrom
add-list-versions-script
May 15, 2024
Merged

Add workspaces:list-versions root script#4107
mcmire merged 4 commits intomainfrom
add-list-versions-script

Conversation

@mcmire
Copy link
Copy Markdown
Contributor

@mcmire mcmire commented Mar 26, 2024

Explanation

From time to time, it's useful to have a list of the publishable packages inside this monorepo and their current versions. Yarn does not make this available via yarn workspaces list, so we have to do this ourselves.

yarn workspaces:list-versions can be run to get a human-readable list, or yarn workspaces:list-versions --json can be run to get a machine-readable version.

References

(None)

Changelog

(N/A)

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

From time to time, it's useful to have a list of the publishable
packages inside this monorepo and their current versions. Yarn does not
make this available via `yarn workspaces list`, so we have to do this
ourselves.

`yarn workspaces:list-versions` can be run to get a human-readable list,
or `yarn workspaces:list-versions --json` can be run to get a
machine-readable version.
@mcmire mcmire requested a review from a team as a code owner March 26, 2024 05:07
@mcmire
Copy link
Copy Markdown
Contributor Author

mcmire commented Mar 26, 2024

Currently running yarn workspaces:list-versions outputs:

           @metamask/accounts-controller 12.0.1
       @metamask/address-book-controller 4.0.1
       @metamask/announcement-controller 6.0.1
           @metamask/approval-controller 6.0.1
            @metamask/assets-controllers 27.2.0
               @metamask/base-controller 5.0.1
                   @metamask/build-utils 2.0.1
         @metamask/composable-controller 6.0.1
              @metamask/controller-utils 9.0.2
                @metamask/ens-controller 10.0.1
         @metamask/eth-json-rpc-provider 3.0.1
            @metamask/gas-fee-controller 14.0.1
               @metamask/json-rpc-engine 8.0.1
    @metamask/json-rpc-middleware-stream 7.0.1
            @metamask/keyring-controller 14.0.1
            @metamask/logging-controller 3.0.1
               @metamask/message-manager 8.0.1
               @metamask/name-controller 6.0.1
            @metamask/network-controller 18.0.1
       @metamask/notification-controller 5.0.1
         @metamask/permission-controller 9.0.2
     @metamask/permission-log-controller 2.0.1
           @metamask/phishing-controller 9.0.1
            @metamask/polling-controller 6.0.1
        @metamask/preferences-controller 9.0.1
     @metamask/queued-request-controller 0.6.1
         @metamask/rate-limit-controller 5.0.1
   @metamask/selected-network-controller 10.0.1
          @metamask/signature-controller 14.0.1
        @metamask/transaction-controller 25.2.0
     @metamask/user-operation-controller 6.0.2

@mcmire mcmire requested a review from a team May 6, 2024 19:31
Copy link
Copy Markdown
Contributor

@rickycodes rickycodes left a comment

Choose a reason for hiding this comment

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

ran the scripts locally and everything appears to work as advertised

@mcmire mcmire merged commit 0a6bb9e into main May 15, 2024
@mcmire mcmire deleted the add-list-versions-script branch May 15, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants