-
Notifications
You must be signed in to change notification settings - Fork 386
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: use framework info #1704
Merged
Merged
Feat: use framework info #1704
+475
−1,261
Conversation
This file contains 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
5490ee5
to
177fc38
Compare
94abd03
to
efcb2be
Compare
6e92c13
to
eacf421
Compare
This was referenced Apr 5, 2021
eacf421
to
b3e3b4e
Compare
📊 Benchmark resultsComparing with 0b5c891
|
ca1c791
to
bfcb6cd
Compare
6d425d9
to
8efd263
Compare
cc98c28
to
fe4f619
Compare
fe4f619
to
485334c
Compare
📊 Benchmark resultsComparing with 728826e Package size: 330 MB(no change)
Legend
|
4bf4797
to
ec9c4bc
Compare
This was referenced Jul 1, 2021
5b659bb
to
ed6cae1
Compare
This was referenced Aug 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
type: feature
code contributing to the implementation of a feature and/or user facing functionality
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.
Summary
Fixes #1495
Fixes #1252
Related to #843
Changes in behavior
Changes from #843
framework = "#custom"
.command
andtargetPort
are not configured.framework
is not#custom
and user has specifiedcommand
andtargetPort
.framework = "#custom"
.ntl dev --command "echo hello" --targetPort 8000
which was not supported before (adding--framework "#custom"
didn't work as well).dir
flag is specified.targetPort
orcommand
are specified.command
is configured we print a warning and suggest to usetargetPort
for a custom setup.targetPort
is configured we print a warning and suggest to usestaticServerPort
to configure the static server port.Other changes
framework = "create-react-app"
(or any other specific framework)create-react-app
detector, if it fails report an error, otherwise use itAdded a newDone in feat(command-dev): add framework flag #2818--framework
flag. You can only configureframework
using thedev
block at the moment. That doesn't make sense since we already havecommand
andtargetPort
flags.Test plan
Testing this manually at the moment.Will think of a good way to test the integration without having a performance hit.Tested only the happy path, so others are probably broken.Replaced the unit tests with integration testsTests were added in #2821, I've updated them to reflect the new behavior
- A picture of a cute animal (not mandatory but encouraged)
