Skip to content

Update to webpack 5 in supervisor frontend #18552

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

Merged
merged 3 commits into from
Aug 22, 2023
Merged

Update to webpack 5 in supervisor frontend #18552

merged 3 commits into from
Aug 22, 2023

Conversation

jeanp413
Copy link
Member

@jeanp413 jeanp413 commented Aug 18, 2023

Description

Summary generated by Copilot

🤖 Generated by Copilot at 6ff9bff

This pull request migrates the supervisor frontend from webpack 4 to webpack 5, which allows using newer JavaScript features and improves browser compatibility. It updates the TypeScript target, the webpack configuration, and some dependencies and adds polyfills for some node modules.

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@socket-security
Copy link

socket-security bot commented Aug 18, 2023

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
url 0.11.1 None +1 319 kB ljharb
css-loader 0.28.11...6.8.1 None +7/-66 319 kB evilebottnawi
copy-webpack-plugin 6.4.1...11.0.0 None +16/-0 2.83 MB evilebottnawi
concurrently 5.3.0...6.3.0, 6.5.1...6.3.0 None +0/-2 104 kB gustavohenke
source-map-loader 1.1.3...4.0.1 None +1/-1 42.5 kB evilebottnawi
style-loader 0.23.1...3.3.3 None +0/-2 61 kB evilebottnawi

🚮 Removed packages: [email protected]

@jeanp413 jeanp413 mentioned this pull request Aug 19, 2023
14 tasks
Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the preview environment, it looks not broken, so I think it's good to go 😄

@jeanp413
Copy link
Member Author

jeanp413 commented Aug 22, 2023

/gh run --recreate-vm

Comment triggered a workflow run

Started workflow run: 5939764722

  • recreate_vm: true

@jeanp413
Copy link
Member Author

/unhold

@roboquat roboquat merged commit e22f6be into main Aug 22, 2023
@roboquat roboquat deleted the jp/innocent-weasel branch August 22, 2023 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants