Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[configure-splash-sceen]<feat>: Add missing --version, -V #2785

Merged
merged 3 commits into from Oct 14, 2020

Conversation

bbarthec
Copy link
Contributor

@bbarthec bbarthec commented Oct 13, 2020

I observed that the yarn expo-splash-screen was missing a version option and therefore it was really hard to tell what version of this command the user is running.

I've fetched the version from the package.json as this is the most reliable source.

Unfortunately I had to change tsc project structure, because tsc was complaining.

edit: I've had to adjust the tsconfig file to ignore jsons, because importing the file from outside the rootDir (specified in tsconfig, and package.json is outside the src directory) would change the build folder layout and will copy over the package.json file and that package.json file duplication is not playing well with lerna and other other tooling (CI was failing)

There cannot be another package.json in the project files (eg. in build folder), becasue lerna will detect it and mess up the types for tsc.
@bbarthec bbarthec changed the title [configure-splash-sceen]<feat>: Add missing --version, -V option [configure-splash-sceen]<feat>: Add missing --version, -V Oct 14, 2020
@bbarthec bbarthec merged commit fa3f3b0 into master Oct 14, 2020
@bbarthec bbarthec deleted the @bbarthec/configure-splash-screen/add-version branch October 14, 2020 12:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants