@cedarjs/cli 7.0.0-canary.3003 → 7.0.0-canary.3005
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.
- package/dist/index.js +1 -2
- package/dist/lib/plugin.js +0 -1
- package/dist/lib/updateCheck.js +1 -1
- package/package.json +13 -13
- package/dist/commands/ts-to-js.js +0 -20
package/dist/index.js
CHANGED
|
@@ -30,7 +30,6 @@ import * as serveCommand from "./commands/serve.js";
|
|
|
30
30
|
import * as setupCommand from "./commands/setup.js";
|
|
31
31
|
import * as studioCommand from "./commands/studio.js";
|
|
32
32
|
import * as testCommand from "./commands/test.js";
|
|
33
|
-
import * as tstojsCommand from "./commands/ts-to-js.js";
|
|
34
33
|
import * as typeCheckCommand from "./commands/type-check.js";
|
|
35
34
|
import * as upgradeCommand from "./commands/upgrade/upgrade.js";
|
|
36
35
|
import { exitWithError } from "./lib/exit.js";
|
|
@@ -134,7 +133,7 @@ async function runYargs() {
|
|
|
134
133
|
}).example(
|
|
135
134
|
"yarn cedar g page home /",
|
|
136
135
|
"Create a page component named 'Home' at path '/'"
|
|
137
|
-
).demandCommand().strict().exitProcess(false).alias("h", "help").command(buildCommand).command(checkCommand).command(consoleCommand).command(deployCommand).command(destroyCommand).command(devCommand).command(execCommand).command(experimentalCommand).command(generateCommand).command(infoCommand).command(jobsCommand).command(lintCommand).command(prerenderCommand).command(prismaCommand).command(recordCommand).command(serveCommand).command(setupCommand).command(studioCommand).command(testCommand).command(
|
|
136
|
+
).demandCommand().strict().exitProcess(false).alias("h", "help").command(buildCommand).command(checkCommand).command(consoleCommand).command(deployCommand).command(destroyCommand).command(devCommand).command(execCommand).command(experimentalCommand).command(generateCommand).command(infoCommand).command(jobsCommand).command(lintCommand).command(prerenderCommand).command(prismaCommand).command(recordCommand).command(serveCommand).command(setupCommand).command(studioCommand).command(testCommand).command(typeCheckCommand).command(upgradeCommand);
|
|
138
137
|
await loadPlugins(yarg);
|
|
139
138
|
const pkgJson = await import("../package.json", { with: { type: "json" } });
|
|
140
139
|
yarg.version(pkgJson.default["version"]);
|
package/dist/lib/plugin.js
CHANGED
package/dist/lib/updateCheck.js
CHANGED
|
@@ -15,7 +15,7 @@ const SHOW_PERIOD = 24 * 60 * 6e4;
|
|
|
15
15
|
const DEFAULT_DATETIME_MS = 9466848e5;
|
|
16
16
|
const CHECK_LOCK_IDENTIFIER = "UPDATE_CHECK";
|
|
17
17
|
const SHOW_LOCK_IDENTIFIER = "UPDATE_CHECK_SHOW";
|
|
18
|
-
const EXCLUDED_COMMANDS = ["upgrade"
|
|
18
|
+
const EXCLUDED_COMMANDS = ["upgrade"];
|
|
19
19
|
let persistenceDirectory;
|
|
20
20
|
function getPersistenceDirectory() {
|
|
21
21
|
if (persistenceDirectory) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "7.0.0-canary.
|
|
3
|
+
"version": "7.0.0-canary.3005",
|
|
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": "7.0.0-canary.
|
|
40
|
-
"@cedarjs/babel-config": "7.0.0-canary.
|
|
41
|
-
"@cedarjs/cli-helpers": "7.0.0-canary.
|
|
42
|
-
"@cedarjs/internal": "7.0.0-canary.
|
|
43
|
-
"@cedarjs/prerender": "7.0.0-canary.
|
|
44
|
-
"@cedarjs/project-config": "7.0.0-canary.
|
|
45
|
-
"@cedarjs/structure": "7.0.0-canary.
|
|
46
|
-
"@cedarjs/telemetry": "7.0.0-canary.
|
|
47
|
-
"@cedarjs/utils": "7.0.0-canary.
|
|
48
|
-
"@cedarjs/vite": "7.0.0-canary.
|
|
49
|
-
"@cedarjs/web-server": "7.0.0-canary.
|
|
39
|
+
"@cedarjs/api-server": "7.0.0-canary.3005",
|
|
40
|
+
"@cedarjs/babel-config": "7.0.0-canary.3005",
|
|
41
|
+
"@cedarjs/cli-helpers": "7.0.0-canary.3005",
|
|
42
|
+
"@cedarjs/internal": "7.0.0-canary.3005",
|
|
43
|
+
"@cedarjs/prerender": "7.0.0-canary.3005",
|
|
44
|
+
"@cedarjs/project-config": "7.0.0-canary.3005",
|
|
45
|
+
"@cedarjs/structure": "7.0.0-canary.3005",
|
|
46
|
+
"@cedarjs/telemetry": "7.0.0-canary.3005",
|
|
47
|
+
"@cedarjs/utils": "7.0.0-canary.3005",
|
|
48
|
+
"@cedarjs/vite": "7.0.0-canary.3005",
|
|
49
|
+
"@cedarjs/web-server": "7.0.0-canary.3005",
|
|
50
50
|
"@listr2/prompt-adapter-enquirer": "4.3.0",
|
|
51
51
|
"@opentelemetry/api": "1.9.1",
|
|
52
52
|
"@opentelemetry/core": "1.30.1",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"yargs": "17.7.3"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@cedarjs/framework-tools": "7.0.0-canary.
|
|
97
|
+
"@cedarjs/framework-tools": "7.0.0-canary.3005",
|
|
98
98
|
"@prisma/dmmf": "7.8.0",
|
|
99
99
|
"@types/archiver": "^7.0.0",
|
|
100
100
|
"memfs": "4.68.1",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
2
|
-
import {
|
|
3
|
-
convertTsProjectToJs,
|
|
4
|
-
convertTsScriptsToJs
|
|
5
|
-
} from "@cedarjs/internal/dist/ts2js";
|
|
6
|
-
import { getPaths } from "@cedarjs/project-config";
|
|
7
|
-
const command = "ts-to-js";
|
|
8
|
-
const description = "[DEPRECATED]\nConvert a TypeScript project to JavaScript";
|
|
9
|
-
const handler = () => {
|
|
10
|
-
recordTelemetryAttributes({
|
|
11
|
-
command: "ts-to-js"
|
|
12
|
-
});
|
|
13
|
-
convertTsProjectToJs(getPaths().base);
|
|
14
|
-
convertTsScriptsToJs(getPaths().base);
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
command,
|
|
18
|
-
description,
|
|
19
|
-
handler
|
|
20
|
-
};
|