-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli] sort imports in build/index.ts #12833
Conversation
🦋 Changeset detectedLatest commit: a80afdb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm down for this, but yes please let's automate it.
I'm mildly against sorting imports. I think that a thoughtful human sort is better than a deterministic/automatic sort. The problem is the non-automatic sort is often not thoughtful. So, I'm fine either way. |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Minor Changes - [cli] add compile cache to improve startup performance ([#12783](#12783)) ### Patch Changes - [cli] standardizes uses of confirm on confirm.ts ([#12834](#12834)) - [cli] sort imports in build/index.ts ([#12833](#12833)) - Updated dependencies \[[`5fea2c49103adf6f7153f04378bff6f571375b0e`](5fea2c4)]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Add support for in-function concurrency ([#12850](#12850)) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Breaks the imports in
build/index.ts
into three sorted groups: external dependencies, monorepo dependencies, and other modules inpackage/cli
.I did this PR as a standalone on one module so that we can discuss whether we:
package/cli
or the whole repo?This particular sort was done using a manual invocation of the Zed 'organize imports' code action.