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

Remove Node 12 and es5 code that was supporting older platforms in v2 #1641

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

VeskeR
Copy link
Contributor

@VeskeR VeskeR commented Feb 27, 2024

This PR is based on #1633 so review that one first.

Removes more code that's supporting older platforms. These commits couldn't be included in #1629, since it would break CI for them due to it still being built and tested on es5 and node 12.

@github-actions github-actions bot temporarily deployed to staging/pull/1641/features February 27, 2024 13:53 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features February 27, 2024 13:54 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report February 27, 2024 13:54 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc February 27, 2024 13:54 Inactive
@VeskeR VeskeR marked this pull request as ready for review February 27, 2024 15:41
webpack.config.js Show resolved Hide resolved
webpack.config.js Show resolved Hide resolved
@VeskeR VeskeR force-pushed the 1605/v2-platform-compatibility branch from 26db010 to e0f37de Compare March 1, 2024 22:25
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 1, 2024 23:03 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 1, 2024 23:03 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 1, 2024 23:03 Inactive
@VeskeR VeskeR force-pushed the 1605/v2-platform-compatibility branch from e0f37de to b445729 Compare March 1, 2024 23:09
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 1, 2024 23:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 1, 2024 23:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 1, 2024 23:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 1, 2024 23:15 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 1, 2024 23:15 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 1, 2024 23:15 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 2, 2024 03:32 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 2, 2024 03:33 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 2, 2024 03:33 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 2, 2024 03:41 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 2, 2024 03:41 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 2, 2024 03:41 Inactive
@VeskeR
Copy link
Contributor Author

VeskeR commented Mar 2, 2024

Removed babel-loader, @babel/preset-env, webpack-node-externals and Node.js bundle for MochaJUnitReporter.

@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 5, 2024 17:32 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 5, 2024 17:32 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 5, 2024 17:32 Inactive
Base automatically changed from 1605/v2-platform-compatibility to integration/v2 March 5, 2024 20:37
@github-actions github-actions bot temporarily deployed to staging/pull/1641/features March 6, 2024 16:24 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/typedoc March 6, 2024 16:25 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1641/bundle-report March 6, 2024 16:25 Inactive
Related to 9a05dc8, we now allow prettier
to put trailing commas in more places that were not supported in ES5,
and only became available in ES2017 [1], namingly: function parameters
and function calls. This also enables trailing commas in type parameters
in TypeScript - supported since TypeScript 2.7.

[1] https://prettier.io/docs/en/options.html#trailing-commas
Also run `npm uninstall babel-loader @babel/preset-env`, we don't use
them anymore after removing Node 12 code from webpack for
MochaJUnitReporter.
After 4f887c6 there is no need anymore
to build a separate MochaJUnitReporter bundle for Node.js - we can use
`mocha-junit-reporter` package directly from Node.

As a result, we also don't need `webpack-node-externals` package
anymore, so run `npm uninstall webpack-node-externals`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants