Skip to content

[Bug][P0]: Failed to resolve entry for package - extra src directory in lib after build and publish #198

Closed
@george-cz

Description

@george-cz

Recently I did an upgrade of react-resize-handle, everything worked locally, but it could not be added as a dependency to a project, complaining about invalid path to entry point.

image

With more examination we discovered that there is an extra src directory in the lib folder of the published package (open "lib"):
https://www.npmjs.com/package/@fluentui-contrib/react-resize-handle/v/0.3.0?activeTab=code
which is not accounted for in the package.json entrypoint. This results in the package being unusable.

For comparison, this is the previous version (open "lib"):
https://www.npmjs.com/package/@fluentui-contrib/react-resize-handle/v/0.2.0?activeTab=code

Running build locally seems to produce the correct folder structure.

This probably affects all of the contrib packages and is most likely a result of recent changes in the CI/CD pipeline.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions