reflex-hosting-cli 0.2.1__tar.gz → 0.2.2a1__tar.gz

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.
Files changed (38) hide show
  1. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/.gitignore +3 -0
  2. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/CHANGELOG.md +7 -0
  3. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/PKG-INFO +1 -1
  4. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/hosting.py +4 -3
  5. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/README.md +0 -0
  6. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/news/.gitkeep +0 -0
  7. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/pyproject.toml +0 -0
  8. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/__init__.py +0 -0
  9. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/cli.py +0 -0
  10. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/constants/__init__.py +0 -0
  11. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/constants/base.py +0 -0
  12. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/constants/compiler.py +0 -0
  13. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/constants/hosting.py +0 -0
  14. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/constants/log_level.py +0 -0
  15. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/core/__init__.py +0 -0
  16. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/core/config.py +0 -0
  17. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/deployments.py +0 -0
  18. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/__init__.py +0 -0
  19. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/cli_options.py +0 -0
  20. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/console.py +0 -0
  21. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/dependency.py +0 -0
  22. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/deploy.py +0 -0
  23. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/exceptions.py +0 -0
  24. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/log.py +0 -0
  25. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/utils/output.py +0 -0
  26. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/__init__.py +0 -0
  27. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/apps.py +0 -0
  28. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/auth.py +0 -0
  29. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/cli.py +0 -0
  30. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/deploy.py +0 -0
  31. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/deployments.py +0 -0
  32. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/gcp.py +0 -0
  33. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/project.py +0 -0
  34. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/providers.py +0 -0
  35. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/scan.py +0 -0
  36. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/secrets.py +0 -0
  37. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/utils.py +0 -0
  38. {reflex_hosting_cli-0.2.1 → reflex_hosting_cli-0.2.2a1}/src/reflex_cli/v2/vmtypes_regions.py +0 -0
@@ -32,6 +32,8 @@ reflex.db
32
32
  .env.*
33
33
  node_modules
34
34
  package-lock.json
35
+ # ...except the javascript test harness, which CI installs with `npm ci`.
36
+ !tests/js/package-lock.json
35
37
  *.pyi
36
38
  .pre-commit-config.yaml
37
39
  .claude/.worktrees
@@ -40,3 +42,4 @@ CLAUDE.local.md
40
42
 
41
43
  # Backups written by scripts/delete_automated_releases.sh
42
44
  automated-releases-backup-*.json
45
+ tests/js/node_modules
@@ -1,3 +1,10 @@
1
+ ## v0.2.2a1 (2026-11-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ - `reflex cloud config` now exits with status 1 when PyYAML is not installed, and with `--json` writes no document, instead of exiting 0 and reporting `{"generated": false, "path": null}` as if a `cloud.yml` already existed. ([#7670](https://github.com/reflex-dev/reflex/issues/7670))
6
+
7
+
1
8
  ## v0.2.1 (2026-10-26)
2
9
 
3
10
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reflex-hosting-cli
3
- Version: 0.2.1
3
+ Version: 0.2.2a1
4
4
  Summary: Reflex Hosting CLI
5
5
  Author-email: Nikhil Rao <nikhil@reflex.dev>, Alek Petuskey <alek@reflex.dev>
6
6
  Maintainer-email: Simon Young <simon@reflex.dev>, Khaleel Al-Adhami <khaleel@reflex.dev>
@@ -1928,16 +1928,17 @@ def generate_config(interactive: bool = True, token: str | None = None) -> Path
1928
1928
  token: An existing authentication token to use instead of interactive auth.
1929
1929
 
1930
1930
  Returns:
1931
- The path of the config file written, or None if none was.
1931
+ The path of the config file written, or None if a cloud.yml already exists.
1932
1932
 
1933
1933
  Raises:
1934
- click.exceptions.Exit: If authentication fails or user cancels operation.
1934
+ Exit: If PyYAML is not installed, authentication fails or user cancels operation.
1935
1935
  """
1936
1936
  try:
1937
1937
  import yaml
1938
1938
  except ImportError:
1939
1939
  logger.error("Please install PyYAML to use this command: pip install pyyaml")
1940
- return None
1940
+ # A failure, not "nothing to write": None would read as success to a caller.
1941
+ raise click.exceptions.Exit(1) from None
1941
1942
 
1942
1943
  config_path = Path("cloud.yml")
1943
1944
  if config_path.exists():