Skip to content

Fix Windows entry glob separators#67

Open
Peter7896 wants to merge 1 commit into
acrazing:masterfrom
Peter7896:peter7896/windows-entry-glob-separators
Open

Fix Windows entry glob separators#67
Peter7896 wants to merge 1 commit into
acrazing:masterfrom
Peter7896:peter7896/windows-entry-glob-separators

Conversation

@Peter7896

Copy link
Copy Markdown

Closes #66

Summary

  • Normalizes Windows backslash entry globs before passing them to glob.
  • Keeps displayed dependency tree paths stable with forward slashes after path.relative on Windows.
  • Covers the packages\shared\src\index.ts entry case with a parser regression test.

Validation

  • npm install --package-lock=false --ignore-scripts --no-audit --no-fund
  • npx tsx src\bin\dpdm.ts .\src\index.ts --tree false --circular false --warning false --progress false
  • npx vitest run src\parser.spec.ts
  • npx vitest run
  • npm run typecheck
  • npx prettier --check src\parser.ts src\bin\dpdm.ts src\parser.spec.ts src\utils.ts
  • git diff --check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Windows paths breaks

1 participant