Skip to content

Commit 1ba62d0

Browse files
committed
chore(release): cut the v4.0.0 release
1 parent 05def8d commit 1ba62d0

File tree

6 files changed

+37
-20
lines changed

6 files changed

+37
-20
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [4.0.0](https://github.com/char0n/ramda-adjunct/compare/v3.4.0...v4.0.0) (2023-04-05)
2+
3+
4+
### Features
5+
6+
* add support for [email protected] ([#2568](https://github.com/char0n/ramda-adjunct/issues/2568)) ([05def8d](https://github.com/char0n/ramda-adjunct/commit/05def8d60fd9c71c4e4f8d9345b7b80ffa6dd6f7)), closes [#2567](https://github.com/char0n/ramda-adjunct/issues/2567)
7+
8+
### Breaking changes
9+
10+
* pathNotEq changed parameter order to reflect the order in [email protected]
11+
* propNotEq changed parameter order to reflect the order in [email protected]
12+
13+
14+
115
# [3.4.0](https://github.com/char0n/ramda-adjunct/compare/v3.3.0...v3.4.0) (2022-12-03)
216

317

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ It is also possible that our ES5 distributions run on node versions older than 0
137137
## API Documentation
138138

139139
[LATEST](https://char0n.github.io/ramda-adjunct),
140-
[PREVIOUS](https://char0n.github.io/ramda-adjunct/3.3.0),
140+
[PREVIOUS](https://char0n.github.io/ramda-adjunct/3.4.0),
141141
[ALL VERSIONS](./VERSIONS.md)
142142

143143
## Wrote about us

VERSIONS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# API Documentation
22

33
[LATEST](https://char0n.github.io/ramda-adjunct),
4-
[3.2.0](https://char0n.github.io/ramda-adjunct/3.3.0),
4+
[3.4.0](https://char0n.github.io/ramda-adjunct/3.4.0),
5+
[3.3.0](https://char0n.github.io/ramda-adjunct/3.3.0),
56
[3.2.0](https://char0n.github.io/ramda-adjunct/3.2.0),
67
[3.1.0](https://char0n.github.io/ramda-adjunct/3.1.0),
78
[3.0.0](https://char0n.github.io/ramda-adjunct/3.0.0),

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"cookbook",
1515
"functional"
1616
],
17-
"version": "3.4.0",
17+
"version": "4.0.0",
1818
"homepage": "https://github.com/char0n/ramda-adjunct",
1919
"license": "BSD-3-Clause",
2020
"repository": {

scripts/jsdoc-inject-dist.js

+17-15
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,21 @@ fs.writeFileSync(ramdaDocsPath, fs.readFileSync(ramdaDistPath));
3131
fs.writeFileSync(raWebDocsPath, fs.readFileSync(raWebDistPath));
3232

3333
// Append RA into docs templates.
34-
glob(path.normalize(`${docsPath}/*.html`), null, (err, files) => {
35-
if (err !== null) {
36-
console.error(err);
37-
}
34+
(async () => {
35+
try {
36+
const files = await glob(path.normalize(`${docsPath}/*.html`));
3837

39-
files.forEach((htmlFile) => {
40-
const html = fs.readFileSync(htmlFile, 'utf-8');
41-
const raHtmlFragment = `<script src="scripts/${raWebName}"></script>`;
42-
const ramdaHtmlFragment = `<script src="scripts/${ramdaName}"></script>`;
43-
const htmlWithRamdaAndRA = html.replace(
44-
'</head>',
45-
` ${ramdaHtmlFragment}\n ${raHtmlFragment}\n</head>`
46-
);
47-
fs.writeFileSync(htmlFile, htmlWithRamdaAndRA);
48-
});
49-
});
38+
files.forEach((htmlFile) => {
39+
const html = fs.readFileSync(htmlFile, 'utf-8');
40+
const raHtmlFragment = `<script src="scripts/${raWebName}"></script>`;
41+
const ramdaHtmlFragment = `<script src="scripts/${ramdaName}"></script>`;
42+
const htmlWithRamdaAndRA = html.replace(
43+
'</head>',
44+
` ${ramdaHtmlFragment}\n ${raHtmlFragment}\n</head>`
45+
);
46+
fs.writeFileSync(htmlFile, htmlWithRamdaAndRA);
47+
});
48+
} catch (error) {
49+
console.error(error);
50+
}
51+
})();

0 commit comments

Comments
 (0)