You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable the NpmProvider to locate and process package.json files that are not in the root directory by correctly handling and resolving paths from the project root.
Possible Solution
npm_provider.py:
@propertydefpackage_file(self) ->Path:
package_path=next(
(Path(p) forpinself.config.settings["version_files"] ifp.endswith("package.json")),
None
)
ifpackage_pathisNone:
raiseFileNotFoundError("No package.json found in version_files")
returnpackage_path