Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more! 9 years of continuous development and counting.
MIT License
17.74k
stars
1.4k
forks
source link
refactor: replace shell commands with filesystem API in project creation #2817
[x] yarn testjest tests pass with new tests, if relevant
[x] yarn linteslint checks pass with new code, if relevant
[x] yarn format:checkprettier checks pass with new code, if relevant
[ ] README.md (or relevant documentation) has been updated with your changes
[ ] If this affects functionality there aren't tests for, I manually tested it, including by generating a new app locally if needed (see docs).
Describe your PR
Fixes #2816.
This PR replaces the rm and mv shell commands in project creation with gluegun (fs-jetpack) filesystem calls to ensure compatibility with Windows (Since there's no mv and rm in Windows CMD).
Please verify the following:
yarn test
jest tests pass with new tests, if relevantyarn lint
eslint checks pass with new code, if relevantyarn format:check
prettier checks pass with new code, if relevantREADME.md
(or relevant documentation) has been updated with your changesDescribe your PR
Fixes #2816.
This PR replaces the
rm
andmv
shell commands in project creation withgluegun (fs-jetpack)
filesystem calls to ensure compatibility with Windows (Since there's nomv
andrm
in Windows CMD).