@imiobe/plonetheme-smartweb-base 0.3.9 → 0.3.10

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,3 +1,10 @@
1
+ ## [0.3.9](https://github.com/IMIO/imio_smartweb_themes/compare/v0.3.8...v0.3.9) (2026-02-25)
2
+
3
+ * Fix release changeslog (42cacdbc)
4
+ * SUP-49316: replace px to rem in all theme (9c934435)
5
+ * SUP-49316: replace px to rem base variables (18fc8dd8)
6
+ * sprint fix (c245a4b7)
7
+
1
8
  ## [0.3.8](https://github.com/IMIO/imio_smartweb_themes/compare/v0.3.7...v0.3.8) (2026-02-19)
2
9
 
3
10
  ### Bug Fixes
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "plone",
24
24
  "smartweb"
25
25
  ],
26
- "version": "0.3.9",
26
+ "version": "0.3.10",
27
27
  "license": "GPL version 2",
28
28
  "scripts": {
29
29
  "stylelint": "npx stylelint 'src/**/*.{css,less}' 'src/**/*.{css,less}",
@@ -245,10 +245,6 @@ textarea {
245
245
  overflow: hidden;
246
246
  }
247
247
 
248
- #content header .lead.rich_description {
249
- max-width: 1024px;
250
- }
251
-
252
248
  .procedure a {
253
249
  background: $primary;
254
250
  padding: 0.75rem;
@@ -1,30 +1,34 @@
1
1
  #!/usr/bin/env node
2
- const { execSync } = require('child_process');
3
- const fs = require('fs');
4
- const path = require('path');
2
+ const { execSync } = require("child_process");
3
+ const fs = require("fs");
4
+ const path = require("path");
5
5
 
6
6
  const version = process.argv[2];
7
7
  if (!version) {
8
- console.error('Usage: node update-changelog.js <version>');
8
+ console.error("Usage: node update-changelog.js <version>");
9
9
  process.exit(1);
10
10
  }
11
11
 
12
- const date = new Date().toISOString().split('T')[0];
13
- const repoUrl = 'https://github.com/IMIO/imio_smartweb_themes';
12
+ const date = new Date().toISOString().split("T")[0];
13
+ const repoUrl = "https://github.com/IMIO/imio_smartweb_themes";
14
14
 
15
15
  // Previous tag (before new one is created)
16
16
  let prevTag;
17
17
  try {
18
- prevTag = execSync('git describe --tags --abbrev=0', { encoding: 'utf8' }).trim();
18
+ prevTag = execSync("git describe --tags --abbrev=0", {
19
+ encoding: "utf8",
20
+ }).trim();
19
21
  } catch (e) {
20
22
  prevTag = null;
21
23
  }
22
24
 
23
25
  // Commits touching current directory (base/) since previous tag
24
- let commits = '';
26
+ let commits = "";
25
27
  try {
26
- const range = prevTag ? `${prevTag}...HEAD` : 'HEAD';
27
- commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, { encoding: 'utf8' }).trim();
28
+ const range = prevTag ? `${prevTag}...HEAD` : "HEAD";
29
+ commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, {
30
+ encoding: "utf8",
31
+ }).trim();
28
32
  } catch (e) {
29
33
  // no commits
30
34
  }
@@ -39,13 +43,13 @@ const newEntry = commits
39
43
  : `## [${version}](${compareUrl}) (${date})`;
40
44
 
41
45
  // Prepend to CHANGELOG.md
42
- const infile = path.join(__dirname, 'CHANGELOG.md');
43
- let existing = '';
46
+ const infile = path.join(__dirname, "CHANGELOG.md");
47
+ let existing = "";
44
48
  try {
45
- existing = fs.readFileSync(infile, 'utf8').trim();
49
+ existing = fs.readFileSync(infile, "utf8").trim();
46
50
  } catch (e) {
47
51
  // file doesn't exist yet
48
52
  }
49
53
 
50
- fs.writeFileSync(infile, newEntry + (existing ? '\n\n' + existing : '') + '\n');
54
+ fs.writeFileSync(infile, newEntry + (existing ? "\n\n" + existing : "") + "\n");
51
55
  console.log(`CHANGELOG.md updated for v${version}`);