Skip to content

Conversation

@alexander-akait
Copy link
Member

Summary

reduce unnecessary deps

What kind of change does this PR introduce?

refactor

Did you add tests for your changes?

Existing

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

@alexander-akait
Copy link
Member Author

Still WIP, there are more them

@@ -1,5 +1,3 @@
@value toggleTime: 200ms;
Copy link
Member Author

Choose a reason for hiding this comment

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

No need to use postcss-icss-values for the only one value, if we want in future to have variables, better to use CSS custom properties

const path = require("path");
const { readFileSync } = require("fs");
const globby = require("globby");
const { globSync } = require("tinyglobby");
Copy link
Member Author

Choose a reason for hiding this comment

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

tinyglobby has less deps

"autoprefixer": "10.2.5",
"babel-eslint": "10.1.0",
"babel-loader": "9.2.1",
"babel-plugin-lodash": "3.3.4",
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't use lodash at all right now, so we don't need outdated plugin

@alexander-akait
Copy link
Member Author

@valscion ready to review, the next steps:

  • unpin deps and update them
  • resolve some TODOs in code and use more ES6 features
  • migrate to our eslint

After this we can make a new releases with our new code

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@valscion valscion merged commit ac01251 into main Jan 27, 2026
5 checks passed
@alexander-akait alexander-akait deleted the reduce-extra-deps-more branch January 27, 2026 14:14
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.

4 participants