Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Lookup configPath in configFiles #128

Merged
merged 4 commits into from Mar 16, 2024
Merged

Conversation

phated
Copy link
Member

@phated phated commented Mar 13, 2024

In gulp-cli, we seem to have a lot of confusing code to try to fallback to the flags.gulpfile defined in the .gulp.js config file. Instead of all that code, we should just support it in liftoff.

@phated phated force-pushed the phated/config-path-override branch from e74b54d to 9518999 Compare March 13, 2024 04:24
@phated phated requested a review from sttk March 13, 2024 04:26
@phated
Copy link
Member Author

phated commented Mar 13, 2024

@sttk please review, as this is some cleanup that I want to do before translations and themes. I believe that simplifying the env override will allow me to more easily implement your suggestions in my prototype.

Copy link
Contributor

@sttk sttk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good. I have raised one point, but other than that, I think it's fine.

test/fixtures/configfiles/override-config-path.js Outdated Show resolved Hide resolved
@sttk
Copy link
Contributor

sttk commented Mar 13, 2024

Additionally, would it be acceptable to override preload and nodeFlags within Liftoff, since they are both Liftoff options? (It might be ok in a separate PR.)

@phated phated merged commit 5301335 into main Mar 16, 2024
15 checks passed
@phated phated deleted the phated/config-path-override branch March 16, 2024 02:59
@github-actions github-actions bot mentioned this pull request Mar 16, 2024
@phated
Copy link
Member Author

phated commented Mar 16, 2024

@sttk I implemented the preloads in #131, please take a look. I also investigated the nodeFlags but I've decided not to include that until we support/handle the process.argv in Liftoff. I've opened #132 to track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants