@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 +7 -0
- package/package.json +1 -1
- package/src/scss/_trucaverif.scss +0 -4
- package/update-changelog.js +18 -14
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
package/update-changelog.js
CHANGED
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const { execSync } = require(
|
|
3
|
-
const fs = require(
|
|
4
|
-
const path = require(
|
|
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(
|
|
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(
|
|
13
|
-
const repoUrl =
|
|
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(
|
|
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` :
|
|
27
|
-
commits = execSync(`git log --pretty=format:"* %s (%h)" ${range} -- .`, {
|
|
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,
|
|
43
|
-
let existing =
|
|
46
|
+
const infile = path.join(__dirname, "CHANGELOG.md");
|
|
47
|
+
let existing = "";
|
|
44
48
|
try {
|
|
45
|
-
existing = fs.readFileSync(infile,
|
|
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 ?
|
|
54
|
+
fs.writeFileSync(infile, newEntry + (existing ? "\n\n" + existing : "") + "\n");
|
|
51
55
|
console.log(`CHANGELOG.md updated for v${version}`);
|