refactor: move environment prefix constants from utils to env package#91
Merged
adelrodriguez merged 1 commit intomainfrom Feb 19, 2026
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Feb 19, 2026
Base automatically changed from
02-18-feat_replace_custom_duration_utils_with_qte_library
to
main
February 19, 2026 03:06
88a6cc0 to
4c513e7
Compare
This was referenced Feb 19, 2026
This was referenced Feb 19, 2026
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.

Greptile Summary
Moved
REACT_PUBLIC_ENV_PREFIXandEXPO_PUBLIC_ENV_PREFIXconstants from@init/utils/constantsto@init/envpackage for better logical organization.packages/env/src/constants.tsfile with the two environment prefix constantspackages/env/src/index.tsto re-export the constantspackages/env/src/presets.tsto import from local constants fileapps/app/src/shared/env.tsto import from@init/envpackages/utils/src/constants/app.tsThis refactor improves code organization by placing environment-related constants in the env package where they are primarily used, reducing coupling between packages.
Confidence Score: 5/5
Important Files Changed
EXPO_PUBLIC_ENV_PREFIXandREACT_PUBLIC_ENV_PREFIXconstants#constants.tsto make them available to consumers@init/utils/constantsREACT_PUBLIC_ENV_PREFIXfrom@init/envinstead of@init/utils/constantsREACT_PUBLIC_ENV_PREFIXandEXPO_PUBLIC_ENV_PREFIXconstants (moved to env package)Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["@init/utils/constants"] -->|Before| B["REACT_PUBLIC_ENV_PREFIX\nEXPO_PUBLIC_ENV_PREFIX"] B -->|Used by| C["@init/env/presets"] B -->|Used by| D["apps/app/src/shared/env.ts"] E["@init/env/constants"] -->|After| F["REACT_PUBLIC_ENV_PREFIX\nEXPO_PUBLIC_ENV_PREFIX"] F -->|Re-exported by| G["@init/env/index.ts"] G -->|Used by| H["@init/env/presets"] G -->|Used by| I["apps/app/src/shared/env.ts"] style A fill:#ffcccc style E fill:#ccffcc style B fill:#ffcccc style F fill:#ccffccLast reviewed commit: 4c513e7