Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pnpmPublic

fix: correct path parsing for projects in ancestor directories while calculating the repo root#10097

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
FreeJolan wants to merge1 commit intopnpm:main
base:main
Choose a base branch
Loading
fromFreeJolan:fix/parse_project_path

Conversation

@FreeJolan
Copy link

fix#10096

During installation, the regex for parsing relative package paths does not work correctly for projects in ancestor directories:

constrelativePartRegExp=newRegExp(`^(\\.\\.\\${path.sep})+`)

For example, given the path../.., this regex extracts../, whereas the expected result is'../..'.

@welcome
Copy link

welcomebot commentedOct 15, 2025

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@zkochanzkochanAwaiting requested review from zkochanzkochan is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Installation cannot create node_modules and lockfile for the project in the parent folder

1 participant

@FreeJolan

[8]ページ先頭

©2009-2025 Movatter.jp