@cedarjs/cli 1.0.0-canary.12494 → 1.0.0-canary.12495
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/commands/deploy.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
const command = "deploy <target>";
|
|
2
|
-
const description = "Deploy your Redwood project";
|
|
3
1
|
import { terminalLink } from "termi-link";
|
|
4
2
|
import * as deployBaremetal from "./deploy/baremetal.js";
|
|
5
3
|
import * as deployFlightcontrol from "./deploy/flightcontrol.js";
|
|
@@ -7,6 +5,8 @@ import * as deployNetlify from "./deploy/netlify.js";
|
|
|
7
5
|
import * as deployRender from "./deploy/render.js";
|
|
8
6
|
import * as deployServerless from "./deploy/serverless.js";
|
|
9
7
|
import * as deployVercel from "./deploy/vercel.js";
|
|
8
|
+
const command = "deploy <target>";
|
|
9
|
+
const description = "Deploy your Redwood project";
|
|
10
10
|
const builder = (yargs) => yargs.command(deployBaremetal).command(deployFlightcontrol).command(deployNetlify).command(deployRender).command(deployServerless).command(deployVercel).demandCommand().epilogue(
|
|
11
11
|
`Also see the ${terminalLink(
|
|
12
12
|
"Redwood CLI Reference",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { files as cellFiles } from "../../generate/cell/cellHandler.js";
|
|
2
1
|
import { createYargsForComponentDestroy, createHandler } from "../helpers.js";
|
|
3
2
|
const { command, description, builder } = createYargsForComponentDestroy(
|
|
4
|
-
{ componentName: "cell"
|
|
3
|
+
{ componentName: "cell" }
|
|
5
4
|
);
|
|
6
5
|
const handler = createHandler("cell");
|
|
7
6
|
export {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { files as componentFiles } from "../../generate/component/componentHandler.js";
|
|
2
1
|
import { createHandler, createYargsForComponentDestroy } from "../helpers.js";
|
|
3
2
|
const description = "Destroy a component";
|
|
4
3
|
const { command, builder, tasks } = createYargsForComponentDestroy({
|
|
5
|
-
componentName: "component"
|
|
6
|
-
filesFn: componentFiles
|
|
4
|
+
componentName: "component"
|
|
7
5
|
});
|
|
8
6
|
const handler = createHandler("component");
|
|
9
7
|
export {
|
package/dist/commands/destroy.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
const command = "destroy <type>";
|
|
2
|
-
const aliases = ["d"];
|
|
3
|
-
const description = "Rollback changes made by the generate command";
|
|
4
1
|
import { terminalLink } from "termi-link";
|
|
5
2
|
import * as destroyCell from "./destroy/cell/cell.js";
|
|
6
3
|
import * as destroyComponent from "./destroy/component/component.js";
|
|
@@ -11,6 +8,9 @@ import * as destroyPage from "./destroy/page/page.js";
|
|
|
11
8
|
import * as destroyScaffold from "./destroy/scaffold/scaffold.js";
|
|
12
9
|
import * as destroySdl from "./destroy/sdl/sdl.js";
|
|
13
10
|
import * as destroyService from "./destroy/service/service.js";
|
|
11
|
+
const command = "destroy <type>";
|
|
12
|
+
const aliases = ["d"];
|
|
13
|
+
const description = "Rollback changes made by the generate command";
|
|
14
14
|
const builder = (yargs) => yargs.command(destroyCell).command(destroyComponent).command(destroyDirective).command(destroyFunction).command(destroyLayout).command(destroyPage).command(destroyScaffold).command(destroySdl).command(destroyService).demandCommand().epilogue(
|
|
15
15
|
`Also see the ${terminalLink(
|
|
16
16
|
"Redwood CLI Reference",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12495+18f7927df",
|
|
4
4
|
"description": "The Redwood Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime-corejs3": "7.27.6",
|
|
34
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
35
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
34
|
+
"@cedarjs/api-server": "1.0.0-canary.12495",
|
|
35
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.12495",
|
|
36
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12495",
|
|
37
|
+
"@cedarjs/internal": "1.0.0-canary.12495",
|
|
38
|
+
"@cedarjs/prerender": "1.0.0-canary.12495",
|
|
39
|
+
"@cedarjs/project-config": "1.0.0-canary.12495",
|
|
40
|
+
"@cedarjs/structure": "1.0.0-canary.12495",
|
|
41
|
+
"@cedarjs/telemetry": "1.0.0-canary.12495",
|
|
42
|
+
"@cedarjs/web-server": "1.0.0-canary.12495",
|
|
43
43
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
44
44
|
"@opentelemetry/api": "1.8.0",
|
|
45
45
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"typescript": "5.6.2",
|
|
99
99
|
"vitest": "3.2.4"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "18f7927df9f3dfb62cc3751c6c173653693f31db"
|
|
102
102
|
}
|