@spryker/oryx-for-zed 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ### 3.4.0
4
+
5
+ Released on 18.03.2024
6
+
7
+ - Bump css loader 2.1.1 => 6.10.0.
8
+
9
+ ### 3.3.0
10
+
11
+ Released on 31.10.2023
12
+
13
+ - Adjusted webpack config by introducing `assert` and `stream` polyfills.
14
+ - Deprecated the `NodePolyfillPlugin`.
15
+
3
16
  ### 3.2.0
17
+
4
18
  Released on 04.10.2023
5
19
 
6
20
  - Removed the `file-loader` dependency.
7
21
  - Adjusted webpack config by migration from `file-loader` to `asset/resource`.
8
22
 
9
23
  ### 3.1.0
24
+
10
25
  Released on 15.09.2023
11
26
 
12
27
  - Adjusted webpack config by introducing `NodePolyfillPlugin` usage from `node-polyfill-webpack-plugin`.
@@ -14,6 +29,7 @@ Released on 15.09.2023
14
29
  - `webpack`: `5.81.0` => `5.88.2`
15
30
 
16
31
  ### 3.0.0
32
+
17
33
  Released on 11.05.2023
18
34
 
19
35
  - Introduced `postcss` dependency.
@@ -24,17 +40,17 @@ Released on 11.05.2023
24
40
  - `postcss-loader`: `2.1.6` => `7.3.0`
25
41
  - `webpack`: `5.74.0` => `5.81.0`
26
42
 
27
-
28
43
  ### 2.13.0
44
+
29
45
  Released on 04.04.2023
30
46
 
31
47
  - Removed `core-js`, `es6-promise`, `optimize-css-assets-webpack-plugin` dependencies.
32
48
  - Removed deprecated `@spryker/oryx` dependency and moved it's functionality into the package.
33
- - Introduced `dayjs`, `css-minimizer-webpack-plugin`, `fast-glob` dependencies.
49
+ - Introduced `dayjs`, `css-minimizer-webpack-plugin`, `fast-glob` dependencies.
34
50
  - Updated dependencies.
35
51
 
36
-
37
52
  ### 2.12.0
53
+
38
54
  Released on 31.05.2022
39
55
 
40
56
  - Updated `@babel/core` dependency.
@@ -43,63 +59,63 @@ Released on 31.05.2022
43
59
  - Updated `sass` dependency.
44
60
  - Adjusted webpack config for jQuery scope.
45
61
 
46
-
47
62
  ### 2.11.4
63
+
48
64
  Released on 7.04.2022
49
65
 
50
66
  - Downgraded `optimize-css-assets-webpack-plugin` version to keep build working in production mode.
51
67
 
52
-
53
68
  ### 2.11.4
54
- Released on 18.03.2022
55
69
 
56
- - Replaced deprecated `node-sass` dependency with `dart-sass`.
70
+ Released on 18.03.2022
57
71
 
72
+ - Replaced deprecated `node-sass` dependency with `dart-sass`.
58
73
 
59
74
  ### 2.11.3
75
+
60
76
  Released on 12.08.2021
61
77
 
62
78
  - Removed backward compatibility script for Merchant Portal assets.
63
- - Fixed bug with not defined settings in datatables by adding additional module rule.
64
-
79
+ - Fixed bug with not defined settings in datatables by adding additional module rule.
65
80
 
66
81
  ### 2.11.2
82
+
67
83
  Released on 22.07.2021
68
84
 
69
85
  - Fixed backward compatibility script for the new Merchant Portal endpoint.
70
86
 
71
-
72
87
  ### 2.11.1
88
+
73
89
  Released on 07.07.2021
74
90
 
75
91
  - Added missing dependency: `fs-extra`.
76
92
 
77
-
78
93
  ### 2.11.0
94
+
79
95
  Released on 24.06.2021
80
96
 
81
97
  - Changed destination folder for built assets according to new application endpoint name.
82
98
 
83
-
84
99
  ### 2.10.1
100
+
85
101
  Released on 23.06.2021
86
102
 
87
103
  - Fixed wrong release.
88
104
 
89
-
90
105
  ### 2.10.0
91
- Released on 23.06.2021
92
106
 
93
- - Added an ability to gather entry-points from spryker-sdk namespace.
107
+ Released on 23.06.2021
94
108
 
