@cedarjs/cli 4.0.0-canary.13698 → 4.0.0-canary.13700

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.
@@ -4,6 +4,7 @@ import execa from "execa";
4
4
  import { Listr } from "listr2";
5
5
  import prompts from "prompts";
6
6
  import { addApiPackages } from "@cedarjs/cli-helpers";
7
+ import { generate as generateTypes } from "@cedarjs/internal/dist/generate/generate";
7
8
  import { projectIsEsm } from "@cedarjs/project-config";
8
9
  import { errorTelemetry } from "@cedarjs/telemetry";
9
10
  import c from "../../../lib/colors.js";
@@ -320,8 +321,7 @@ async function handler(args) {
320
321
  {
321
322
  title: `Generating types...`,
322
323
  task: async () => {
323
- const { generate } = await import("@cedarjs/internal/dist/generate/generate");
324
- await generate();
324
+ await generateTypes();
325
325
  console.log(
326
326
  "Note: You may need to manually restart GraphQL in VSCode to see the new types take effect.\n\n"
327
327
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "4.0.0-canary.13698+b674e2207",
3
+ "version": "4.0.0-canary.13700+51d2c6fa0",
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.13698",
37
- "@cedarjs/cli-helpers": "4.0.0-canary.13698",
38
- "@cedarjs/fastify-web": "4.0.0-canary.13698",
39
- "@cedarjs/internal": "4.0.0-canary.13698",
40
- "@cedarjs/prerender": "4.0.0-canary.13698",
41
- "@cedarjs/project-config": "4.0.0-canary.13698",
42
- "@cedarjs/structure": "4.0.0-canary.13698",
43
- "@cedarjs/telemetry": "4.0.0-canary.13698",
44
- "@cedarjs/utils": "4.0.0-canary.13698",
45
- "@cedarjs/web-server": "4.0.0-canary.13698",
36
+ "@cedarjs/api-server": "4.0.0-canary.13700",
37
+ "@cedarjs/cli-helpers": "4.0.0-canary.13700",
38
+ "@cedarjs/fastify-web": "4.0.0-canary.13700",
39
+ "@cedarjs/internal": "4.0.0-canary.13700",
40
+ "@cedarjs/prerender": "4.0.0-canary.13700",
41
+ "@cedarjs/project-config": "4.0.0-canary.13700",
42
+ "@cedarjs/structure": "4.0.0-canary.13700",
43
+ "@cedarjs/telemetry": "4.0.0-canary.13700",
44
+ "@cedarjs/utils": "4.0.0-canary.13700",
45
+ "@cedarjs/web-server": "4.0.0-canary.13700",
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": "b674e220706d84cc83d42e5b17a0c3b3f22da115"
111
+ "gitHead": "51d2c6fa067d53c4dc01de18287c1daecb1be453"
112
112
  }