Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

3.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mischah mischah released this 16 Feb 06:31
· 74 commits to master since this release

This is the first beta of the 3.0.0 release 🎉

We have a few enhancements which might get into the final 3.0.0 release. See #235 for details.

Notable changes

Code Refactoring

  • baumeister.json: Rename properties related to vendor files (7ac3de1)

Features

  • remove Yarn lockfile 👋🏻 (0d4cd1b)
  • eslint: Simplify setup and include two additional plugins (57219c3)
  • build: Replace Gulp with Webpack (and npm scripts) (b91adea)
  • bootstrap: Upgrade to Bootstrap 4 (e4680b5)

BREAKING CHANGES

  • build: Gulp and all the tasks are gone. But most of the npm scripts still do what they did before. Here are the main scripts needed for developing and building your project.

    Command Description
    npm start Builds for development, starts a webserver, watches files for changes, rebuilds incremental and reloads your browser.
    npm test Lints your JavaScript files and runs unit test via the Jest CLI.
    npm run test:watch Runs unit test with Jests watch option.
    npm run build Builds for production to dist directory.
    npm run build:check Starts a static fileserver serving the dist directory.
    npm run build:analyze Starts »Webpack Bundle Analyzer« to visualize size of Webpack output files

    See scripts section in package.json for all available scripts.

  • build: The bundled polyfills moved to the vendor bundle and the references to the bundles in default.hbs has changed to:

    <!-- Bundled vendor CSS files -->
    @@vendor.css
    
    <!-- Our compiled and merged Sass files -->
    @@app.css
    
    […]
    
    <!-- Vendor JS -->
    @@vendor.js
    
    <!-- Own JS -->
    @@app.js
  • eslint: This adds eslint-plugin-unicorn and the eslint-plugin-import which might introduce new linting errors. You might want to turn off rules in /.eslintrc.json in case you find them too opinionated.

  • baumeister.json: The properties bundleCSS and includeStaticFiles in baumeister.json are moved to vendor.bundleCSS and vendor.includeStaticFiles. You have to adapt these changes in case you have added dependencies via these properties.

  • bootstrap: See Bootstrap v4 migration guide to read about the most notable as well as breaking changes.


See all changes since the last release.