Skip to content

feat!: Lookup configPath in configFiles#128

Merged
phated merged 4 commits into
mainfrom
phated/config-path-override
Mar 16, 2024
Merged

feat!: Lookup configPath in configFiles#128
phated merged 4 commits into
mainfrom
phated/config-path-override

Conversation

@phated
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread test/fixtures/configfiles/override-config-path.js
@sttk
Copy link
Copy Markdown
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
@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
Copy Markdown
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.

2 participants