109
+ - Added an ability to gather entry-points from spryker-sdk namespace.
95
110
 
96
111
  ### 2.9.1
112
+
97
113
  Released on 11.01.2021
98
114
 
99
115
  - Downgraded `resolve-url-loader` 3.1.2 -> 2.3.2 to prevent build fail.
100
116
 
101
-
102
117
  ### 2.9.0
118
+
103
119
  Released on 15.12.2020
104
120
 
105
121
  - Removed `stylelint` and `eslint` dependencies.
@@ -107,200 +123,230 @@ Released on 15.12.2020
107
123
  - Added following dependencies: `@babel/core`, `@babel/preset-env`, `babel-loader`.
108
124
  - Updated dependency `resolve-url-loader` 2.3.0 -> 3.1.2.
109
125
 
110
-
111
126
  ### 2.8.1
112
- Released on 28.09.2020
113
127
 
114
- Fixed path pattern for eco modules.
128
+ Released on 28.09.2020
115
129
 
130
+ Fixed path pattern for eco modules.
116
131
 
117
132
  ### 2.8.0
133
+
118
134
  Released on 22.09.2020
119
135
 
120
136
  Updated stylelint dependency.
121
- Replaced deprecated `uglifyjs-webpack-plugin` with `terser-webpack-plugin` dependency.
137
+ Replaced deprecated `uglifyjs-webpack-plugin` with `terser-webpack-plugin` dependency.
122
138
 
123
139
  Updated dependency:
124
- - `stylelint`: `12.0.1` => `13.7.1`
125
140
 
141
+ - `stylelint`: `12.0.1` => `13.7.1`
126
142
 
127
143
  ### 2.7.0
144
+
128
145
  Released on 12.08.2020
129
146
 
130
147
  Updated node.js and npm constraints.
131
148
 
132
149
  Updated dependency:
150
+
133
151
  - `node`: `8.9.0` => `12.0.0`
134
152
  - `npm`: `5.6.0` => `6.9.0`
135
153
 
136
-
137
154
  ### 2.6.0
155
+
138
156
  Released on 20.07.2020
139
157
 
140
158
  Added tslint and stylelint configurations.
141
159
 
142
160
  Updated dependency:
161
+
143
162
  - `node-sass`: `4.13.0` => `4.14.1`
144
163
 
145
164
  Added dependencies:
165
+
146
166
  - `eslint`
147
167
  - `globby`
148
168
  - `stylelint`
149
169
 
150
-
151
170
  ### 2.5.3
171
+
152
172
  Released on 27.10.2020
153
173
 
154
174
  Updated dependency:
175
+
155
176
  - `node-sass`: `4.10.0` => `4.13.0`
156
177
 
157
178
  ### 2.5.2
179
+
158
180
  Released on 26.12.2019
159
181
 
160
182
  Updated package-lock.json.
161
183
 
162
184
  ### 2.5.1
185
+
163
186
  Released on 24.10.2019
164
187
 
165
188
  Updated package-lock.json.
166
189
 
167
190
  ### 2.5.0
191
+
168
192
  Released on 23.10.2019
169
193
 
170
- Fixed duplicated slash in fonts and images path.
194
+ Fixed duplicated slash in fonts and images path.
171
195
 
172
196
  Updated dependency:
197
+
173
198
  - `@spryker/oryx`: `1.3.0` => `1.4.0`
174
199
 
175
200
  ### 2.4.1
201
+
176
202
  Updated patch version due to wrong release.
177
203
 
178
204
  ### 2.4.0
205
+
179
206
  Released on 12.09.2019
180
207
 
181
208
  Updated dependency:
209
+
182
210
  - `yargs`: `11.0.0` => `13.3.0`
183
211
 
184
212
  ### 2.3.0
213
+
185
214
  Released on 13.06.2019
186
215
 
187
216
  Extend configuration to search entry points in spryker-eco namespace.
188
217
 
189
218
  Update dependencies:
219
+
190
220
  - `css-loader`: `0.28.10` => `2.1.1`
191
221
  - `optimize-css-assets-webpack-plugin`: `4.0.0` => `5.0.1`
192
222
 
193
223
  ### 2.2.0
224
+
194
225
  Released on 10.12.2018
195
226
 
196
227
  - update dependencies
