@cedarjs/cli 4.0.0-canary.13660 → 4.0.0-canary.13661

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.
@@ -80,6 +80,7 @@ const handler = async ({
80
80
  const cedarConfig = getConfig();
81
81
  const useFragments = cedarConfig.graphql?.fragments;
82
82
  const useTrustedDocuments = cedarConfig.graphql?.trustedDocuments;
83
+ const usePackagesWorkspace = cedarConfig.experimental?.packagesWorkspace?.enabled;
83
84
  const prismaSchemaExists = fs.existsSync(cedarPaths.api.prismaConfig);
84
85
  const prerenderRoutes = prerender && workspace.includes("web") ? detectPrerenderRoutes() : [];
85
86
  const shouldGeneratePrismaClient = prisma && prismaSchemaExists && (workspace.includes("api") || prerenderRoutes.length > 0);
@@ -104,11 +105,11 @@ const handler = async ({
104
105
  });
105
106
  }
106
107
  },
107
- nonApiWebWorkspaces.length > 0 && {
108
+ nonApiWebWorkspaces.length > 0 && usePackagesWorkspace && {
108
109
  title: "Building Packages...",
109
110
  task: (_ctx, task) => buildPackagesTask(task, nonApiWebWorkspaces)
110
111
  },
111
- (workspace.includes("web") || workspace.includes("api")) && {
112
+ (workspace.includes("web") || workspace.includes("api")) && usePackagesWorkspace && {
112
113
  title: "Checking workspace packages...",
113
114
  task: () => {
114
115
  const problems = checkWorkspacePackageEntryPoints(cedarPaths);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "4.0.0-canary.13660+8364eca60",
3
+ "version": "4.0.0-canary.13661+2470ba09b",
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": "4.0.0-canary.13660",
37
- "@cedarjs/cli-helpers": "4.0.0-canary.13660",
38
- "@cedarjs/fastify-web": "4.0.0-canary.13660",
39
- "@cedarjs/internal": "4.0.0-canary.13660",
40
- "@cedarjs/prerender": "4.0.0-canary.13660",
41
- "@cedarjs/project-config": "4.0.0-canary.13660",
42
- "@cedarjs/structure": "4.0.0-canary.13660",
43
- "@cedarjs/telemetry": "4.0.0-canary.13660",
44
- "@cedarjs/utils": "4.0.0-canary.13660",
45
- "@cedarjs/web-server": "4.0.0-canary.13660",
36
+ "@cedarjs/api-server": "4.0.0-canary.13661",
37
+ "@cedarjs/cli-helpers": "4.0.0-canary.13661",
38
+ "@cedarjs/fastify-web": "4.0.0-canary.13661",
39
+ "@cedarjs/internal": "4.0.0-canary.13661",
40
+ "@cedarjs/prerender": "4.0.0-canary.13661",
41
+ "@cedarjs/project-config": "4.0.0-canary.13661",
42
+ "@cedarjs/structure": "4.0.0-canary.13661",
43
+ "@cedarjs/telemetry": "4.0.0-canary.13661",
44
+ "@cedarjs/utils": "4.0.0-canary.13661",
45
+ "@cedarjs/web-server": "4.0.0-canary.13661",
46
46
  "@listr2/prompt-adapter-enquirer": "4.2.1",
47
47
  "@opentelemetry/api": "1.9.0",
48
48
  "@opentelemetry/core": "1.30.1",
@@ -105,5 +105,5 @@
105
105
  "publishConfig": {
106
106
  "access": "public"
107
107
  },
108
- "gitHead": "8364eca609417b07ee0ec93d3fcac477aee39915"
108
+ "gitHead": "2470ba09bebfc97335704593410c349ba339054c"
109
109
  }