kctl-react 0.10.2__tar.gz → 0.10.3__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.
- {kctl_react-0.10.2 → kctl_react-0.10.3}/PKG-INFO +2 -2
- {kctl_react-0.10.2 → kctl_react-0.10.3}/pyproject.toml +1 -1
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/__init__.py +1 -1
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/ui_audit/theming.py +12 -5
- {kctl_react-0.10.2 → kctl_react-0.10.3}/.gitignore +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/README.md +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/.gitignore +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/README.md +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/fixtures/auth.ts +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/package.json +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/playwright.config.ts +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/e2e/tests/smoke/connectivity.spec.ts +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/__main__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/_register.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/cli.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/a11y.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/affected.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/apps.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/build.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/bundle_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/_helpers.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/devices.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/environment.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/lifecycle.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/cap/signing.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/clean.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/codegen.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/compliance.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/config_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/dashboard.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/deploy.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/deps.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/dev.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/docker_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/doctor.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/doctor_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/e2e.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/env.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/i18n.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/lint.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/maintenance.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/monitor_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/observe.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/packages.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/perf.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/pipeline.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/pwa.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/scaffold.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/security.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/state.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/test_cmd.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/ui_audit/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/commands/ui_audit/antipatterns.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/analyzers.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/callbacks.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/endpoints.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/envelope.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/naming.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/params.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/requests.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/types.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/hooks.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/matcher.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/schema.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/auth.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/reachable.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/response.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/timing.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/client.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/sampler.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/api.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/codegen.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/darkmode.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/errors.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/features.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/i18n_check.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/imports.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/navigation.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/practices.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/providers.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/pwa.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/responsive.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/scripts.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/shadcn.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/structure.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/testing.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/theme.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/ui_standard.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/vite.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/engine.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/exceptions_map.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/__init__.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/codegen_fix.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/i18n_fix.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/imports_fix.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/structure_fix.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/theme_fix.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/models.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/config.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/discovery.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/exceptions.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/git.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/history.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/output.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/plugins.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/runner.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/py.typed +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/conftest.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_analyzers.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_api_check.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_api_health.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_cap.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_commands.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_compliance.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_config.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_doctor_ai_summary.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_exceptions.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_output.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_pipeline.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_runner.py +0 -0
- {kctl_react-0.10.2 → kctl_react-0.10.3}/tests/test_standard.py +0 -0
|
@@ -319,12 +319,19 @@ def preset(
|
|
|
319
319
|
actx: AppContext = ctx.obj
|
|
320
320
|
out = actx.output
|
|
321
321
|
|
|
322
|
-
# Validate target
|
|
323
|
-
if target != "base" and target not in _VALID_APPS:
|
|
324
|
-
out.error(f"Invalid target '{target}'. Use 'base' or an app name: {', '.join(sorted(_VALID_APPS))}")
|
|
325
|
-
raise typer.Exit(1)
|
|
326
|
-
|
|
327
322
|
tc_src = actx.project_root / "packages" / "tailwind-config" / "src"
|
|
323
|
+
|
|
324
|
+
# Validate target against the theme files that actually exist, not a
|
|
325
|
+
# hardcoded list. The literal set drifted: it still named sfa/lfa/wms/bia/mrp
|
|
326
|
+
# after those apps were retired, and never learned about erp, tms or
|
|
327
|
+
# terakidz — so `--target erp` was refused for an app whose theme file was
|
|
328
|
+
# sitting right there. _VALID_APPS remains as the fallback for the case
|
|
329
|
+
# where the themes directory cannot be read.
|
|
330
|
+
themes_dir = tc_src / "themes"
|
|
331
|
+
available = {p.stem for p in themes_dir.glob("*.css")} if themes_dir.is_dir() else set(_VALID_APPS)
|
|
332
|
+
if target != "base" and target not in available:
|
|
333
|
+
out.error(f"Invalid target '{target}'. Use 'base' or an app name: {', '.join(sorted(available))}")
|
|
334
|
+
raise typer.Exit(1)
|
|
328
335
|
globals_path = tc_src / "globals.css"
|
|
329
336
|
target_path = tc_src / "base-neutral.css" if target == "base" else tc_src / "themes" / f"{target}.css"
|
|
330
337
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/__init__.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/__init__.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/endpoints.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/envelope.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/naming.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/params.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/requests.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_check/checks/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/__init__.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/__init__.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/auth.py
RENAMED
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/response.py
RENAMED
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/checks/timing.py
RENAMED
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/api_health/sampler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/checks/ui_standard.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kctl_react-0.10.2 → kctl_react-0.10.3}/src/kctl_react/core/compliance/fixes/structure_fix.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|