@cedarjs/cli 5.0.0-canary.13875 → 5.0.0-canary.13877

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.
@@ -151,24 +151,28 @@ const getTasks = async (dryrun, routerPathFilter = null) => {
151
151
  }
152
152
  ];
153
153
  }
154
- return routesToPrerender.flatMap((routeToPrerender) => {
155
- if (routerPathFilter && routeToPrerender.path !== routerPathFilter) {
156
- return [];
157
- }
158
- const outputHtmlPath = mapRouterPathToHtml(routeToPrerender.path);
159
- return {
160
- title: `Prerendering ${routeToPrerender.path} -> ${outputHtmlPath}`,
161
- task: async () => {
162
- await prerenderRoute(
163
- prerenderer,
164
- queryCache,
165
- routeToPrerender,
166
- dryrun,
167
- outputHtmlPath
168
- );
154
+ return routesToPrerender.flatMap(
155
+ (routeToPrerender) => {
156
+ if (routerPathFilter && routeToPrerender.path !== routerPathFilter) {
157
+ return [];
169
158
  }
170
- };
171
- });
159
+ const outputHtmlPath = mapRouterPathToHtml(routeToPrerender.path);
160
+ return [
161
+ {
162
+ title: `Prerendering ${routeToPrerender.path} -> ${outputHtmlPath}`,
163
+ task: async () => {
164
+ await prerenderRoute(
165
+ prerenderer,
166
+ queryCache,
167
+ routeToPrerender,
168
+ dryrun,
169
+ outputHtmlPath
170
+ );
171
+ }
172
+ }
173
+ ];
174
+ }
175
+ );
172
176
  });
173
177
  return listrTasks;
174
178
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "5.0.0-canary.13875+77595a2483",
3
+ "version": "5.0.0-canary.13877+9515965c05",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,16 +33,16 @@
33
33
  "dependencies": {
34
34
  "@babel/parser": "7.29.2",
35
35
  "@babel/preset-typescript": "7.28.5",
36
- "@cedarjs/api-server": "5.0.0-canary.13875",
37
- "@cedarjs/cli-helpers": "5.0.0-canary.13875",
38
- "@cedarjs/fastify-web": "5.0.0-canary.13875",
39
- "@cedarjs/internal": "5.0.0-canary.13875",
40
- "@cedarjs/prerender": "5.0.0-canary.13875",
41
- "@cedarjs/project-config": "5.0.0-canary.13875",
42
- "@cedarjs/structure": "5.0.0-canary.13875",
43
- "@cedarjs/telemetry": "5.0.0-canary.13875",
44
- "@cedarjs/utils": "5.0.0-canary.13875",
45
- "@cedarjs/web-server": "5.0.0-canary.13875",
36
+ "@cedarjs/api-server": "5.0.0-canary.13877",
37
+ "@cedarjs/cli-helpers": "5.0.0-canary.13877",
38
+ "@cedarjs/fastify-web": "5.0.0-canary.13877",
39
+ "@cedarjs/internal": "5.0.0-canary.13877",
40
+ "@cedarjs/prerender": "5.0.0-canary.13877",
41
+ "@cedarjs/project-config": "5.0.0-canary.13877",
42
+ "@cedarjs/structure": "5.0.0-canary.13877",
43
+ "@cedarjs/telemetry": "5.0.0-canary.13877",
44
+ "@cedarjs/utils": "5.0.0-canary.13877",
45
+ "@cedarjs/web-server": "5.0.0-canary.13877",
46
46
  "@listr2/prompt-adapter-enquirer": "4.2.1",
47
47
  "@opentelemetry/api": "1.9.0",
48
48
  "@opentelemetry/core": "1.30.1",
@@ -108,5 +108,5 @@
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "gitHead": "77595a248397dd8c249818eb522a111f12866e7f"
111
+ "gitHead": "9515965c053f90fb9be02c66dd6c397bc40adfec"
112
112
  }