Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Resolve node module macos-alias installation on non-macOS platfo…
…rms (#2942) fix: Resolve node module macos-alias installation on non-macOS platforms - Add `optionalDependencies` for node module `macos-alias` in package.json - Prevent npm build failures on Linux platform & non-macOS platforms closes #2941 Reference: * npm Doc: package.json's optionalDependencies section https://docs.npmjs.com/cli/v10/configuring-npm/package-json#optionaldependencies * what's the difference of optionalDependencies and peerDependenciesMeta's optional? https://stackoverflow.com/questions/74916906/whats-the-difference-of-optionaldependencies-and-peerdependenciesmetas-optiona <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [x] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
- Loading branch information