-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: detect component testing env #20002
Merged
elevatebart
merged 96 commits into
10.0-release
from
elevatebart/feat/component-detect-framework
Feb 11, 2022
Merged
Changes from 92 commits
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
007f952
fix: add isDetecetd property on wizard fw
elevatebart 2472f94
get the isDetected flag
elevatebart 6cdb975
feat: remove key warning
elevatebart 05bfc64
fix: avoid using promises to keep PR to minimum
elevatebart 4436465
Add detected keyword
elevatebart 99b8d50
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
3fe5635
fix: use tsconfig and configFile
elevatebart 0f1bc40
test: add test for select
elevatebart 202432c
test: update mock values for wizard
elevatebart db0c147
fix: add ct for environment
elevatebart b289727
move init to mutation
elevatebart 28689a5
fix types
elevatebart b31ae58
Add subtitle for Bundler
elevatebart 3a18461
fix e2e tests
elevatebart 42500c0
test: fix e2e
elevatebart 3b35434
add e2e tests
elevatebart 84d895b
fail if package json is invalid
elevatebart ba5e957
deal with error in package json
elevatebart 7789e93
avoid resetting bundler if not necessary
elevatebart 2526b21
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
e75eeb5
fix types
elevatebart e1dfede
fix the style
elevatebart 8ae1601
fix: e2e tests
elevatebart 6faad8c
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
584f0b9
remove unwanted change
elevatebart 29db1c4
give it a bit more time to config
elevatebart f2c637d
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
53101e9
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
e5a9901
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
58558f3
resolve tsconfig from the current project
08c9c9b
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
720d825
fix types
elevatebart 82f026d
import path instead of join
elevatebart a74352a
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
a884a81
fix: e2e select language highlight (#20098)
ZachJW34 4da62f7
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
8747a22
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
4a5c50c
test: fix e2e tests
elevatebart b18c603
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
d227cd1
make e2e tests for setup wizard pass
elevatebart 6001329
use ts ignore to remove type classhes
elevatebart 3ba334c
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
bce110e
fix: avoid pick up types form jest in system tests
elevatebart 62ab71d
make the error of system tests more obvious
elevatebart 0ef7ec5
add a white background to the shiki copy button
elevatebart e62cafc
make all jest tests not hoisted
elevatebart 66486cc
fix: try and update jest
elevatebart 02a6f36
last changes
elevatebart 3c09954
chore: add some debug statements
elevatebart c1762f2
fix: make all file call async
elevatebart 62422e1
fix >>> warning with vue
elevatebart 540202d
add more debug statements
elevatebart ee358f9
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
874f969
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
c071755
add more debug statements
elevatebart 712010b
force reload config when configured
elevatebart 0a797ac
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
3fdbdfd
remove useless return in detectPackage
elevatebart 81f2201
use project lifecycle typescript detection
elevatebart c7abc87
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
0c80d7f
remove ;
elevatebart a80f31f
better handling of scaffoldFile
elevatebart 5447eec
last fixes
elevatebart 16e5a68
a few fixes (woops)
elevatebart 80c4c73
last set of fixes
elevatebart aef78c0
try a new method for testing
elevatebart d8b806a
update tslib because of warning
elevatebart 52f9991
test: only scaffold necessary projects for each test
elevatebart c2c5f00
fix one debug statement
elevatebart fc84094
add debug statement when config file changes
elevatebart 1478bbf
add error when watcher fails
elevatebart 11d220b
surface the error in the UI
elevatebart 8b1fa9e
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
8dda2b7
add await write finish to watchers
elevatebart 79304a9
simplify watchers
lmiller1990 ca82817
remove wait
elevatebart 457599b
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
elevatebart 8efe86a
remove useless re-hooking
elevatebart 0c0328a
clarify a little conditions for reloadConfig
elevatebart 0cd129b
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
elevatebart e8fc166
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
elevatebart ab7c42a
optimize migration by avoiding overread
elevatebart 2d94047
fix migration tests
elevatebart 960a2c3
remove bad taste code
elevatebart 9dd91b5
await initialization if not done
elevatebart 7ae54ab
refactor migration tests
elevatebart c0c60cb
remove the then between commands
elevatebart 4f0800f
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
e935bfd
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
e33c771
test: remove flake in error management
elevatebart edceffd
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
elevatebart a3b1f64
init oldConfigPromise to null
elevatebart 16ffc5a
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
e9de23d
fix: initialize the wizard when reconfiguring
elevatebart 9c62e5d
remove react-scripts dependency
elevatebart ea3068d
Merge branch '10.0-release' into elevatebart/feat/component-detect-fr…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are all these changes in webpack dev server and package json here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is all connected to the fact that we need
react-scripts
to be resolvable from system tests so that the last step of the installation works.react-scripts
loadsjest
and its types and those types conflict withchai