@cedarjs/cli 8.0.0-canary.3269 → 8.0.0-canary.3271
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.
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
getInstalledCedarVersion,
|
|
4
|
+
transformTSToJS
|
|
5
|
+
} from "../../../lib/index.js";
|
|
3
6
|
import { templateForFile } from "../yargsHandlerHelpers.js";
|
|
4
7
|
const files = async ({
|
|
5
8
|
name,
|
|
@@ -33,7 +36,12 @@ const files = async ({
|
|
|
33
36
|
side: "packages",
|
|
34
37
|
generator: "package",
|
|
35
38
|
templatePath: "package.json.template",
|
|
36
|
-
|
|
39
|
+
// Pin @cedarjs/testing to the Cedar version the project is on
|
|
40
|
+
templateVars: {
|
|
41
|
+
packageName,
|
|
42
|
+
cedarVersion: await getInstalledCedarVersion(),
|
|
43
|
+
...rest
|
|
44
|
+
},
|
|
37
45
|
outputPath: path.join(folderName, "package.json")
|
|
38
46
|
});
|
|
39
47
|
const tsconfigFile = await templateForFile({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "8.0.0-canary.
|
|
3
|
+
"version": "8.0.0-canary.3271",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"@babel/preset-typescript": "7.29.7",
|
|
37
37
|
"@babel/traverse": "7.29.8",
|
|
38
38
|
"@babel/types": "7.29.8",
|
|
39
|
-
"@cedarjs/api-server": "8.0.0-canary.
|
|
40
|
-
"@cedarjs/babel-config": "8.0.0-canary.
|
|
41
|
-
"@cedarjs/cli-helpers": "8.0.0-canary.
|
|
42
|
-
"@cedarjs/internal": "8.0.0-canary.
|
|
43
|
-
"@cedarjs/prerender": "8.0.0-canary.
|
|
44
|
-
"@cedarjs/project-config": "8.0.0-canary.
|
|
45
|
-
"@cedarjs/structure": "8.0.0-canary.
|
|
46
|
-
"@cedarjs/telemetry": "8.0.0-canary.
|
|
47
|
-
"@cedarjs/utils": "8.0.0-canary.
|
|
48
|
-
"@cedarjs/vite": "8.0.0-canary.
|
|
49
|
-
"@cedarjs/web-server": "8.0.0-canary.
|
|
39
|
+
"@cedarjs/api-server": "8.0.0-canary.3271",
|
|
40
|
+
"@cedarjs/babel-config": "8.0.0-canary.3271",
|
|
41
|
+
"@cedarjs/cli-helpers": "8.0.0-canary.3271",
|
|
42
|
+
"@cedarjs/internal": "8.0.0-canary.3271",
|
|
43
|
+
"@cedarjs/prerender": "8.0.0-canary.3271",
|
|
44
|
+
"@cedarjs/project-config": "8.0.0-canary.3271",
|
|
45
|
+
"@cedarjs/structure": "8.0.0-canary.3271",
|
|
46
|
+
"@cedarjs/telemetry": "8.0.0-canary.3271",
|
|
47
|
+
"@cedarjs/utils": "8.0.0-canary.3271",
|
|
48
|
+
"@cedarjs/vite": "8.0.0-canary.3271",
|
|
49
|
+
"@cedarjs/web-server": "8.0.0-canary.3271",
|
|
50
50
|
"@listr2/prompt-adapter-enquirer": "4.3.2",
|
|
51
51
|
"@opentelemetry/api": "1.9.1",
|
|
52
52
|
"@opentelemetry/core": "2.11.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"yargs": "17.7.3"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@cedarjs/framework-tools": "8.0.0-canary.
|
|
97
|
+
"@cedarjs/framework-tools": "8.0.0-canary.3271",
|
|
98
98
|
"@prisma/dmmf": "7.10.0",
|
|
99
99
|
"@types/archiver": "^7.0.0",
|
|
100
100
|
"memfs": "4.79.0",
|