@eeacms/volto-eea-website-theme 1.3.1 → 1.3.2
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 +12 -1
- package/package.json +1 -1
- package/razzle.extend.js +16 -10
package/CHANGELOG.md
CHANGED
@@ -4,7 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
4
4
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
6
6
|
|
7
|
-
### [1.3.
|
7
|
+
### [1.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
|
8
|
+
|
9
|
+
#### :bug: Bug Fixes
|
10
|
+
|
11
|
+
- fix(package): Proper paths if the package is not installed, but in development #71 from eea/better_razzle [ichim-david - [`024c47a`](https://github.com/eea/volto-eea-website-theme/commit/024c47a41d288f9a90a3b6abcba4db596962425f)]
|
12
|
+
|
13
|
+
#### :hammer_and_wrench: Others
|
14
|
+
|
15
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
|
16
|
+
- Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
|
17
|
+
- Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
|
18
|
+
### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
|
8
19
|
|
9
20
|
#### :rocket: New Features
|
10
21
|
|
package/package.json
CHANGED
package/razzle.extend.js
CHANGED
@@ -4,18 +4,24 @@ const plugins = (defaultPlugins) => {
|
|
4
4
|
};
|
5
5
|
const modify = (config, { target, dev }, webpack) => {
|
6
6
|
const themeConfigPath = `${__dirname}/theme/theme.config`;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
const themeLessPath = `${projectRootPath}/node_modules/@eeacms/volto-eea-design-system/theme`;
|
7
|
+
const { alias } = config.resolve;
|
8
|
+
alias['../../theme.config$'] = themeConfigPath;
|
9
|
+
alias['../../theme.config'] = themeConfigPath;
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
const designSystem = '@eeacms/volto-eea-design-system';
|
12
|
+
const designSystemPath =
|
13
|
+
config.resolve.alias[designSystem] ||
|
14
|
+
path.dirname(require.resolve(designSystem));
|
15
15
|
|
16
|
-
const
|
17
|
-
|
18
|
-
|
16
|
+
const themeLessPath = path.resolve(`${designSystemPath}/../theme`);
|
17
|
+
|
18
|
+
alias['eea-design-system-theme'] = `${themeLessPath}/themes/eea`;
|
19
|
+
|
20
|
+
const semanticLessPath = path.dirname(
|
21
|
+
require.resolve('semantic-ui-less/package.json'),
|
22
|
+
);
|
23
|
+
|
24
|
+
alias['eea-volto-theme-folder'] = alias['eea-volto-themes']
|
19
25
|
? themeLessPath
|
20
26
|
: semanticLessPath;
|
21
27
|
|