Skip to content

Commit

Permalink
Merge pull request #60 from spryker/feature/cc-25632-update-node-version
Browse files Browse the repository at this point in the history
CC-25632: Update engines and dependencies
  • Loading branch information
Yuriy Gerton authored May 11, 2023
2 parents 20eee60 + 869ce3f commit 8c4f614
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 853 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

### 3.0.0
Released on 11.05.2023

- Introduced `postcss` dependency.
- Updated dependencies:
- `node`: `16.0.0` => `18.0.0`
- `npm`: `8.0.0` => `9.0.0`
- `autoprefixer`: `9.8.8` => `10.4.14`
- `postcss-loader`: `2.1.6` => `7.3.0`
- `webpack`: `5.74.0` => `5.81.0`


### 2.13.0
Released on 04.04.2023

Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@

Spryker ZED frontend automation tool

The tool [documentation](https://docs.spryker.com/docs/scos/dev/front-end-development/zed/oryx-for-zed.html).
#### Requirements

- Node.js version >= 18.0.0
- Npm version >= 9.0.0
- Webpack version >= 5.0.0 (starting from 2.13.0 version)


The tool [documentation](https://docs.spryker.com/docs/scos/dev/front-end-development/202304.0/zed/oryx-for-zed.html).
7 changes: 3 additions & 4 deletions lib/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ const configurePaths = require('./configure-paths');
async function getConfiguration(settings) {
let mode = 'development';
let devtool = 'inline-source-map';
let postCssPlugins = [];

if (settings.options.isProduction) {
mode = 'production';
devtool = false;
postCssPlugins = [require('autoprefixer')];
}

const entryPromise = find(settings.entry);
Expand Down Expand Up @@ -97,8 +95,9 @@ async function getConfiguration(settings) {
{
loader: 'postcss-loader',
options: {
ident: 'postcss',
plugins: postCssPlugins,
postcssOptions: {
plugins: [require('autoprefixer')],
},
},
},
{
Expand Down
Loading

0 comments on commit 8c4f614

Please sign in to comment.