Skip to content
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

chore: remove type: module, create openmct-e2e subpackage #7590

Merged
merged 26 commits into from
Mar 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e92e3e7
fix: remove mystery webpack code
ozyx Mar 14, 2024
943f61b
fix: remove type:module and specify exports
ozyx Mar 14, 2024
70fe7b4
fix: rename webpack*.js to webpack*.mjs so we can use import/export. …
ozyx Mar 14, 2024
c83d25f
fix: exports format
ozyx Mar 15, 2024
ad0d2eb
fix: woops, need to add `start` script back
ozyx Mar 15, 2024
8964506
chore: split e2e into its own module
ozyx Mar 15, 2024
4c449fa
fix: use normal Painterro import
ozyx Mar 15, 2024
9c668ca
fix: update e2e pathing
ozyx Mar 15, 2024
6bade52
fix: copy over helper functions
ozyx Mar 15, 2024
9510555
chore: specify `cwd` for playwright configs so that openmct npm comma…
ozyx Mar 15, 2024
7827b70
chore: add pretest script to e2e package.json
ozyx Mar 15, 2024
45f69a6
chore: don't package e2e
ozyx Mar 15, 2024
73fbf07
refactor: tidy up webpack common config
ozyx Mar 15, 2024
bf9ccf7
chore: compile types to a single file
ozyx Mar 15, 2024
8f63a44
chore: fix visual test npm scripts
ozyx Mar 15, 2024
96de064
chore: fix import pathing
ozyx Mar 15, 2024
352ef77
chore: define package exports, move test specific dependencies to the…
ozyx Mar 16, 2024
162f8d6
chore: export test framework from openmct-e2e
ozyx Mar 16, 2024
763cf6e
chore: export baseFixtures also
ozyx Mar 16, 2024
e790a9a
chore: let `openmct` and `openmct-e2e` share `node_modules/`
ozyx Mar 16, 2024
ebe00fd
chore: use `--workspace`, remove pretest script
ozyx Mar 16, 2024
a42daad
Revert "fix: remove mystery webpack code"
ozyx Mar 17, 2024
f65ea83
chore: update package-lock
ozyx Mar 27, 2024
3d4c9d9
chore: add `.npmignore`
ozyx Mar 28, 2024
c8a7114
Merge branch 'master' into fix-import-require-the-other-way
ozyx Mar 28, 2024
1de1510
fix: *js -> mjs
ozyx Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove mystery webpack code
  • Loading branch information
ozyx committed Mar 27, 2024
commit e92e3e75651582b2d3233d9673174efbf7381d70
9 changes: 0 additions & 9 deletions openmct.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/

const matcher = /\/openmct.js$/;
ozyx marked this conversation as resolved.
Show resolved Hide resolved
if (document.currentScript) {
let src = document.currentScript.src;
if (src && matcher.test(src)) {
// eslint-disable-next-line no-undef
__webpack_public_path__ = src.replace(matcher, '') + '/';
}
}

/**
* @typedef {Object} BuildInfo
* @property {string} version
Expand Down