Skip to content

[core-lro] Restore files section to package.json#28909

Merged
timovv merged 1 commit intoAzure:mainfrom
timovv:core-lro/restore-files-section
Mar 13, 2024
Merged

[core-lro] Restore files section to package.json#28909
timovv merged 1 commit intoAzure:mainfrom
timovv:core-lro/restore-files-section

Conversation

@timovv
Copy link
Member

@timovv timovv commented Mar 13, 2024

Packages impacted by this PR

  • @azure/core-lro

Describe the problem that is addressed by this PR

In the ESM migration it appears we accidentally removed the files section from package.json for this package, so the built and packed package includes everything including the source code. This PR restores the field in line with the other ESMified Core packages.

Copy link
Member

@maorleger maorleger left a comment

Choose a reason for hiding this comment

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

I wonder if there's an automated check that would have caught this, maybe:

  1. Lint rule that files needs to be present
  2. Automated package size check
    Something else?

@timovv
Copy link
Member Author

timovv commented Mar 13, 2024

Yeah, I think this is something that would have been picked up by the dev-tool check concept Will was looking at some time ago (IIRC this involved adding validation for the package.json, among other things). Maybe it's time to start looking at that again.

@timovv timovv enabled auto-merge (squash) March 13, 2024 23:06
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@timovv timovv merged commit 4c0a0fa into Azure:main Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants