arui-scripts 15.0.0-feat-update-postcss-dependencies-pre-release.1 → 15.0.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 +14 -4
- package/README.md +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
# [15.0.0
|
|
1
|
+
# [15.0.0](https://github.com/core-ds/arui-scripts/compare/v14.9.0...v15.0.0) (2023-06-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* Merge pull request #38 from core-ds/feat/update-postcss-dependencies ([7598853](https://github.com/core-ds/arui-scripts/commit/75988531368ba5e873d44f75212433cfb4881ff7)), closes [#38](https://github.com/core-ds/arui-scripts/issues/38)
|
|
5
|
+
* parent 1196ca942e0121c033a7673e30d40bb4ab5f4cb5 ([e1ee221](https://github.com/core-ds/arui-scripts/commit/e1ee221a5b5fbb94ced9c457031bce1db8e00cb8)), closes [#32](https://github.com/core-ds/arui-scripts/issues/32) [#32](https://github.com/core-ds/arui-scripts/issues/32)
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
### Features
|
|
5
9
|
|
|
6
|
-
* update posts dependencies ([
|
|
7
|
-
* update posts dependencies ([
|
|
8
|
-
* **webpack:** add svgo-loader ([81917c3](https://github.com/core-ds/arui-scripts/commit/81917c3df63e8bce333ff0a688ba113f01ac6318)), closes [#32](https://github.com/core-ds/arui-scripts/issues/32)
|
|
10
|
+
* update posts dependencies ([7e6f548](https://github.com/core-ds/arui-scripts/commit/7e6f548423cd0b52f498d06003052182a3a00899))
|
|
11
|
+
* **webpack:** update posts dependencies ([5dd570c](https://github.com/core-ds/arui-scripts/commit/5dd570cc360a76fc8c4a8822a46a99698fc2e905))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
### BREAKING CHANGES
|
|
12
15
|
|
|
16
|
+
* The postcss plugins has been updated.
|
|
17
|
+
* **webpack:** The postcss plugins has been updated.
|
|
13
18
|
* The postcss plugins has been updated.
|
|
14
19
|
* The postcss plugins has been updated.
|
|
15
20
|
|
|
16
21
|
chore(release): 14.9.0 [skip ci]
|
|
22
|
+
* The postcss plugins has been updated.
|
|
23
|
+
|
|
24
|
+
Update app.module.css
|
|
25
|
+
|
|
26
|
+
docs(*): update README.md
|
|
17
27
|
|
|
18
28
|
# [14.9.0](https://github.com/core-ds/arui-scripts/compare/v14.8.0...v14.9.0) (2023-06-07)
|
|
19
29
|
|
package/README.md
CHANGED
|
@@ -566,20 +566,20 @@ export default overrides;
|
|
|
566
566
|
- `postcss` - конфигурация для `postcss`. Ключи: `postcss`.
|
|
567
567
|
> `config` postcss содержит массив с уже инициализированными плагинами, параметры которых уже зафиксированны. Если необходимо изменить параметры плагинов можно пересоздать конфиг, таким образом:
|
|
568
568
|
```javascript
|
|
569
|
-
|
|
569
|
+
import {
|
|
570
570
|
createPostcssConfig, // функция для создания конфигурационного файла postcss
|
|
571
571
|
postcssPlugins, // список плагинов
|
|
572
572
|
postcssPluginsOptions, // коллекция конфигураций плагинов
|
|
573
|
-
}
|
|
573
|
+
} from 'arui-scripts/build/configs/postcss.config';
|
|
574
574
|
|
|
575
575
|
module.exports = {
|
|
576
|
-
postcss: () => {
|
|
576
|
+
postcss: (config) => {
|
|
577
|
+
const { files } = postcssPluginsOptions['@csstools/postcss-global-data'];
|
|
577
578
|
const newOption = {
|
|
578
579
|
...postcssPluginsOptions,
|
|
579
|
-
'postcss-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
},
|
|
580
|
+
'@csstools/postcss-global-data': {
|
|
581
|
+
files:files.concat(['./vars.css'])
|
|
582
|
+
}
|
|
583
583
|
};
|
|
584
584
|
return createPostcssConfig(postcssPlugins, newOption);
|
|
585
585
|
},
|