197
- - @spryker/oryx 1.2.0 > 1.3.0
198
- - node-sass 4.8.3 > 4.10.0
199
- - webpack 4.6.0 > 4.27.0
228
+ - @spryker/oryx 1.2.0 > 1.3.0
229
+ - node-sass 4.8.3 > 4.10.0
230
+ - webpack 4.6.0 > 4.27.0
200
231
 
201
232
  ### 2.1.0
233
+
202
234
  Released on 20.04.2018
203
235
 
204
236
  - update dependencies
205
- - @spryker/oryx 1.1.0 > 1.2.0
237
+ - @spryker/oryx 1.1.0 > 1.2.0
238
+
239
+ ### 2.0.0
206
240
 
207
- ### 2.0.0
208
241
  Released on 20.04.2018
209
242
 
210
243
  Update the tool and make it working with webpack 4. Configuration and all dependencies are updated accordingly. See `package.json` for more details.
211
244
 
212
245
  ### 1.1.1
246
+
213
247
  Released on 28.09.2017
214
248
 
215
249
  - add fix for [`jquery-migrate` 3.0.1](https://github.com/jquery/jquery-migrate/issues/273)
216
250
  - add dependecy:
217
- - imports-loader ~0.7.1
251
+ - imports-loader ~0.7.1
218
252
 
219
253
  ### 1.1.0
254
+
220
255
  Released on 30.05.2017
221
256
 
222
257
  - add support for node ^7.0.0
223
258
  - update dependecies:
224
- - @spryker/oryx ^1.0.0 => ^1.1.0
259
+ - @spryker/oryx ^1.0.0 => ^1.1.0
225
260
 
226
261
  ### 1.0.0
262
+
227
263
  Released on 21.04.2017
228
264
 
229
265
  - documentation moved to [spryker.github.io/user-interface/oryx/for-zed](http://spryker.github.io/user-interface/oryx/for-zed)
230
266
  - update dependecies:
231
- - @spryker/oryx ^0.4.9 => ^1.0.0
267
+ - @spryker/oryx ^0.4.9 => ^1.0.0
232
268
 
233
269
  ### 0.5.8 (beta)
270
+
234
271
  Released on 30.03.2017
235
272
 
236
273
  - remove handler for `oryx.build()` promise
237
274
  - update dependecies:
238
- - @spryker/oryx ^0.4.8 => ^0.4.9
275
+ - @spryker/oryx ^0.4.8 => ^0.4.9
239
276
 
240
277
  ### 0.5.7 (beta)
278
+
241
279
  Released on 30.03.2017
242
280
 
243
281
  - handle `oryx.build()` promise
244
282
  - use `oryx.build.loadCompiler()` to load webpack
245
283
  - update dependecies:
246
- - @spryker/oryx ^0.4.4 > ^0.4.8
284
+ - @spryker/oryx ^0.4.4 > ^0.4.8
247
285
 
248
286
  ### 0.5.6 (beta)
287
+
249
288
  Released on 29.03.2017
250
289
 
251
290
  - update webpack commonsChunckPlugin configuration
252
291
 
253
292
  ### 0.5.5 (beta)
293
+
254
294
  Released on 29.03.2017
255
295
 
256
296
  - update webpack configuration to remove errors introduced due to webpack update
257
297
  - update dependecies:
258
- - webpack ~2.2.0 > ~2.3.2
298
+ - webpack ~2.2.0 > ~2.3.2
259
299
 
260
300
  ### 0.5.4 (beta)
301
+
261
302
  Released on 07.03.2017
262
303
 
263
304
  - update dependecies:
264
- - @spryker/oryx ^0.4.3 > ^0.4.4
305
+ - @spryker/oryx ^0.4.3 > ^0.4.4
265
306
 
266
307
  ### 0.5.3 (beta)
308
+
267
309
  Released on 07.03.2017
268
310
 
269
311
  - update dependecies:
270
- - @spryker/oryx ^0.4.0 > ^0.4.3
312
+ - @spryker/oryx ^0.4.0 > ^0.4.3
271
313
 
272
314
  ### 0.5.2 (beta)
315
+
273
316
  Released on 07.03.2017
274
317
 
275
318
  - update dependecies:
276
- - @spryker/oryx ^0.3.0 > ^0.4.0
319
+ - @spryker/oryx ^0.3.0 > ^0.4.0
277
320
 
278
321
  ### 0.5.1 (beta)
322
+
279
323
  Released on 07.03.2017
280
324
 
281
325
  - remove `extract-text-webpack-plugin` deprecations in `webpack.config.js` file
282
326
  - update engines:
283
- - npm >=3.0.0
284
- - remove yarn
327
+ - npm >=3.0.0
328
+ - remove yarn
285
329
 
286
330
  ### 0.5.0 (beta)
331
+
287
332
  Released on 07.03.2017
288
333
 
289
334
  - update dependencies in package.json:
290
- - extract-text-webpack-plugin 2.0.0-beta.5 > 2.1.0
291
- - file-loader 0.9.0 > 0.10.1
292
- - node-sass 4.3.0 > 4.5.0
293
- - postcss-loader 1.2.2 > 1.3.3
294
- - resolve-url-loader 1.6.1 > 2.0.2
295
- - sass-loader 4.1.1 > 6.0.2
296
- - yargs 6.6.0 > 7.0.1
335
+ - extract-text-webpack-plugin 2.0.0-beta.5 > 2.1.0
336
+ - file-loader 0.9.0 > 0.10.1
337
+ - node-sass 4.3.0 > 4.5.0
338
+ - postcss-loader 1.2.2 > 1.3.3
339
+ - resolve-url-loader 1.6.1 > 2.0.2
340
+ - sass-loader 4.1.1 > 6.0.2
341
+ - yargs 6.6.0 > 7.0.1
297
342
  - update engines:
298
- - npm ^3.0.0
299
- - yarn >= 0.19.0
343
+ - npm ^3.0.0
344
+ - yarn >= 0.19.0
300
345
  - update yarn.lock file
301
346
  - add CHANGELOG.md
302
347
 
303
348
  ### 0.4.x (alpha)
349
+
304
350
  Released on 24.02.2017
305
351
 
306
352
  - test alpha release
@@ -5,12 +5,25 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
5
5
  const find = require('./find');
6
6
  const configurePaths = require('./configure-paths');
7
7
 
8
+ /**
9
+ * @deprecated The NodePolyfillPlugin polyfill will be removed in next major.
10
+ */
8
11
  let NodePolyfillPlugin;
12
+ let NodeAssertFallback;
13
+ let NodeStreamFallback;
9
14
 
10
15
  try {
11
16
  NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
12
17
  } catch (e) {}
13
18
 
19
+ try {
20
+ NodeAssertFallback = require.resolve('assert/');
21
+ } catch (e) {}
22
+
23
+ try {
24
+ NodeStreamFallback = require.resolve('stream-browserify');
25
+ } catch (e) {}
26
+
14
27
  async function getConfiguration(settings) {
15
28
  let mode = 'development';
16
29
  let devtool = 'inline-source-map';
@@ -44,6 +57,10 @@ async function getConfiguration(settings) {
44
57
  },
45
58
 
46
59
  resolve: {
60
+ fallback: {
61
+ assert: NodeAssertFallback ?? false,
62
+ stream: NodeStreamFallback ?? false,
63
+ },
47
64
  modules: [
48
65
  ...modulesPaths,
49
66
  'node_modules/@spryker/oryx-for-zed/node_modules',
@@ -158,6 +175,8 @@ async function getConfiguration(settings) {
158
175
  'require.specified': 'require.resolve',
159
176
  }),
160
177
 
178
+ new webpack.EnvironmentPlugin({'NODE_DEBUG': ''}),
179
+
161
180
  new webpack.ProvidePlugin({
162
181
  // jquery global
163
182
  $: 'jquery',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spryker/oryx-for-zed",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "description": "Spryker ZED frontend automation tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "autoprefixer": "~10.4.14",
22
22
  "babel-loader": "~8.3.0",
23
23
  "colors": "~1.4.0",
24
- "css-loader": "~2.1.1",
24
+ "css-loader": "~6.10.0",
25
25
  "css-minimizer-webpack-plugin": "~4.2.2",
26
26
  "dayjs": "~1.11.7",
27
27
  "fast-glob": "~3.2.12",
@@ -39,7 +39,7 @@
39
39
  "yargs": "~13.3.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@babel/core": "~7.21.3",
43
- "@babel/preset-env": "~7.20.2"
42
+ "@babel/core": "~7.23.2",
43
+ "@babel/preset-env": "~7.23.2"
44
44
  }
45
45
  }