Skip to content

Conversation

@webdeveric
Copy link
Owner

No description provided.

@webdeveric webdeveric requested a review from Copilot September 15, 2025 13:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request reorganizes sort functions from a flat structure into a hierarchical directory structure. The sort functions are moved from single files into categorized subdirectories, and test files are restructured to match the new organization.

  • Moves sort comparison functions to individual files in src/sort/ directory
  • Extracts factory functions to src/sort/factory/ subdirectory
  • Updates test files to match the new directory structure
  • Adds a new nullish predicate factory function with corresponding test

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/sort/factory/byReverseOf.test.ts New test file for byReverseOf factory function
test/sort/factory/byProperty.test.ts Updated imports and removed byReverseOf tests (moved to separate file)
test/sort/byTimestamp.test.ts New test file for byTimestamp function
test/sort/bySubtraction.test.ts New test file for bySubtraction function
test/sort/bySimpleComparison.test.ts New test file for bySimpleComparison function
test/sort/byLocaleCompare.test.ts New test file for byLocaleCompare function
test/sort.test.ts Removed (tests moved to individual files)
test/predicate/factory/nullish.test.ts New test file for nullish predicate factory
src/types/common.ts Added Nullish type definition
src/sort/factory/byReverseOf.ts New file for byReverseOf factory function
src/sort/factory/byProperty.ts Updated imports and removed byReverseOf (moved to separate file)
src/sort/byTimestamp.ts New file for byTimestamp function
src/sort/bySubtraction.ts New file for bySubtraction function
src/sort/bySimpleComparison.ts New file for bySimpleComparison function
src/sort/byLocaleCompare.ts New file for byLocaleCompare function
src/sort.ts Removed (functions moved to individual files)
src/predicate/factory/nullish.ts New predicate factory function
src/predicate/factory/index.ts Added export for nullish function
src/index.ts Removed exports for sort modules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@webdeveric webdeveric merged commit f22add7 into master Sep 15, 2025
4 checks passed
@webdeveric webdeveric deleted the dev branch September 15, 2025 14:12
@github-actions
Copy link

🎉 This PR is included in version 0.72.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants