@openeuropa/bcl-theme-default 1.13.1 → 1.13.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/bcl-builder.config.js +8 -2
- package/package.json +5 -5
package/bcl-builder.config.js
CHANGED
|
@@ -34,11 +34,17 @@ const resolvePackagePath = (packageName, ...segments) => {
|
|
|
34
34
|
|
|
35
35
|
const outputFolder = path.resolve(__dirname);
|
|
36
36
|
const repoRoot = path.resolve(__dirname, "../../../");
|
|
37
|
-
const nodeModules = path.resolve(__dirname, "../../../node_modules");
|
|
38
37
|
const toOutputRelativePath = (targetPath) =>
|
|
39
38
|
path.relative(outputFolder, targetPath);
|
|
40
39
|
const toOutputRelativePackagePath = (packagePath, ...segments) =>
|
|
41
40
|
toOutputRelativePath(path.resolve(packagePath, ...segments));
|
|
41
|
+
const toPackageImportPath = (packageName) => {
|
|
42
|
+
const packagePath = resolvePackagePath(packageName);
|
|
43
|
+
|
|
44
|
+
return packageName.startsWith("@")
|
|
45
|
+
? path.dirname(path.dirname(packagePath))
|
|
46
|
+
: path.dirname(packagePath);
|
|
47
|
+
};
|
|
42
48
|
const getCopyUpToGlobBase = (sourceGlob) =>
|
|
43
49
|
path
|
|
44
50
|
.normalize(sourceGlob.split("**")[0])
|
|
@@ -61,7 +67,7 @@ const bootstrapReplaceIconsPath = path.resolve(
|
|
|
61
67
|
);
|
|
62
68
|
|
|
63
69
|
// SCSS includePaths
|
|
64
|
-
const includePaths = [
|
|
70
|
+
const includePaths = [toPackageImportPath("@openeuropa/bcl-bootstrap")];
|
|
65
71
|
const silenceDeprecations = [
|
|
66
72
|
"legacy-js-api",
|
|
67
73
|
"import",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-theme-default",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "1.13.
|
|
5
|
+
"version": "1.13.2",
|
|
6
6
|
"description": "OE - BCL theme default",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"align-templates": "lerna --scope \"@openeuropa/bcl-twig-templates\" run prepublish",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@ecl/resources-ec-logo": "3.13.0",
|
|
24
24
|
"@ecl/resources-eu-logo": "3.13.0",
|
|
25
25
|
"@ecl/resources-flag-icons": "3.13.0",
|
|
26
|
-
"@openeuropa/bcl-bootstrap": "^1.13.
|
|
27
|
-
"@openeuropa/bcl-builder": "^1.13.
|
|
28
|
-
"@openeuropa/bcl-twig-templates": "^1.13.
|
|
26
|
+
"@openeuropa/bcl-bootstrap": "^1.13.2",
|
|
27
|
+
"@openeuropa/bcl-builder": "^1.13.2",
|
|
28
|
+
"@openeuropa/bcl-twig-templates": "^1.13.2",
|
|
29
29
|
"@rollup/plugin-replace": "6.0.3",
|
|
30
30
|
"copyfiles": "2.4.1",
|
|
31
31
|
"cross-env": "10.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"design-system",
|
|
52
52
|
"twig"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "13e3e4489e4ab19744c8231f0f84bd9e5dfd92f4"
|
|
55
55
|
}
|