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 CHANGED
@@ -1,19 +1,29 @@
1
- # [15.0.0-feat-update-postcss-dependencies-pre-release.1](https://github.com/core-ds/arui-scripts/compare/v14.8.0...v15.0.0-feat-update-postcss-dependencies-pre-release.1) (2023-06-15)
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 ([cfabfac](https://github.com/core-ds/arui-scripts/commit/cfabfac75ae530c1a2ce0f8a445aaffda04cad8f))
7
- * update posts dependencies ([f48a1cf](https://github.com/core-ds/arui-scripts/commit/f48a1cfb11089e0c8dfdff8ec3535ade0b3fffee)), closes [#32](https://github.com/core-ds/arui-scripts/issues/32)
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
- const {
569
+ import {
570
570
  createPostcssConfig, // функция для создания конфигурационного файла postcss
571
571
  postcssPlugins, // список плагинов
572
572
  postcssPluginsOptions, // коллекция конфигураций плагинов
573
- } = require('arui-scripts/build/configs/postcss.config');
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-import': {
580
- ...postcssPluginsOptions['postcss-import'],
581
- path: [...postcssPluginsOptions['postcss-import'].path, './src'],
582
- },
580
+ '@csstools/postcss-global-data': {
581
+ files:files.concat(['./vars.css'])
582
+ }
583
583
  };
584
584
  return createPostcssConfig(postcssPlugins, newOption);
585
585
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arui-scripts",
3
- "version": "15.0.0-feat-update-postcss-dependencies-pre-release.1",
3
+ "version": "15.0.0",
4
4
  "main": "./build/index.js",
5
5
  "typings": "./build/index.d.ts",
6
6
  "license": "MPL-2.0",