@rr0/cms 0.3.55 → 0.3.56

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.
@@ -25,7 +25,6 @@ import { GooglePlaceService } from "@rr0/place";
25
25
  import { PeopleHtmlRenderer } from "./people/PeopleHtmlRenderer.js";
26
26
  import { CountryService } from "./org/country/CountryService.js";
27
27
  import { TimeContext } from "./time/TimeContext.mjs";
28
- import { IndexDirectoryStep } from "./IndexDirectoryStep.js";
29
28
  const outputFunc = async (context, outFile) => {
30
29
  try {
31
30
  if (context.file instanceof HtmlFileContents) {
@@ -147,8 +146,9 @@ export class CMSGenerator {
147
146
  outputFunc, fileVisitors: [], contentVisitors: [], force, name: "content includes", toProcess
148
147
  };
149
148
  const includeStep = new RR0ContentStep(contentStepOptions, timeService);
150
- const defaultDirectoryStep = new IndexDirectoryStep(contentRoots, [], `<ul></ul>`, outputFunc, config);
151
- ssg.add(includeStep, ufoCasesStep, ...peopleSteps, defaultDirectoryStep);
149
+ ssg.add(includeStep);
150
+ ssg.add(ufoCasesStep);
151
+ ssg.add(...peopleSteps);
152
152
  if (contentRoots) {
153
153
  const dataContentVisitor = new DataContentVisitor(dataService, caseRenderer, timeElementFactory);
154
154
  const contentVisitors = [dataContentVisitor, searchVisitor];
package/package.json CHANGED
@@ -2,8 +2,9 @@
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.55",
5
+ "version": "0.3.56",
6
6
  "description": "RR0 Content Management System (CMS)",
7
+
7
8
  "exports": "./dist/index.js",
8
9
  "types": "./dist/index.d.ts",
9
10
  "engines": {