Skip to content

0.6.0

Compare
Choose a tag to compare
@st3phhays st3phhays released this 11 Apr 14:24
· 61 commits to main since this release
c77f900

Breaking Change

  • Remove Gulp and use new technologies - see #392
    • Due to the removal of Gulp, all assets are now compiled within choco-theme and simply copied over to each repository on build. When the repository is built, PurgeCSS will take over and remove any unused CSS to supply a specific lean CSS file. New technologies used include the following:
      • cssnano - cssnano is used to minify CSS.
      • esbuild - esbuild is used to compile and minify TypeScript and JavaScript.
      • nodemon - nodemon is used by choco-theme to watch for file changes, and rerun the yarn build command automatically.
      • PostCSS - PostCSS is used to run cssnano. More features of PostCSS may be leveraged in the future.
      • PurgeCSS - PurgeCSS is used to purge unneeded CSS from making it into the final CSS file that is used by each website. This can reduce the CSS used considerably.
      • SASS - SASS is used to compile .scss files.
      • ts-node - ts-node is used to run node scripts that are written in TypeScript without the need to precompile them.
      • Yarn - Yarn 4 is used to install any dependencies in choco-theme and compile all assets.
  • Upgrade to Bootstrap 5.3.x - see #285
    • Introduces built in dark mode by Bootstrap. Due to this, many CSS and SASS variables and CSS classes have changed to follow the recommended structure. This will allow for easier updates going forward.
    • Updates the theme switch to a dropdown. In addition to dark and light modes, we now have an "auto" option that will adjust based on the users defined system theme. This is handy for users that may have different theme modes based on the time of day.
  • Upgrade to Yarn 4.1.x - see #218
    • The upgrade of Yarn gives us a new ability to run yarn npm audit to scan and fix security vulnerabilities before deployment. In a future release, this will be enforced with a GitHub action.

Improvements

  • Add podcast Information in the social media partial - see #385
  • Update Twitter and Bluesky icons in social media partial - see #383

Tasks

  • Investigate technologies to replace Gulp - see #264

Documentation

  • Update README to include proper usage of ESLint - see #254
  • Update README to include proper usage of all new 0.6.0 features.