Skip to content

v0.2.0

Compare
Choose a tag to compare
@UltCombo UltCombo released this 16 Apr 05:36
· 110 commits to master since this release

Breaking changes

  • The config file of a theme is now named config.json. Previously, Harmonic would look for a file named harmonic.json inside the theme.
  • The harmonic.json's template property has been renamed to theme.
  • If the currently selected theme contains a config.json file and the contents of this file is not valid JSON, Harmonic will now throw an error instead of silently ignoring the invalid config file.
  • Errors in the CSS preprocessing will now throw an error in the build process. Previously these errors were silently ignored.

Improvements

  • harmonic init will now automatically install the site skeleton's necessary dependencies.
  • You can now disable CSS preprocessing by setting "prepocessor": false in the theme's config.json or site's harmonic.json.
  • Added an useful error message when specifying an unsupported CSS preprocessor.
  • Improved harmonic config success message.

Internal

  • Harmonic no longer pollutes the global scope.
  • Started making use of async functions and promisification utilities.
  • Overall refactoring.