@hexclave/cli 1.0.80 → 1.0.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/cli",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "description": "The CLI for Hexclave. https://hexclave.com",
6
6
  "main": "dist/index.js",
@@ -27,9 +27,9 @@
27
27
  "extract-zip": "^2.0.1",
28
28
  "jiti": "^2.4.2",
29
29
  "tar": "^7.4.3",
30
- "@hexclave/shared-backend": "1.0.80",
31
- "@hexclave/shared": "1.0.80",
32
- "@hexclave/js": "1.0.80"
30
+ "@hexclave/shared": "1.0.81",
31
+ "@hexclave/js": "1.0.81",
32
+ "@hexclave/shared-backend": "1.0.81"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/cross-spawn": "^6.0.6",
@@ -242,7 +242,7 @@ export function registerConfigCommand(program: Command) {
242
242
  config
243
243
  .command("pull")
244
244
  .description("Pull branch config to a local file")
245
- .option("--cloud-project-id <id>", "Cloud project ID to pull config from (defaults to the STACK_PROJECT_ID env var)")
245
+ .option("--cloud-project-id <id>", "Cloud project ID to pull config from (defaults to the HEXCLAVE_PROJECT_ID env var; STACK_PROJECT_ID is also supported)")
246
246
  .option("--config-file <path>", "Path to write config file (.ts); defaults to ./hexclave.config.ts in the current directory")
247
247
  .option("--overwrite", "Replace the config file if one already exists at the target path")
248
248
  .action(async (opts) => {
@@ -273,7 +273,7 @@ export function registerConfigCommand(program: Command) {
273
273
  config
274
274
  .command("push")
275
275
  .description("Push a local config file to branch config")
276
- .option("--cloud-project-id <id>", "Cloud project ID to push config to (defaults to the STACK_PROJECT_ID env var)")
276
+ .option("--cloud-project-id <id>", "Cloud project ID to push config to (defaults to the HEXCLAVE_PROJECT_ID env var; STACK_PROJECT_ID is also supported)")
277
277
  .requiredOption("--config-file <path>", "Path to config file (.js or .ts)")
278
278
  .option("--source <type>", "Explicit source type for this push. Only 'github' is supported.")
279
279
  .option("--source-repo <owner/repo>", "GitHub repository in 'owner/repo' format. Only allowed with --source github.")
@@ -888,7 +888,7 @@ export function registerDevCommand(program: Command) {
888
888
  .command("dev")
889
889
  .usage("--config-file <path> -- <command> [args...]")
890
890
  .description("Run a command with Hexclave development-environment credentials")
891
- .requiredOption("--config-file <path>", "Path to stack.config.ts")
891
+ .requiredOption("--config-file <path>", "Path to hexclave.config.ts")
892
892
  .argument("<command...>", "Command and arguments to run after --")
893
893
  .action(async (commandArgs: string[], opts: DevOptions) => {
894
894
  if (opts.configFile == null) {
@@ -49,9 +49,9 @@ export function parseExecTarget(opts: ExecTargetOpts): ExecTarget {
49
49
  export function registerExecCommand(program: Command) {
50
50
  program
51
51
  .command("exec [javascript]")
52
- .description("Execute JavaScript with a pre-configured StackServerApp as `hexclaveServerApp`. Pass --cloud-project-id <id> for the cloud API, or --config-file <path> for the development environment.")
52
+ .description("Execute JavaScript with a pre-configured Hexclave server app as `hexclaveServerApp`. Pass --cloud-project-id <id> for the cloud API, or --config-file <path> for the development environment.")
53
53
  .option("--cloud-project-id <id>", "Cloud project ID to run against (use --config-file instead for the development environment)")
54
- .option("--config-file <path>", "Path to a development-environment stack.config.ts (use --cloud-project-id instead for the cloud API)")
54
+ .option("--config-file <path>", "Path to a development-environment hexclave.config.ts (use --cloud-project-id instead for the cloud API)")
55
55
  .addHelpText("after", "\nFor available API methods, see: https://docs.hexclave.com/sdk/overview")
56
56
  .action(async (javascript: string | undefined, opts: ExecTargetOpts) => {
57
57
  if (javascript === undefined) {