-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
refactor: migrate to ESM #7331
Merged
Merged
refactor: migrate to ESM #7331
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
c7a3942
refactor: move package.json to type: module
LeoDog896 b6fc686
chore: move webpack common and prod to esm
LeoDog896 03343d3
chore: move webpack to esm, eslint to explicit cjs
LeoDog896 6c89fb5
refactor: migrate all files to esm
LeoDog896 7f7d5b1
style: lint
LeoDog896 f5b1cd9
refactor: begin moving karma to cjs, use dynamic esm import
LeoDog896 f39d6c6
refactor: move index-test to cjs
LeoDog896 3b6b6db
refactor: begin moving e2e to ESM
LeoDog896 ac55e7b
refactor: move all to esm
LeoDog896 4b154fb
fix: make all e2e tests use .js imports
LeoDog896 12905bd
refactor: begin moving exports to esm
LeoDog896 a8348fe
refactor: use URL transforms instead of __dirname
LeoDog896 0dc0132
fix: use libraryExport: default to properly handle openmct
LeoDog896 b0a5c9a
fix: export all playwright configs as modules
LeoDog896 6a4a4a1
refactor: move all instances of __dirname to import.meta.url
LeoDog896 d43b0cf
refactor: lint, drop unnecessary URL call
LeoDog896 0d5fbb3
fix: use correct URL path on helper/addNoneditableObject.js
LeoDog896 8ae8ee5
fix: more incorrect URL resolve issues
LeoDog896 d8a91e9
fix: parse json after reading it
LeoDog896 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
fix: export all playwright configs as modules
- Loading branch information
commit b0a5c9ae591da79ad7d952e89c5900d0fe0aed5b
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,4 +104,4 @@ const config = { | |
] | ||
}; | ||
|
||
module.exports = config; | ||
export default config; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,4 @@ const config = { | |
] | ||
}; | ||
|
||
module.exports = config; | ||
export default config; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,4 @@ const config = { | |
] | ||
}; | ||
|
||
module.exports = config; | ||
export default config; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,4 @@ const config = { | |
] | ||
}; | ||
|
||
module.exports = config; | ||
export default config; |
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.
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note