-
-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
issue-status: needs-triageissue-status: wait-for-responsetype: featureA new enhacement proposalA new enhacement proposal
Description
Description
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:
@property
def package_file(self) -> Path:
package_path = next(
(Path(p) for p in self.config.settings["version_files"] if p.endswith("package.json")),
None
)
if package_path is None:
raise FileNotFoundError("No package.json found in version_files")
return package_pathAdditional context
No response
Additional context
No response
spotdemo4
Metadata
Metadata
Assignees
Labels
issue-status: needs-triageissue-status: wait-for-responsetype: featureA new enhacement proposalA new enhacement proposal