Skip to content

Releases: ubermanu/magefront

v2.0.0

19 Sep 20:45
Compare
Choose a tag to compare
  • Various QoL improvements
  • Codebase has been moved to JS (with TS doc) so it's easier to debug stuff
  • Support for CJS has been dropped
  • No more build time to increase CI spped
  • Added eslint to annoy me when necessary

Plugins

  • Plugin deps has been moved to peer deps when possible
  • Plugins interface has changed
interface Plugin {
  name: string
  build(context: PluginContext): Promise<void>
}

CLI

Docs

  • Updated docs according to the new peer dep changes
  • Fixed a bug where the get started btn would have the wrong url

v1.2.2

16 Sep 18:19
fb65350
Compare
Choose a tag to compare

Remove unnecessary plugins that required multiple peer dependencies

  • react > babel
  • cssnano > postcss
  • tailwindcss > postcss

Now just use postcss (or babel) and implement your logic manually:

import postcss from 'magefront-plugin-postcss'
import tailwindcss from 'tailwindcss'

export default {
    plugins: [
        postcss({
            src: 'css/tailwind.pcss',
            plugins: [tailwindcss(/* your config */)]
        })
    ]
}

Deprecated:

  • magefront-plugin-cssnano
  • magefront-plugin-react
  • magefront-plugin-tailwindcss
  • magefront-plugin-pngquant
  • magefront-plugin-svgo

Added:

  • magefront-plugin-imagemin
  • magefront-preset-optimize

v1.2.0

10 Sep 18:19
Compare
Choose a tag to compare
  • Set a proper version on all peer dependencies of this workspace
  • Patched changesets/cli to avoid a major release on peer dependency dependants
  • Moved types from the build process so there's no build overhead

v1.0.0

08 Sep 15:16
Compare
Choose a tag to compare
  • Update the global workflow by adding context to actions.
  • Now exports a magefront function for programmatic use.
  • Improve type definitions.
  • Encapsulate the whole thing to avoid polluting the global scope.
  • Update dependencies to latest version
  • Changed the peer dep version in plugins and presets

0.24.2

24 Jul 13:25
Compare
Choose a tag to compare
  • Update dependencies to latest version
  • Added tailwindcss plugin

0.23.1

20 Jul 09:18
Compare
Choose a tag to compare
  • Fixes an issue with presets overriding plugins
  • Add magefront as peerDep for all the plugins / presets
  • Fixes typings in plugins/presets
  • Upgrade 3rd party dependencies

0.22.0

22 Nov 20:39
Compare
Choose a tag to compare

Kind of stable release

  • CLI has been revamped to be a single command (see the docs)
  • Added support for presets (and use the default one if no config is defined)
  • All the packages are now bundled with unbuild