@rr0/cms 0.3.33 → 0.3.35

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.
@@ -129,7 +129,7 @@ export class CMSGenerator {
129
129
  const htAccessToNetlifyConfig = {
130
130
  replacements: [new HtAccessToNetlifyConfigReplaceCommand(this.options.siteBaseUrl)],
131
131
  roots: [".htaccess"],
132
- getOutputPath: (_context) => path.join(outDir, "netlify.toml")
132
+ getOutputPath: (_context) => "netlify.toml"
133
133
  };
134
134
  const contentRoots = this.options.contentRoots;
135
135
  const contentStepOptions = {
@@ -27,7 +27,7 @@ export async function getTimeFiles() {
27
27
  describe("Build", () => {
28
28
  console.time("ssg");
29
29
  const args = {
30
- contents: ["test/*.html"],
30
+ contents: ["test/**/*.html"],
31
31
  force: "true"
32
32
  };
33
33
  const cliContents = args.contents;
@@ -81,7 +81,7 @@ export class PeopleHtmlRenderer {
81
81
  if (portraitUrl) {
82
82
  const portraitElem = doc.createElement("img");
83
83
  portraitElem.src = path.join("/", portraitUrl);
84
- portraitElem.alt = people.lastAndFirstName;
84
+ portraitElem.alt = text;
85
85
  portraitElem.className = "portrait";
86
86
  portraitElem.loading = "lazy";
87
87
  portraitElem.width = 75;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@rr0/cms",
3
3
  "type": "module",
4
4
  "author": "Jérôme Beau <rr0@rr0.org> (https://rr0.org)",
5
- "version": "0.3.33",
5
+ "version": "0.3.35",
6
6
  "description": "RR0 Content Management System (CMS)",
7
7
  "exports": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@javarome/fileutil": "^0.3.7",
32
32
  "@rr0/common": "^1.1.3",
33
- "@rr0/data": "^0.3.30",
33
+ "@rr0/data": "^0.3.32",
34
34
  "@rr0/lang": "^0.1.12",
35
35
  "@rr0/place": "^0.5.3",
36
36
  "@rr0/time": "^0.11.0",
@@ -43,7 +43,7 @@
43
43
  "ssg-api": "^1.16.15"
44
44
  },
45
45
  "devDependencies": {
46
- "netlify-cli": "^19.1.4",
46
+ "netlify-cli": "^20.1.1",
47
47
  "@javarome/testscript": "^0.13.1",
48
48
  "@types/jsdom": "^21.1.7",
49
49
  "@types/node": "^22.13.11",