@cedarjs/cli 1.0.0-canary.12318 → 1.0.0-canary.12320
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/README.md +1 -1
- package/dist/commands/build.js +1 -1
- package/dist/commands/buildHandler.js +1 -1
- package/dist/commands/deploy/baremetal.js +1 -1
- package/dist/commands/deploy/flightcontrol.js +1 -1
- package/dist/commands/deploy/helpers/deployBuilder.js +1 -1
- package/dist/commands/deploy/render.js +1 -1
- package/dist/commands/deploy/serverless.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/destroy.js +1 -1
- package/dist/commands/dev.js +1 -1
- package/dist/commands/exec.js +1 -1
- package/dist/commands/experimental/util.js +1 -1
- package/dist/commands/experimental.js +1 -1
- package/dist/commands/generate/dataMigration/dataMigration.js +1 -1
- package/dist/commands/generate/dbAuth/dbAuth.js +1 -1
- package/dist/commands/generate/function/function.js +1 -1
- package/dist/commands/generate/function/functionHandler.js +1 -1
- package/dist/commands/generate/job/job.js +1 -1
- package/dist/commands/generate/model/model.js +1 -1
- package/dist/commands/generate/ogImage/ogImage.js +1 -1
- package/dist/commands/generate/scaffold/scaffold.js +1 -1
- package/dist/commands/generate/script/script.js +1 -1
- package/dist/commands/generate/sdl/sdl.js +1 -1
- package/dist/commands/generate/secret/secret.js +1 -1
- package/dist/commands/generate/service/service.js +1 -1
- package/dist/commands/generate/yargsCommandHelpers.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/info.js +1 -1
- package/dist/commands/lint.js +1 -1
- package/dist/commands/record.js +1 -1
- package/dist/commands/serve.js +1 -1
- package/dist/commands/setup/auth/auth.js +1 -1
- package/dist/commands/setup/cache/cache.js +1 -1
- package/dist/commands/setup/deploy/deploy.js +1 -1
- package/dist/commands/setup/generator/generator.js +1 -1
- package/dist/commands/setup/graphql/graphql.js +1 -1
- package/dist/commands/setup/jobs/jobs.js +1 -1
- package/dist/commands/setup/middleware/middleware.js +1 -1
- package/dist/commands/setup/monitoring/monitoring.js +1 -1
- package/dist/commands/setup/package/package.js +1 -1
- package/dist/commands/setup/ui/libraries/tailwindcssHandler.js +1 -1
- package/dist/commands/setup/ui/ui.js +1 -1
- package/dist/commands/setup.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/type-check.js +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/lib/exit.js +1 -1
- package/dist/rwfw.js +2 -2
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -301,7 +301,7 @@ Files for entry-point commands typically aren't too complicated. Here's the cont
|
|
|
301
301
|
export const command = 'generate <type>'
|
|
302
302
|
export const aliases = ['g']
|
|
303
303
|
export const description = 'Save time by generating boilerplate code'
|
|
304
|
-
import terminalLink from '
|
|
304
|
+
import { terminalLink } from 'termi-link'
|
|
305
305
|
|
|
306
306
|
export const builder = (yargs) =>
|
|
307
307
|
yargs
|
package/dist/commands/build.js
CHANGED
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import execa from "execa";
|
|
4
4
|
import fs from "fs-extra";
|
|
5
5
|
import { Listr } from "listr2";
|
|
6
|
-
import terminalLink from "
|
|
6
|
+
import { terminalLink } from "termi-link";
|
|
7
7
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
8
8
|
import { buildApi, cleanApiBuild } from "@cedarjs/internal/dist/build/api";
|
|
9
9
|
import { generate } from "@cedarjs/internal/dist/generate/generate";
|
package/dist/commands/deploy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const command = "deploy <target>";
|
|
2
2
|
const description = "Deploy your Redwood project";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import * as deployBaremetal from "./deploy/baremetal.js";
|
|
5
5
|
import * as deployFlightcontrol from "./deploy/flightcontrol.js";
|
|
6
6
|
import * as deployNetlify from "./deploy/netlify.js";
|
package/dist/commands/destroy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const command = "destroy <type>";
|
|
2
2
|
const aliases = ["d"];
|
|
3
3
|
const description = "Rollback changes made by the generate command";
|
|
4
|
-
import terminalLink from "
|
|
4
|
+
import { terminalLink } from "termi-link";
|
|
5
5
|
import * as destroyCell from "./destroy/cell/cell.js";
|
|
6
6
|
import * as destroyComponent from "./destroy/component/component.js";
|
|
7
7
|
import * as destroyDirective from "./destroy/directive/directive.js";
|
package/dist/commands/dev.js
CHANGED
package/dist/commands/exec.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import chalk from "chalk";
|
|
3
3
|
import fs from "fs-extra";
|
|
4
|
-
import terminalLink from "
|
|
4
|
+
import { terminalLink } from "termi-link";
|
|
5
5
|
import { getPaths } from "../../lib/index.js";
|
|
6
6
|
import { isTypeScriptProject, serverFileExists } from "../../lib/project.js";
|
|
7
7
|
const link = (topicId, isTerminal = false) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import detectRxVersion from "../middleware/detectProjectRxVersion.js";
|
|
3
3
|
import * as experimentalInngest from "./experimental/setupInngest.js";
|
|
4
4
|
import * as experimentalOpenTelemetry from "./experimental/setupOpentelemetry.js";
|
|
@@ -2,7 +2,7 @@ import path from "path";
|
|
|
2
2
|
import { paramCase } from "change-case";
|
|
3
3
|
import fs from "fs-extra";
|
|
4
4
|
import { Listr } from "listr2";
|
|
5
|
-
import terminalLink from "
|
|
5
|
+
import { terminalLink } from "termi-link";
|
|
6
6
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
7
7
|
import c from "../../../lib/colors.js";
|
|
8
8
|
import { getPaths, writeFilesTask } from "../../../lib/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import { getYargsDefaults, createHandler } from "../yargsCommandHelpers.js";
|
|
3
3
|
const command = "dbAuth";
|
|
4
4
|
const description = "Generate Login, Signup and Forgot Password pages for dbAuth";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import camelcase from "camelcase";
|
|
3
3
|
import { Listr } from "listr2";
|
|
4
|
-
import terminalLink from "
|
|
4
|
+
import { terminalLink } from "termi-link";
|
|
5
5
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
6
6
|
import { errorTelemetry } from "@cedarjs/telemetry";
|
|
7
7
|
import c from "../../../lib/colors.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import { createHandler, getYargsDefaults } from "../yargsCommandHelpers.js";
|
|
3
3
|
const command = "scaffold <model>";
|
|
4
4
|
const description = "Generate Pages, SDL, and Services files based on a given DB schema Model. Also accepts <path/model>";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import crypto from "node:crypto";
|
|
2
|
-
import terminalLink from "
|
|
2
|
+
import { terminalLink } from "termi-link";
|
|
3
3
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
4
4
|
const DEFAULT_LENGTH = 32;
|
|
5
5
|
const generateSecret = (length = DEFAULT_LENGTH) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import execa from "execa";
|
|
2
|
-
import terminalLink from "
|
|
2
|
+
import { terminalLink } from "termi-link";
|
|
3
3
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
4
4
|
import * as generateCell from "./generate/cell/cell.js";
|
|
5
5
|
import * as generateComponent from "./generate/component/component.js";
|
package/dist/commands/info.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import envinfo from "envinfo";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
5
5
|
import { getPaths } from "@cedarjs/project-config";
|
|
6
6
|
const command = "info";
|
package/dist/commands/lint.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import execa from "execa";
|
|
2
2
|
import fs from "fs-extra";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
5
5
|
import { getPaths } from "../lib/index.js";
|
|
6
6
|
const command = "lint [path..]";
|
package/dist/commands/record.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const command = "record <command>";
|
|
2
2
|
const description = "Setup RedwoodRecord for your project. Caches a JSON version of your data model and adds api/src/models/index.js with some config.";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
const builder = (yargs) => yargs.command({ command, description, handler }).demandCommand().epilogue(
|
|
5
5
|
`Also see the ${terminalLink(
|
|
6
6
|
"RedwoodRecord Docs",
|
package/dist/commands/serve.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs-extra";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import * as apiServerCLIConfig from "@cedarjs/api-server/dist/apiCLIConfig.js";
|
|
5
5
|
import * as bothServerCLIConfig from "@cedarjs/api-server/dist/bothCLIConfig.js";
|
|
6
6
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const command = "deploy <target>";
|
|
2
2
|
const description = "Setup deployment to various targets";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import * as setupDeployBaremetal from "./providers/baremetal.js";
|
|
5
5
|
import * as setupDeployCoherence from "./providers/coherence.js";
|
|
6
6
|
import * as setupDeployFlightcontrol from "./providers/flightcontrol.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs-extra";
|
|
3
|
-
import terminalLink from "
|
|
3
|
+
import { terminalLink } from "termi-link";
|
|
4
4
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
5
5
|
const command = "generator <name>";
|
|
6
6
|
const description = "Copies generator templates locally for customization";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import * as fragmentsCommand from "./features/fragments/fragments.js";
|
|
3
3
|
import * as trustedDocumentsCommand from "./features/trustedDocuments/trustedDocuments.js";
|
|
4
4
|
const command = "graphql <feature>";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
3
3
|
const command = "package <npm-package>";
|
|
4
4
|
const description = "Run a bin from an NPM package with version compatibility checks";
|
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import { ListrEnquirerPromptAdapter } from "@listr2/prompt-adapter-enquirer";
|
|
4
4
|
import execa from "execa";
|
|
5
5
|
import { Listr } from "listr2";
|
|
6
|
-
import terminalLink from "
|
|
6
|
+
import { terminalLink } from "termi-link";
|
|
7
7
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
8
8
|
import { errorTelemetry } from "@cedarjs/telemetry";
|
|
9
9
|
import c from "../../../../lib/colors.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import terminalLink from "
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
2
|
import * as libraryChakraUi from "./libraries/chakra-ui.js";
|
|
3
3
|
import * as libraryMantine from "./libraries/mantine.js";
|
|
4
4
|
import * as libraryTailwindCss from "./libraries/tailwindcss.js";
|
package/dist/commands/setup.js
CHANGED
package/dist/commands/test.js
CHANGED
package/dist/commands/upgrade.js
CHANGED
|
@@ -4,7 +4,7 @@ import execa from "execa";
|
|
|
4
4
|
import fs from "fs-extra";
|
|
5
5
|
import latestVersion from "latest-version";
|
|
6
6
|
import { Listr } from "listr2";
|
|
7
|
-
import terminalLink from "
|
|
7
|
+
import { terminalLink } from "termi-link";
|
|
8
8
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
9
9
|
import { getConfig } from "@cedarjs/project-config";
|
|
10
10
|
import c from "../lib/colors.js";
|
package/dist/lib/exit.js
CHANGED
package/dist/rwfw.js
CHANGED
|
@@ -3,7 +3,7 @@ import path from "path";
|
|
|
3
3
|
import Configstore from "configstore";
|
|
4
4
|
import execa from "execa";
|
|
5
5
|
import fs from "fs-extra";
|
|
6
|
-
import
|
|
6
|
+
import { terminalLink } from "termi-link";
|
|
7
7
|
import { getConfigPath } from "@cedarjs/project-config";
|
|
8
8
|
const config = new Configstore("@cedarjs/cli");
|
|
9
9
|
const RWFW_PATH = process.env.RWFW_PATH || process.env.RW_PATH || config.get("RWFW_PATH");
|
|
@@ -26,7 +26,7 @@ const projectPath = path.dirname(
|
|
|
26
26
|
);
|
|
27
27
|
console.log(
|
|
28
28
|
"Redwood Framework Tools Path:",
|
|
29
|
-
|
|
29
|
+
terminalLink(absRwFwPath, absRwFwPath)
|
|
30
30
|
);
|
|
31
31
|
let command = process.argv.slice(2);
|
|
32
32
|
const helpCommands = ["help", "--help"];
|
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.12320+f0f7f052a",
|
|
4
4
|
"description": "The Redwood Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime-corejs3": "7.27.6",
|
|
32
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
33
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
34
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
35
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
32
|
+
"@cedarjs/api-server": "1.0.0-canary.12320",
|
|
33
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.12320",
|
|
34
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12320",
|
|
35
|
+
"@cedarjs/internal": "1.0.0-canary.12320",
|
|
36
|
+
"@cedarjs/prerender": "1.0.0-canary.12320",
|
|
37
|
+
"@cedarjs/project-config": "1.0.0-canary.12320",
|
|
38
|
+
"@cedarjs/structure": "1.0.0-canary.12320",
|
|
39
|
+
"@cedarjs/telemetry": "1.0.0-canary.12320",
|
|
40
|
+
"@cedarjs/web-server": "1.0.0-canary.12320",
|
|
41
41
|
"@listr2/prompt-adapter-enquirer": "2.0.12",
|
|
42
42
|
"@opentelemetry/api": "1.8.0",
|
|
43
43
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"smol-toml": "1.3.4",
|
|
80
80
|
"string-env-interpolation": "1.0.1",
|
|
81
81
|
"systeminformation": "5.23.8",
|
|
82
|
-
"
|
|
82
|
+
"termi-link": "1.1.0",
|
|
83
83
|
"title-case": "3.0.3",
|
|
84
84
|
"unionfs": "4.5.4",
|
|
85
85
|
"uuid": "10.0.0",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"typescript": "5.6.2",
|
|
96
96
|
"vitest": "2.1.9"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "f0f7f052ae77308a44c74b46cac8be9ef9f28e90"
|
|
99
99
|
}
|