This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
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
amacneil
changed the title
Move app to packages/@foxglove/studio-base (with src)
Move app to packages/studio-base (with src)
May 18, 2021
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 18, 2021 23:36
ca515a2
to
e904e26
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 18, 2021 23:56
e904e26
to
901ead9
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 19, 2021 00:20
901ead9
to
755ae69
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 19, 2021 21:07
755ae69
to
8e5ef4c
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 19, 2021 21:22
8e5ef4c
to
d26d731
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 19, 2021 21:41
d26d731
to
0f4caf6
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 20, 2021 19:43
1b9b657
to
4409f89
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
May 20, 2021 19:57
4409f89
to
e09c537
Compare
amacneil
changed the title
Move app to packages/studio-base (with src)
Move app to packages/studio-base/src
May 20, 2021
@amacneil still planning to land this? |
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
June 2, 2021 04:22
e09c537
to
3cb3a69
Compare
|
||
function rewriteSource(source) { | ||
return source.replace(importRegEx, importReplacer); | ||
function rewriteSource(source, sourcePath) { |
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.
I made a separate PR for these changes so we can minimize the second commit diff.
#1136
amacneil
force-pushed
the
roman/the-big-move-src
branch
2 times, most recently
from
June 2, 2021 16:01
edf8111
to
1c5857b
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
10 times, most recently
from
June 2, 2021 22:21
44fbcd0
to
bec72b4
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
2 times, most recently
from
June 2, 2021 22:36
55e14bd
to
07be24f
Compare
amacneil
force-pushed
the
roman/the-big-move-src
branch
from
June 2, 2021 22:37
07be24f
to
326497e
Compare
jtbandes
reviewed
Jun 2, 2021
@@ -43,6 +43,7 @@ export function makeConfig( | |||
resolve: { | |||
extensions: [".js", ".ts", ".jsx", ".tsx"], | |||
alias: { | |||
"@foxglove/studio-base": path.resolve(__dirname, "src"), |
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 these changes needed now?
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.
because we want to avoid the extra src
directory in imports. previously this was not needed because the paths exactly matched the folder structure
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 are two commits in this PR. The first one is mechanical (rename files) and can be easily recreated. The second commit contains actual code modifications.
Please keep this PR easy to rebase in the future, by amending any code changes to the second commit. Don't add additional commits.
How to rebase this PR (trash and recreate the first commit, then cherry pick the second commit):