Releases: ubermanu/magefront
Releases · ubermanu/magefront
v2.0.0
- 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
- Configuration file is now validated
- Named commands are back, docs have been updated, see https://ubermanu.github.io/magefront/docs/cli
- Multiple themes can be build with one command (only one locale still)
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
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
- 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
- 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
- Update dependencies to latest version
- Added tailwindcss plugin