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

Replace babel-eslint with @babel/eslint-parser #729

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Replace babel-eslint with @babel/eslint-parser #729

merged 1 commit into from
Apr 14, 2023

Conversation

Fdawgs
Copy link
Contributor

@Fdawgs Fdawgs commented Apr 9, 2023

Resolves part of #725.
Will look at tackling the rest of the outdated/deprecated dependencies if this PR is accepted.

This also reduces production installs of this module by ~17MB by moving @babel/eslint-parser to the dev dependencies where it belongs, as it is never used by any production functionality.

@Fdawgs Fdawgs mentioned this pull request Apr 10, 2023
10 tasks
@Balearica
Copy link
Member

Looks like this fails the automated tests.

@Fdawgs
Copy link
Contributor Author

Fdawgs commented Apr 11, 2023

Looks like this fails the automated tests.

Whoops! Have added a basic babel config file (which is why it was failing), copying the contents of:

presets: [
[
'@babel/preset-env',
{
targets: 'last 2 versions',
},
],
],

@Fdawgs Fdawgs changed the title Replace babel-eslint with @babel-eslint-parser Replace babel-eslint with @babel/eslint-parser Apr 11, 2023
@Balearica Balearica merged commit 6b22a00 into naptha:master Apr 14, 2023
4 checks passed
@Fdawgs Fdawgs deleted the build/deprecated-deps branch April 14, 2023 05:04
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.

None yet

2 participants