@cedarjs/cli 3.0.0-canary.13433 → 3.0.0-canary.13437
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,5 @@
|
|
|
1
1
|
import { terminalLink } from "termi-link";
|
|
2
|
-
import
|
|
2
|
+
import { detectCedarVersion } from "../middleware/detectProjectCedarVersion.js";
|
|
3
3
|
import * as experimentalInngest from "./experimental/setupInngest.js";
|
|
4
4
|
import * as experimentalOpenTelemetry from "./experimental/setupOpentelemetry.js";
|
|
5
5
|
import * as experimentalReactCompiler from "./experimental/setupReactCompiler.js";
|
|
@@ -8,7 +8,7 @@ import * as experimentalStreamingSsr from "./experimental/setupStreamingSsr.js";
|
|
|
8
8
|
const command = "experimental <command>";
|
|
9
9
|
const aliases = ["exp"];
|
|
10
10
|
const description = "Run or setup experimental features";
|
|
11
|
-
const builder = (yargs) => yargs.command(experimentalInngest).command(experimentalOpenTelemetry).command(experimentalReactCompiler).command(experimentalRsc).command(experimentalStreamingSsr).demandCommand().middleware(
|
|
11
|
+
const builder = (yargs) => yargs.command(experimentalInngest).command(experimentalOpenTelemetry).command(experimentalReactCompiler).command(experimentalRsc).command(experimentalStreamingSsr).demandCommand().middleware(detectCedarVersion).epilogue(
|
|
12
12
|
`Also see the ${terminalLink(
|
|
13
13
|
"CedarJS CLI Reference",
|
|
14
14
|
"https://cedarjs.com/docs/cli-commands#experimental"
|
package/dist/commands/setup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { terminalLink } from "termi-link";
|
|
2
|
-
import
|
|
2
|
+
import { detectCedarVersion } from "../middleware/detectProjectCedarVersion.js";
|
|
3
3
|
import * as setupAuth from "./setup/auth/auth.js";
|
|
4
4
|
import * as setupCache from "./setup/cache/cache.js";
|
|
5
5
|
import * as setupDeploy from "./setup/deploy/deploy.js";
|
|
@@ -21,7 +21,7 @@ import * as setupUploads from "./setup/uploads/uploads.js";
|
|
|
21
21
|
import * as setupVite from "./setup/vite/vite.js";
|
|
22
22
|
const command = "setup <command>";
|
|
23
23
|
const description = "Initialize project config and install packages";
|
|
24
|
-
const builder = (yargs) => yargs.command(setupAuth).command(setupCache).command(setupDeploy).command(setupDocker).command(setupGenerator).command(setupGraphql).command(setupI18n).command(setupJobs).command(setupLiveQueries).command(setupMailer).command(setupMiddleware).command(setupMonitoring).command(setupPackage).command(setupRealtime).command(setupServerFile).command(setupTsconfig).command(setupUi).command(setupUploads).command(setupVite).demandCommand().middleware(
|
|
24
|
+
const builder = (yargs) => yargs.command(setupAuth).command(setupCache).command(setupDeploy).command(setupDocker).command(setupGenerator).command(setupGraphql).command(setupI18n).command(setupJobs).command(setupLiveQueries).command(setupMailer).command(setupMiddleware).command(setupMonitoring).command(setupPackage).command(setupRealtime).command(setupServerFile).command(setupTsconfig).command(setupUi).command(setupUploads).command(setupVite).demandCommand().middleware(detectCedarVersion).epilogue(
|
|
25
25
|
`Also see the ${terminalLink(
|
|
26
26
|
"CedarJS CLI Reference",
|
|
27
27
|
"https://cedarjs.com/docs/cli-commands#setup"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getInstalledCedarVersion } from "../lib/index.js";
|
|
2
|
-
async function
|
|
2
|
+
async function detectCedarVersion(argv) {
|
|
3
3
|
if (!argv.rwVersion) {
|
|
4
4
|
return {
|
|
5
5
|
rwVersion: await getInstalledCedarVersion()
|
|
@@ -8,5 +8,5 @@ async function detectRxVersion(argv) {
|
|
|
8
8
|
return {};
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
detectCedarVersion
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.13437+ac533f88a",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,15 +34,15 @@
|
|
|
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.
|
|
38
|
-
"@cedarjs/cli-helpers": "3.0.0-canary.
|
|
39
|
-
"@cedarjs/fastify-web": "3.0.0-canary.
|
|
40
|
-
"@cedarjs/internal": "3.0.0-canary.
|
|
41
|
-
"@cedarjs/prerender": "3.0.0-canary.
|
|
42
|
-
"@cedarjs/project-config": "3.0.0-canary.
|
|
43
|
-
"@cedarjs/structure": "3.0.0-canary.
|
|
44
|
-
"@cedarjs/telemetry": "3.0.0-canary.
|
|
45
|
-
"@cedarjs/web-server": "3.0.0-canary.
|
|
37
|
+
"@cedarjs/api-server": "3.0.0-canary.13437",
|
|
38
|
+
"@cedarjs/cli-helpers": "3.0.0-canary.13437",
|
|
39
|
+
"@cedarjs/fastify-web": "3.0.0-canary.13437",
|
|
40
|
+
"@cedarjs/internal": "3.0.0-canary.13437",
|
|
41
|
+
"@cedarjs/prerender": "3.0.0-canary.13437",
|
|
42
|
+
"@cedarjs/project-config": "3.0.0-canary.13437",
|
|
43
|
+
"@cedarjs/structure": "3.0.0-canary.13437",
|
|
44
|
+
"@cedarjs/telemetry": "3.0.0-canary.13437",
|
|
45
|
+
"@cedarjs/web-server": "3.0.0-canary.13437",
|
|
46
46
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
47
47
|
"@opentelemetry/api": "1.9.0",
|
|
48
48
|
"@opentelemetry/core": "1.30.1",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"semver": "7.7.4",
|
|
85
85
|
"smol-toml": "1.6.0",
|
|
86
86
|
"string-env-interpolation": "1.0.1",
|
|
87
|
-
"systeminformation": "5.31.
|
|
87
|
+
"systeminformation": "5.31.1",
|
|
88
88
|
"termi-link": "1.1.0",
|
|
89
89
|
"title-case": "3.0.3",
|
|
90
90
|
"unionfs": "4.6.0",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"publishConfig": {
|
|
107
107
|
"access": "public"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "ac533f88a5cc6ee32386e14dfe8bb865dc2bda3b"
|
|
110
110
|
}
|