@cedarjs/cli 3.0.0-canary.13600 → 3.0.0-canary.13602

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.
@@ -5,8 +5,7 @@ const aliases = ["diagnostics"];
5
5
  const description = "Get structural diagnostics for a Redwood project (experimental)";
6
6
  const handler = async () => {
7
7
  recordTelemetryAttributes({ command: "check" });
8
- const { printDiagnostics } = await import("@cedarjs/structure");
9
- const { DiagnosticSeverity } = (await import("@cedarjs/structure")).default;
8
+ const { printDiagnostics, DiagnosticSeverity } = await import("@cedarjs/structure");
10
9
  printDiagnostics({
11
10
  getSeverityLabel: (severity) => {
12
11
  if (severity === DiagnosticSeverity.Error) {
@@ -55,9 +55,7 @@ async function getResources() {
55
55
  developmentEnvironment = "gitpod";
56
56
  }
57
57
  const experiments = Object.keys(getRawConfig()["experimental"] || {});
58
- const project = new RWProject({
59
- projectRoot: getPaths().base
60
- });
58
+ const project = new RWProject();
61
59
  const routes = project.getRouter().routes;
62
60
  const prerenderedRoutes = routes.filter((route) => route.hasPrerender);
63
61
  const complexity = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "3.0.0-canary.13600+93825574d",
3
+ "version": "3.0.0-canary.13602+f3f83b636",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,16 +34,16 @@
34
34
  "@babel/parser": "7.29.0",
35
35
  "@babel/preset-typescript": "7.28.5",
36
36
  "@babel/runtime-corejs3": "7.29.0",
37
- "@cedarjs/api-server": "3.0.0-canary.13600",
38
- "@cedarjs/cli-helpers": "3.0.0-canary.13600",
39
- "@cedarjs/fastify-web": "3.0.0-canary.13600",
40
- "@cedarjs/internal": "3.0.0-canary.13600",
41
- "@cedarjs/prerender": "3.0.0-canary.13600",
42
- "@cedarjs/project-config": "3.0.0-canary.13600",
43
- "@cedarjs/structure": "3.0.0-canary.13600",
44
- "@cedarjs/telemetry": "3.0.0-canary.13600",
45
- "@cedarjs/utils": "3.0.0-canary.13600",
46
- "@cedarjs/web-server": "3.0.0-canary.13600",
37
+ "@cedarjs/api-server": "3.0.0-canary.13602",
38
+ "@cedarjs/cli-helpers": "3.0.0-canary.13602",
39
+ "@cedarjs/fastify-web": "3.0.0-canary.13602",
40
+ "@cedarjs/internal": "3.0.0-canary.13602",
41
+ "@cedarjs/prerender": "3.0.0-canary.13602",
42
+ "@cedarjs/project-config": "3.0.0-canary.13602",
43
+ "@cedarjs/structure": "3.0.0-canary.13602",
44
+ "@cedarjs/telemetry": "3.0.0-canary.13602",
45
+ "@cedarjs/utils": "3.0.0-canary.13602",
46
+ "@cedarjs/web-server": "3.0.0-canary.13602",
47
47
  "@listr2/prompt-adapter-enquirer": "4.2.1",
48
48
  "@opentelemetry/api": "1.9.0",
49
49
  "@opentelemetry/core": "1.30.1",
@@ -107,5 +107,5 @@
107
107
  "publishConfig": {
108
108
  "access": "public"
109
109
  },
110
- "gitHead": "93825574d20afa352eaee4db4f83aefd3431e049"
110
+ "gitHead": "f3f83b636f80db1d2bfd94c65a960f7e2db7ac5d"
111
111
  }