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

Upgrade Outdated Build Tools: Stylelint, PostCSS #68

Closed
4 of 15 tasks
openmindculture opened this issue Jan 9, 2022 · 2 comments · Fixed by #94
Closed
4 of 15 tasks

Upgrade Outdated Build Tools: Stylelint, PostCSS #68

openmindculture opened this issue Jan 9, 2022 · 2 comments · Fixed by #94
Assignees

Comments

@openmindculture
Copy link
Owner

openmindculture commented Jan 9, 2022

upgrade stylelint for maintainablility (the current version of stylelint is no longer officially supported - only one year after 1 built the project?! And as more time elapsed, the latest stable major versions should be ready to use now.

  • improve testing to prevent regression bugs using Codecept, testomat

  • upgrade CodeceptJS to latest stable major version 3

  • check stylelint migration guide

  • migrate stylelint

  • DON'T upgrade postcss, and postcss-preset-env, it's buggy! (see below) - retain stable version instead!

  • Stylelint:

Stylelint version 13.13.1 is no longer supported. While it may continue to work for a while, you may encounter unexpected behavior. Please upgrade to version 14.0.0 or newer. See the migration guide for more information.

  • PostCSS:

This version of postcss-preset-env is not optimised to work with PostCSS 8.
Please update to version 7 of PostCSS Preset Env.

Verify and repeat manual audits

  • is the code minified?
  • does the code work in relevant older browsers, including iOS Safari and maybe even internet explorer?
  • do print styles still work?
  • file size?
  • linting?

Any way to fix, or else reasonable decision to ignore descending specificity issues? #96

After deployment:

repeat external measurements and evaluations (also see README / Changelog)

  • Lighthouse / PageSpeed
  • WebPageTest
  • WebsiteCarbon
  • aXe
  • ...
@openmindculture
Copy link
Owner Author

@openmindculture openmindculture self-assigned this Jan 9, 2022
@openmindculture openmindculture changed the title upgrade stylelint upgrade outdated stylelint and postcss versions Aug 9, 2022
@openmindculture openmindculture changed the title upgrade outdated stylelint and postcss versions upgrade outdated build tools: Stylelint, PostCSS Aug 9, 2022
@openmindculture openmindculture changed the title upgrade outdated build tools: Stylelint, PostCSS Upgrade Outdated Build Tools: Stylelint, PostCSS Aug 9, 2022
@openmindculture
Copy link
Owner Author

openmindculture commented Aug 15, 2022

revert postCSS to stable versions as we had no need at all to upgrade, except for nagging notifications,
and post CSS / post CSS CLI seem to be buggy still
see

#99
#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant