@cedarjs/cli 6.0.0-canary.2834 → 6.0.0-canary.2836

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.
@@ -7,13 +7,10 @@ import system from "systeminformation";
7
7
  import { v4 as uuidv4, validate as validateUUID } from "uuid";
8
8
  import { getPaths, getRawConfig } from "@cedarjs/project-config";
9
9
  import { RWProject } from "@cedarjs/structure/dist/model/RWProject";
10
- import {
11
- name as _packageName,
12
- version as _packageVersion
13
- } from "../../package.js";
14
- const packageName = _packageName;
15
- const packageVersion = _packageVersion;
16
10
  async function getResources() {
11
+ const packageJson = await import("../../package.json", { with: { type: "json" } });
12
+ const packageName = packageJson.default["name"];
13
+ const packageVersion = packageJson.default["version"];
17
14
  let UID = uuidv4();
18
15
  try {
19
16
  const telemetryFile = path.join(getPaths().generated.base, "telemetry.txt");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "6.0.0-canary.2834",
3
+ "version": "6.0.0-canary.2836",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,19 +31,22 @@
31
31
  "test:watch": "vitest watch"
32
32
  },
33
33
  "dependencies": {
34
+ "@babel/core": "^7.26.10",
34
35
  "@babel/parser": "7.29.7",
35
36
  "@babel/preset-typescript": "7.29.7",
36
- "@cedarjs/api-server": "6.0.0-canary.2834",
37
- "@cedarjs/cli-helpers": "6.0.0-canary.2834",
38
- "@cedarjs/fastify-web": "6.0.0-canary.2834",
39
- "@cedarjs/internal": "6.0.0-canary.2834",
40
- "@cedarjs/prerender": "6.0.0-canary.2834",
41
- "@cedarjs/project-config": "6.0.0-canary.2834",
42
- "@cedarjs/structure": "6.0.0-canary.2834",
43
- "@cedarjs/telemetry": "6.0.0-canary.2834",
44
- "@cedarjs/utils": "6.0.0-canary.2834",
45
- "@cedarjs/vite": "6.0.0-canary.2834",
46
- "@cedarjs/web-server": "6.0.0-canary.2834",
37
+ "@babel/traverse": "7.29.7",
38
+ "@babel/types": "7.29.7",
39
+ "@cedarjs/api-server": "6.0.0-canary.2836",
40
+ "@cedarjs/babel-config": "6.0.0-canary.2836",
41
+ "@cedarjs/cli-helpers": "6.0.0-canary.2836",
42
+ "@cedarjs/internal": "6.0.0-canary.2836",
43
+ "@cedarjs/prerender": "6.0.0-canary.2836",
44
+ "@cedarjs/project-config": "6.0.0-canary.2836",
45
+ "@cedarjs/structure": "6.0.0-canary.2836",
46
+ "@cedarjs/telemetry": "6.0.0-canary.2836",
47
+ "@cedarjs/utils": "6.0.0-canary.2836",
48
+ "@cedarjs/vite": "6.0.0-canary.2836",
49
+ "@cedarjs/web-server": "6.0.0-canary.2836",
47
50
  "@listr2/prompt-adapter-enquirer": "4.3.0",
48
51
  "@opentelemetry/api": "1.9.1",
49
52
  "@opentelemetry/core": "1.30.1",
@@ -61,7 +64,6 @@
61
64
  "ci-info": "4.4.0",
62
65
  "concurrently": "9.2.4",
63
66
  "configstore": "7.1.0",
64
- "cross-env": "7.0.3",
65
67
  "decamelize": "6.0.1",
66
68
  "dotenv-defaults": "5.0.2",
67
69
  "enquirer": "2.4.1",
@@ -80,7 +82,6 @@
80
82
  "prettier": "3.8.4",
81
83
  "prisma": "7.8.0",
82
84
  "prompts": "2.4.2",
83
- "rimraf": "6.1.3",
84
85
  "semver": "7.7.4",
85
86
  "smol-toml": "1.6.1",
86
87
  "srvx": "0.11.16",
@@ -93,8 +94,7 @@
93
94
  "yargs": "17.7.3"
94
95
  },
95
96
  "devDependencies": {
96
- "@babel/cli": "7.29.7",
97
- "@babel/core": "^7.26.10",
97
+ "@cedarjs/framework-tools": "6.0.0-canary.2836",
98
98
  "@prisma/dmmf": "7.8.0",
99
99
  "@types/archiver": "^7.0.0",
100
100
  "memfs": "4.64.0",