feat: modernize codebase with async/await and updated dependencies#18
Merged
feat: modernize codebase with async/await and updated dependencies#18
Conversation
- Remove async library dependency, replace with native async/await - Remove mv package, use native fs.promises.rename() - Update commander v2 -> v12 (latest) - Update file-type v3 -> v19 (latest) - Convert all callback-based code to async/await in: - lib/system-font.js - lib/google-font.js - lib/google-font-list.js - lib/request.js - Maintain backward compatibility with callback APIs - Use native Array methods instead of async library - Use fs.promises instead of callback-based fs - Update CLI to use new Commander API BREAKING CHANGES: - Requires Node.js 14+ for fs.promises and recursive mkdir - Commander v12 requires new Command() syntax
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGES: