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(ui): upgrade UI to parcel v2 #5991

Merged
merged 38 commits into from
Aug 1, 2022
Merged

Conversation

sranka
Copy link
Contributor

@sranka sranka commented Jul 21, 2022

This PR upgrades the UI build system to parcel v2. The currently used parcel v1 is no longer maintained and contains several security vulnerabilities.

Briefly describe your proposed changes:

  • switched to parcel v2, produce ES modules
  • switch transpilation to rely solely upon babel in both build and test environments, use tsc only for code validation (lint)
  • upgrade to the newest jest, use extra babel test configuration to replace jest-unsupported import.meta.url
  • replace typescript experimental decorators (unsupported by parcel compiler) with class mixins
  • change development mode proxy settings
  • fix deprecated SCSS files to be compatible with Saas 2.0, remove deprecated (since saas 2.0) division operator in SCSS files
  • update license of dependencies

Closes https://github.com/influxdata/chronograf/security/dependabot/53
Closes https://github.com/influxdata/chronograf/security/dependabot/54
Closes https://github.com/influxdata/chronograf/security/dependabot/56

@sranka sranka changed the title Chore/upgrade to parcel v2 chore(ui): upgrade to parcel v2 Jul 23, 2022
@sranka sranka force-pushed the chore/upgrade_to_parcel_v2 branch 3 times, most recently from 46f923a to 39c5019 Compare July 24, 2022 18:14
@sranka sranka force-pushed the chore/upgrade_to_parcel_v2 branch from 5bc6b18 to 6629ac3 Compare July 28, 2022 07:29
@sranka sranka changed the title chore(ui): upgrade to parcel v2 chore(ui): upgrade UI to parcel v2 Jul 28, 2022
@sranka sranka requested review from k3yi0 and ivankudibal July 28, 2022 17:18
@sranka sranka marked this pull request as ready for review July 29, 2022 13:04
@sranka sranka merged commit dbe657d into master Aug 1, 2022
@sranka sranka deleted the chore/upgrade_to_parcel_v2 branch August 1, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants