@etus/bhono-app 0.1.1
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/cli.d.ts +13 -0
- package/dist/cli.js +46 -0
- package/dist/cli.js.map +1 -0
- package/dist/cli.test.d.ts +1 -0
- package/dist/cli.test.js +26 -0
- package/dist/cli.test.js.map +1 -0
- package/dist/generator.d.ts +14 -0
- package/dist/generator.js +142 -0
- package/dist/generator.js.map +1 -0
- package/dist/generator.test.d.ts +1 -0
- package/dist/generator.test.js +127 -0
- package/dist/generator.test.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +97 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts.d.ts +25 -0
- package/dist/prompts.js +83 -0
- package/dist/prompts.js.map +1 -0
- package/dist/prompts.test.d.ts +1 -0
- package/dist/prompts.test.js +24 -0
- package/dist/prompts.test.js.map +1 -0
- package/dist/providers/cloudflare.d.ts +37 -0
- package/dist/providers/cloudflare.js +61 -0
- package/dist/providers/cloudflare.js.map +1 -0
- package/dist/providers/cloudflare.test.d.ts +1 -0
- package/dist/providers/cloudflare.test.js +29 -0
- package/dist/providers/cloudflare.test.js.map +1 -0
- package/dist/providers/github.d.ts +16 -0
- package/dist/providers/github.js +57 -0
- package/dist/providers/github.js.map +1 -0
- package/dist/providers/github.test.d.ts +1 -0
- package/dist/providers/github.test.js +16 -0
- package/dist/providers/github.test.js.map +1 -0
- package/dist/templates.d.ts +8 -0
- package/dist/templates.js +88 -0
- package/dist/templates.js.map +1 -0
- package/dist/templates.test.d.ts +1 -0
- package/dist/templates.test.js +26 -0
- package/dist/templates.test.js.map +1 -0
- package/package.json +36 -0
- package/templates/base/.claude/agents/architect-review.md +160 -0
- package/templates/base/.claude/agents/backend-architect.md +308 -0
- package/templates/base/.claude/agents/code-reviewer.md +170 -0
- package/templates/base/.claude/agents/performance-engineer.md +166 -0
- package/templates/base/.claude/agents/test-automator.md +219 -0
- package/templates/base/.claude/commands/check-skill-rules.md +53 -0
- package/templates/base/.claude/commands/claude-md.md +250 -0
- package/templates/base/.claude/commands/code-prompt.md +212 -0
- package/templates/base/.claude/commands/explain-code.md +194 -0
- package/templates/base/.claude/commands/init-projec.md +89 -0
- package/templates/base/.claude/commands/linear/README.md +297 -0
- package/templates/base/.claude/commands/linear/create-issue.md +190 -0
- package/templates/base/.claude/commands/linear/implement-issue.md +248 -0
- package/templates/base/.claude/commands/linear/process-triage.md +399 -0
- package/templates/base/.claude/commands/linear/setup.md +180 -0
- package/templates/base/.claude/commands/prime.md +9 -0
- package/templates/base/.claude/commands/review-gap.md +10 -0
- package/templates/base/.claude/commands/setup-aa.md +311 -0
- package/templates/base/.claude/commands/ship.md +262 -0
- package/templates/base/.claude/commands/tools.md +3 -0
- package/templates/base/.claude/docs/claude-progress.txt +107 -0
- package/templates/base/.claude/hooks/package-lock.json +556 -0
- package/templates/base/.claude/hooks/package.json +16 -0
- package/templates/base/.claude/hooks/skill-activation-prompt.sh +7 -0
- package/templates/base/.claude/hooks/skill-activation-prompt.ts +142 -0
- package/templates/base/.claude/hooks/tsconfig.json +19 -0
- package/templates/base/.claude/scripts/check-updates.sh +85 -0
- package/templates/base/.claude/scripts/install_pkgs.sh +66 -0
- package/templates/base/.claude/scripts/setup-project.sh +177 -0
- package/templates/base/.claude/scripts/validate-skill-rules.sh +94 -0
- package/templates/base/.claude/settings.json +113 -0
- package/templates/base/.claude/settings.local.json +11 -0
- package/templates/base/.claude/skills/architecture-analyzer/SKILL.md +531 -0
- package/templates/base/.claude/skills/architecture-analyzer/assets/report-template.md +215 -0
- package/templates/base/.claude/skills/architecture-analyzer/references/c4-templates.md +234 -0
- package/templates/base/.claude/skills/architecture-analyzer/references/confidence-levels.md +203 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/analyze_structure.py +266 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/analyze_tech_debt.py +776 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/extract_apis.py +338 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/generate_c4.py +283 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/generate_erd.py +935 -0
- package/templates/base/.claude/skills/architecture-analyzer/scripts/map_dependencies.py +555 -0
- package/templates/base/.claude/skills/dev-browser/SKILL.md +318 -0
- package/templates/base/.claude/skills/dev-browser/bun.lock +443 -0
- package/templates/base/.claude/skills/dev-browser/package-lock.json +2927 -0
- package/templates/base/.claude/skills/dev-browser/package.json +27 -0
- package/templates/base/.claude/skills/dev-browser/scripts/start-server.ts +117 -0
- package/templates/base/.claude/skills/dev-browser/server.sh +24 -0
- package/templates/base/.claude/skills/dev-browser/src/client.ts +403 -0
- package/templates/base/.claude/skills/dev-browser/src/index.ts +281 -0
- package/templates/base/.claude/skills/dev-browser/src/snapshot/__tests__/snapshot.test.ts +223 -0
- package/templates/base/.claude/skills/dev-browser/src/snapshot/browser-script.ts +877 -0
- package/templates/base/.claude/skills/dev-browser/src/snapshot/index.ts +14 -0
- package/templates/base/.claude/skills/dev-browser/src/snapshot/inject.ts +13 -0
- package/templates/base/.claude/skills/dev-browser/src/types.ts +27 -0
- package/templates/base/.claude/skills/dev-browser/tsconfig.json +36 -0
- package/templates/base/.claude/skills/dev-browser/vitest.config.ts +12 -0
- package/templates/base/.claude/skills/linear/SKILL.md +440 -0
- package/templates/base/.claude/skills/linear/examples.md +262 -0
- package/templates/base/.claude/skills/linear/lib/client.ts +51 -0
- package/templates/base/.claude/skills/linear/lib/config.ts +106 -0
- package/templates/base/.claude/skills/linear/lib/output.ts +34 -0
- package/templates/base/.claude/skills/linear/package-lock.json +698 -0
- package/templates/base/.claude/skills/linear/package.json +27 -0
- package/templates/base/.claude/skills/linear/reference.md +263 -0
- package/templates/base/.claude/skills/linear/scripts/comments/create.ts +47 -0
- package/templates/base/.claude/skills/linear/scripts/comments/list.ts +47 -0
- package/templates/base/.claude/skills/linear/scripts/issues/archive.ts +30 -0
- package/templates/base/.claude/skills/linear/scripts/issues/create.ts +279 -0
- package/templates/base/.claude/skills/linear/scripts/issues/get.ts +68 -0
- package/templates/base/.claude/skills/linear/scripts/issues/list.ts +67 -0
- package/templates/base/.claude/skills/linear/scripts/issues/update.ts +281 -0
- package/templates/base/.claude/skills/linear/scripts/labels/add-to-issue.ts +63 -0
- package/templates/base/.claude/skills/linear/scripts/labels/create.ts +45 -0
- package/templates/base/.claude/skills/linear/scripts/labels/list.ts +30 -0
- package/templates/base/.claude/skills/linear/scripts/list-teams.ts +52 -0
- package/templates/base/.claude/skills/linear/scripts/setup/setup-credentials.ts +96 -0
- package/templates/base/.claude/skills/linear/scripts/status/list.ts +31 -0
- package/templates/base/.claude/skills/linear/scripts/status/set-by-name.ts +78 -0
- package/templates/base/.claude/skills/linear/scripts/status/update.ts +44 -0
- package/templates/base/.claude/skills/linear/scripts/users/list.ts +59 -0
- package/templates/base/.claude/skills/linear/scripts/users/me.ts +20 -0
- package/templates/base/.claude/skills/linear/templates/README.md +203 -0
- package/templates/base/.claude/skills/linear/templates/api-reference.md +258 -0
- package/templates/base/.claude/skills/linear/templates/bug-report.md +99 -0
- package/templates/base/.claude/skills/linear/templates/feature-request.md +118 -0
- package/templates/base/.claude/skills/linear/templates/security-issue.md +162 -0
- package/templates/base/.claude/skills/linear/templates/sprint-task.md +175 -0
- package/templates/base/.claude/skills/linear/templates/tech-debt.md +137 -0
- package/templates/base/.claude/skills/linear/tsconfig.json +17 -0
- package/templates/base/.claude/skills/linear/workflows/issue-lifecycle.md +317 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/SKILL.md +113 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/assets/global-setup.template.js +97 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/assets/playwright.config.template.js +171 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/assets/test-template.spec.js +163 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/examples/README.md +26 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/examples/ads.email-deeplink.spec.ts +12 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/examples/mobile.realism.spec.ts +16 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/examples/smoke.home.spec.ts +6 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/architecture.md +578 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/best-practices.md +260 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/ci-reporting.md +86 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/debugging.md +629 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/mobile-realism.md +50 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/optimization.md +488 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/patterns.md +513 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/resources.md +44 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/references/visual-a11y.md +66 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/scripts/auth-setup.js +202 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/scripts/performance-analyzer.js +240 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/scripts/trace-url.js +132 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/ci/github-actions.playwright.yml +78 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/fixtures.ts +44 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/global-setup.template.js +97 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/global.setup.ts +35 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/helpers/ad-gpt-observer.ts +80 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/helpers/chromium-mobile-profile.ts +93 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/playwright.config.template.js +171 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/playwright.config.ts +126 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/test-template.spec.js +163 -0
- package/templates/base/.claude/skills/playwright-e2e-testing/templates/tests/email-deeplink.ads.spec.ts +44 -0
- package/templates/base/.claude/skills/skill-rules.json +184 -0
- package/templates/base/.claude/skills/wrangler/SKILL.md +209 -0
- package/templates/base/.claude/skills/wrangler/resources/api.md +494 -0
- package/templates/base/.claude/skills/wrangler/resources/bundling.md +83 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/cert.md +64 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/check.md +66 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/containers.md +157 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/d1.md +843 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/delete.md +27 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/deploy.md +139 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/deployments.md +56 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/dev.md +157 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/dispatch-namespace.md +69 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/docs.md +61 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/how-to-run.md +62 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/hyperdrive.md +425 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/init.md +31 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/kv-bulk.md +265 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/kv-key.md +353 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/kv-namespace.md +265 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/login.md +23 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/logout.md +19 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/mtls-certificate.md +69 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/pages.md +175 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/pipelines.md +76 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/queues.md +132 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/r2-bucket.md +342 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/r2-object.md +267 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/r2-sql.md +65 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/rollback.md +40 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/secret.md +308 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/secrets-store-secret.md +100 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/secrets-store-store.md +60 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/setup.md +67 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/tail.md +37 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/telemetry.md +64 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/triggers.md +39 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/types.md +73 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/vectorize.md +941 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/versions.md +95 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/whoami.md +49 -0
- package/templates/base/.claude/skills/wrangler/resources/commands/workflows.md +117 -0
- package/templates/base/.claude/skills/wrangler/resources/commands.md +138 -0
- package/templates/base/.claude/skills/wrangler/resources/configuration.md +2176 -0
- package/templates/base/.claude/skills/wrangler/resources/custom-builds.md +55 -0
- package/templates/base/.claude/skills/wrangler/resources/deprecations.md +279 -0
- package/templates/base/.claude/skills/wrangler/resources/enviroments.md +416 -0
- package/templates/base/.claude/skills/wrangler/resources/extract_sections.py +119 -0
- package/templates/base/.claude/skills/wrangler/resources/process_content.py +94 -0
- package/templates/base/.claude/skills/wrangler/resources/system-enviroments-variables.md +120 -0
- package/templates/base/.dev.vars.example +15 -0
- package/templates/base/.env.example +29 -0
- package/templates/base/.github/workflows/test.yml +127 -0
- package/templates/base/.nycrc.json +16 -0
- package/templates/base/CLAUDE.md +218 -0
- package/templates/base/README.md +670 -0
- package/templates/base/auth-setup-error.png +0 -0
- package/templates/base/config/drizzle.config.ts +10 -0
- package/templates/base/config/eslint.config.js +364 -0
- package/templates/base/config/wrangler.json +76 -0
- package/templates/base/docs/app_spec.txt +879 -0
- package/templates/base/docs/app_spec_template.md +681 -0
- package/templates/base/docs/architecture/README.md +8 -0
- package/templates/base/docs/architecture/data-requirements.md +109 -0
- package/templates/base/docs/architecture/erd.md +91 -0
- package/templates/base/docs/features/feature_list.json +3128 -0
- package/templates/base/docs/hono-boilerplate-plan.md +1774 -0
- package/templates/base/docs/test-coverage-gap-analysis.md +242 -0
- package/templates/base/docs/testing.md +188 -0
- package/templates/base/index.html +16 -0
- package/templates/base/package.json +115 -0
- package/templates/base/playwright.config.ts +158 -0
- package/templates/base/pnpm-lock.yaml +8175 -0
- package/templates/base/scripts/capture-prod-session.ts +250 -0
- package/templates/base/scripts/generate-openapi.ts +23 -0
- package/templates/base/scripts/init.sh +121 -0
- package/templates/base/src/client/__tests__/button.test.tsx +30 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-display-dashboard-stats-cards-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-display-quick-action-cards-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-display-recent-activity-section-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-display-user-first-name-in-welcome-message-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-display-user-information-in-sidebar-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-render-dashboard-when-authenticated-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-authenticated-should-show-navigation-sidebar-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/dashboard.test.tsx/Dashboard-Page-when-unauthenticated-should-redirect-to-login-when-not-authenticated-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-display-Google-OAuth-login-button-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-have-a-link-back-to-home-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-render-login-content-without-waiting-for-authentication-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-render-login-page-at--login-route-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-show-Terms-of-Service-and-Privacy-Policy-links-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/login.test.tsx/Login-Page-should-trigger-OAuth-flow-when-clicking-login-button-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-404-handling-should-display-404-text-on-not-found-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-404-handling-should-have-navigation-options-on-404-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-404-handling-should-render-404-page-for-unknown-routes-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-authenticated-navigation-should-navigate-from-dashboard-to-account-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-authenticated-navigation-should-navigate-from-dashboard-to-integrations-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-authenticated-navigation-should-navigate-from-dashboard-to-settings-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-authenticated-navigation-should-navigate-from-dashboard-to-team-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-home-page-navigation-should-display-navigation-links-on-home-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-home-page-navigation-should-have-correct-link-destinations-on-home-page-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-unauthenticated-navigation-should-allow-access-to-home-page-without-authentication-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-unauthenticated-navigation-should-allow-access-to-login-page-without-authentication-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-unauthenticated-navigation-should-redirect-unauthenticated-users-from-dashboard-to-login-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-unauthenticated-navigation-should-redirect-unauthenticated-users-from-settings-to-login-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/__screenshots__/navigation.test.tsx/Navigation-unauthenticated-navigation-should-redirect-unauthenticated-users-from-team-to-login-1.png +0 -0
- package/templates/base/src/client/__tests__/routes/authenticated-layout.test.tsx +252 -0
- package/templates/base/src/client/__tests__/routes/dashboard.test.tsx +136 -0
- package/templates/base/src/client/__tests__/routes/error-components.test.tsx +186 -0
- package/templates/base/src/client/__tests__/routes/login.test.tsx +112 -0
- package/templates/base/src/client/__tests__/routes/navigation.test.tsx +272 -0
- package/templates/base/src/client/__tests__/routes/root-layout.test.tsx +65 -0
- package/templates/base/src/client/__tests__/setup-browser.ts +15 -0
- package/templates/base/src/client/__tests__/setup.ts +32 -0
- package/templates/base/src/client/__tests__/test-utils.tsx +135 -0
- package/templates/base/src/client/api/.gitkeep +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-can-be-collapsed-by-default-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-expands-when-collapsed-and-expand-button-is-clicked-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-handles-logout-button-click-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-handles-navigation-clicks-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-hides-navigation-labels-when-collapsed-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-highlights-active-route-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-renders-sidebar-navigation-items-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-shows-keyboard-shortcut-hint-when-expanded-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-shows-user-info-when-authenticated-1.png +0 -0
- package/templates/base/src/client/components/__tests__/__screenshots__/sidebar.test.tsx/Sidebar-shows-user-initials-in-avatar-fallback-1.png +0 -0
- package/templates/base/src/client/components/__tests__/error-boundary.test.tsx +97 -0
- package/templates/base/src/client/components/__tests__/sidebar.test.tsx +281 -0
- package/templates/base/src/client/components/error-boundary.tsx +68 -0
- package/templates/base/src/client/components/icons.tsx +106 -0
- package/templates/base/src/client/components/layout/.gitkeep +0 -0
- package/templates/base/src/client/components/sidebar.tsx +267 -0
- package/templates/base/src/client/components/ui/.gitkeep +0 -0
- package/templates/base/src/client/components/ui/__tests__/avatar.test.tsx +308 -0
- package/templates/base/src/client/components/ui/__tests__/card.test.tsx +214 -0
- package/templates/base/src/client/components/ui/__tests__/dialog.test.tsx +297 -0
- package/templates/base/src/client/components/ui/__tests__/error-fallback.test.tsx +145 -0
- package/templates/base/src/client/components/ui/__tests__/input.test.tsx +98 -0
- package/templates/base/src/client/components/ui/__tests__/loading-skeleton.test.tsx +139 -0
- package/templates/base/src/client/components/ui/__tests__/skeleton.test.tsx +44 -0
- package/templates/base/src/client/components/ui/__tests__/sonner.test.tsx +28 -0
- package/templates/base/src/client/components/ui/__tests__/tabs.test.tsx +233 -0
- package/templates/base/src/client/components/ui/avatar.tsx +101 -0
- package/templates/base/src/client/components/ui/badge.tsx +46 -0
- package/templates/base/src/client/components/ui/button.tsx +72 -0
- package/templates/base/src/client/components/ui/card.tsx +86 -0
- package/templates/base/src/client/components/ui/dialog.tsx +140 -0
- package/templates/base/src/client/components/ui/error-fallback.tsx +179 -0
- package/templates/base/src/client/components/ui/form.tsx +172 -0
- package/templates/base/src/client/components/ui/input.tsx +24 -0
- package/templates/base/src/client/components/ui/label.tsx +22 -0
- package/templates/base/src/client/components/ui/loading-skeleton.tsx +154 -0
- package/templates/base/src/client/components/ui/separator.tsx +33 -0
- package/templates/base/src/client/components/ui/skeleton.tsx +16 -0
- package/templates/base/src/client/components/ui/sonner.tsx +29 -0
- package/templates/base/src/client/components/ui/tabs.tsx +121 -0
- package/templates/base/src/client/hooks/.gitkeep +0 -0
- package/templates/base/src/client/hooks/__tests__/use-auth.test.tsx +306 -0
- package/templates/base/src/client/hooks/__tests__/use-theme.test.tsx +172 -0
- package/templates/base/src/client/hooks/use-auth.ts +53 -0
- package/templates/base/src/client/hooks/use-theme.tsx +78 -0
- package/templates/base/src/client/index.css +881 -0
- package/templates/base/src/client/lib/query-client.ts +11 -0
- package/templates/base/src/client/lib/utils.ts +7 -0
- package/templates/base/src/client/main.tsx +26 -0
- package/templates/base/src/client/routeTree.gen.ts +258 -0
- package/templates/base/src/client/router.ts +15 -0
- package/templates/base/src/client/routes/$.tsx +77 -0
- package/templates/base/src/client/routes/.gitkeep +0 -0
- package/templates/base/src/client/routes/__root.tsx +34 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-display-accept-invitation-button-1.png +0 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-display-decline-button-linking-to-homepage-1.png +0 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-display-invitation-details--email--workspace--role--1.png +0 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-have-a-logo-link-to-homepage-1.png +0 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-render-invitation-page-with-inviter-name-and-workspace-1.png +0 -0
- package/templates/base/src/client/routes/__tests__/__screenshots__/invite.test.tsx/Invite-Token-Page-pending-invitation-state-should-show-terms-of-service-and-privacy-policy-links-1.png +0 -0
- package/templates/base/src/client/routes/__tests__/invite.test.tsx +138 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-render-Active-Sessions-section-with-session-cards-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-render-page-with-correct-title--Account--1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-show-API-Access-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-show-Connected-Accounts-section-with-Google-connected-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-show-Danger-Zone-section-with-delete-button-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/account.test.tsx/Account-Page-should-show-Security-section-with-Two-Factor-Authentication-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-API-documentation-section-should-display-API-documentation-link-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-Create-Webhook-Dialog-should-have-Add-Webhook-trigger-button-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-category-filters-should-display-all-category-buttons-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-integration-cards-should-display-all-integration-cards-with-names-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-integration-cards-should-display-category-badges-on-cards-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-integration-cards-should-show-Configure-button-for-connected-integrations-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-integration-cards-should-show-Connect-button-for-not-connected-integrations-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-integration-cards-should-show-Connected-badge-for-connected-integrations-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-display-Available-Integrations-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-display-Webhooks-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-display-connected-count-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-display-page-description-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-display-search-input-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-page-rendering-should-render-with-correct-title--Integrations--1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-search-functionality-should-filter-integrations-based-on-search-query-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-search-functionality-should-search-by-description-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-search-functionality-should-show-no-results-message-when-search-has-no-matches-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-webhooks-section-should-display-existing-webhook-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-webhooks-section-should-display-webhook-events-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-webhooks-section-should-display-webhook-last-delivery-info-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-webhooks-section-should-display-webhook-success-status-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/integrations.test.tsx/Integrations-Page-webhooks-section-should-have-Add-Webhook-button-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Account-tab-should-display-connected-accounts-section-with-Google-provider-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Account-tab-should-display-sessions-and-danger-zone-sections-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Notifications-tab-should-display-all-notification-toggle-options-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Notifications-tab-should-display-email-notifications-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Notifications-tab-should-display-toggle-switches-for-notification-options-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Notifications-tab-should-have-toggles-checked-by-default-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display--Save-Changes--button-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display-personal-information-form-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display-profile-picture-section-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display-user-email-in-disabled-email-input-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display-user-initials-in-avatar-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-Profile-tab-should-display-user-name-in-the-name-input-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-page-rendering-should-display-all-three-tabs-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-page-rendering-should-display-page-description-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-page-rendering-should-render-with-correct-title--Settings--1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-tab-navigation-should-show-Profile-tab-as-default-active-tab-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-tab-navigation-should-switch-to-Account-tab-when-clicked-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/settings.test.tsx/Settings-Page-tab-navigation-should-switch-to-Notifications-tab-when-clicked-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-display-Active-Members-section-with-member-count-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-display-Pending-Invitations-section-with-invitation-details-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-have-invite-member-button-that-can-be-clicked-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-render-page-with-correct-title-and-description-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-render-search-input-that-filters-team-members-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/__screenshots__/team.test.tsx/Team-Page-should-show-current-user-with---you---indicator-and-role-badge-1.png +0 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/account.test.tsx +324 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/integrations.test.tsx +520 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/settings.test.tsx +414 -0
- package/templates/base/src/client/routes/_authenticated/__tests__/team.test.tsx +374 -0
- package/templates/base/src/client/routes/_authenticated/account.tsx +416 -0
- package/templates/base/src/client/routes/_authenticated/dashboard.tsx +151 -0
- package/templates/base/src/client/routes/_authenticated/integrations.tsx +553 -0
- package/templates/base/src/client/routes/_authenticated/settings.tsx +310 -0
- package/templates/base/src/client/routes/_authenticated/team.tsx +395 -0
- package/templates/base/src/client/routes/_authenticated.tsx +69 -0
- package/templates/base/src/client/routes/index.tsx +155 -0
- package/templates/base/src/client/routes/invite.$token.tsx +191 -0
- package/templates/base/src/client/routes/login.tsx +92 -0
- package/templates/base/src/server/__tests__/fixtures.ts +461 -0
- package/templates/base/src/server/__tests__/mocks/__tests__/db.test.ts +239 -0
- package/templates/base/src/server/__tests__/mocks/__tests__/kv.test.ts +293 -0
- package/templates/base/src/server/__tests__/mocks/__tests__/r2.test.ts +363 -0
- package/templates/base/src/server/__tests__/mocks/db.ts +186 -0
- package/templates/base/src/server/__tests__/mocks/index.ts +33 -0
- package/templates/base/src/server/__tests__/mocks/kv.ts +286 -0
- package/templates/base/src/server/__tests__/mocks/r2.ts +397 -0
- package/templates/base/src/server/__tests__/setup.ts +281 -0
- package/templates/base/src/server/auth/__tests__/guards.test.ts +162 -0
- package/templates/base/src/server/auth/guards.ts +92 -0
- package/templates/base/src/server/auth/permissions.test.ts +45 -0
- package/templates/base/src/server/auth/permissions.ts +139 -0
- package/templates/base/src/server/auth/roles.test.ts +169 -0
- package/templates/base/src/server/auth/roles.ts +141 -0
- package/templates/base/src/server/db/client.ts +12 -0
- package/templates/base/src/server/db/schema/accounts.ts +20 -0
- package/templates/base/src/server/db/schema/audit-logs.ts +26 -0
- package/templates/base/src/server/db/schema/index.ts +7 -0
- package/templates/base/src/server/db/schema/invitations.ts +30 -0
- package/templates/base/src/server/db/schema/refresh-tokens.ts +22 -0
- package/templates/base/src/server/db/schema/user-accounts.ts +25 -0
- package/templates/base/src/server/db/schema/users.ts +33 -0
- package/templates/base/src/server/db/seed.ts +267 -0
- package/templates/base/src/server/env.test.ts +84 -0
- package/templates/base/src/server/env.ts +78 -0
- package/templates/base/src/server/index.ts +82 -0
- package/templates/base/src/server/lib/audit.ts +73 -0
- package/templates/base/src/server/lib/audited-db.test.ts +107 -0
- package/templates/base/src/server/lib/audited-db.ts +154 -0
- package/templates/base/src/server/lib/email.test.ts +116 -0
- package/templates/base/src/server/lib/email.ts +82 -0
- package/templates/base/src/server/lib/errors.test.ts +49 -0
- package/templates/base/src/server/lib/errors.ts +64 -0
- package/templates/base/src/server/lib/oauth.test.ts +238 -0
- package/templates/base/src/server/lib/oauth.ts +113 -0
- package/templates/base/src/server/lib/pagination.test.ts +52 -0
- package/templates/base/src/server/lib/pagination.ts +32 -0
- package/templates/base/src/server/lib/password.test.ts +151 -0
- package/templates/base/src/server/lib/password.ts +151 -0
- package/templates/base/src/server/lib/providers.test.ts +105 -0
- package/templates/base/src/server/lib/providers.ts +62 -0
- package/templates/base/src/server/lib/r2-storage.test.ts +202 -0
- package/templates/base/src/server/lib/r2-storage.ts +107 -0
- package/templates/base/src/server/lib/schema-helpers.ts +16 -0
- package/templates/base/src/server/lib/session.test.ts +758 -0
- package/templates/base/src/server/lib/session.ts +267 -0
- package/templates/base/src/server/lib/tokens.test.ts +208 -0
- package/templates/base/src/server/lib/tokens.ts +65 -0
- package/templates/base/src/server/lib/transaction.test.ts +45 -0
- package/templates/base/src/server/lib/transaction.ts +24 -0
- package/templates/base/src/server/middleware/account.test.ts +201 -0
- package/templates/base/src/server/middleware/account.ts +66 -0
- package/templates/base/src/server/middleware/auth.test.ts +345 -0
- package/templates/base/src/server/middleware/auth.ts +146 -0
- package/templates/base/src/server/middleware/cors.test.ts +88 -0
- package/templates/base/src/server/middleware/cors.ts +26 -0
- package/templates/base/src/server/middleware/error-handler.test.ts +69 -0
- package/templates/base/src/server/middleware/error-handler.ts +43 -0
- package/templates/base/src/server/middleware/index.ts +8 -0
- package/templates/base/src/server/middleware/rate-limit.test.ts +472 -0
- package/templates/base/src/server/middleware/rate-limit.ts +294 -0
- package/templates/base/src/server/middleware/request-context.test.ts +175 -0
- package/templates/base/src/server/middleware/request-context.ts +28 -0
- package/templates/base/src/server/middleware/request-logger.test.ts +92 -0
- package/templates/base/src/server/middleware/request-logger.ts +50 -0
- package/templates/base/src/server/routes/accounts/__tests__/handlers.test.ts +460 -0
- package/templates/base/src/server/routes/accounts/handlers.ts +179 -0
- package/templates/base/src/server/routes/accounts/index.ts +55 -0
- package/templates/base/src/server/routes/accounts/routes.ts +205 -0
- package/templates/base/src/server/routes/accounts/schemas.ts +31 -0
- package/templates/base/src/server/routes/api.ts +37 -0
- package/templates/base/src/server/routes/audits/__tests__/handlers.test.ts +349 -0
- package/templates/base/src/server/routes/audits/handlers.ts +37 -0
- package/templates/base/src/server/routes/audits/index.ts +14 -0
- package/templates/base/src/server/routes/audits/routes.ts +29 -0
- package/templates/base/src/server/routes/audits/schemas.ts +43 -0
- package/templates/base/src/server/routes/auth/__tests__/handlers.test.ts +381 -0
- package/templates/base/src/server/routes/auth/handlers.ts +222 -0
- package/templates/base/src/server/routes/auth/index.ts +37 -0
- package/templates/base/src/server/routes/auth/routes.ts +136 -0
- package/templates/base/src/server/routes/auth/schemas.ts +48 -0
- package/templates/base/src/server/routes/auth/test-login.ts +156 -0
- package/templates/base/src/server/routes/health/__tests__/handlers.test.ts +237 -0
- package/templates/base/src/server/routes/health/handlers.ts +83 -0
- package/templates/base/src/server/routes/health/index.ts +13 -0
- package/templates/base/src/server/routes/health/routes.ts +90 -0
- package/templates/base/src/server/routes/index.ts +53 -0
- package/templates/base/src/server/routes/invitations/__tests__/handlers.test.ts +473 -0
- package/templates/base/src/server/routes/invitations/handlers.ts +71 -0
- package/templates/base/src/server/routes/invitations/index.ts +25 -0
- package/templates/base/src/server/routes/invitations/routes.ts +69 -0
- package/templates/base/src/server/routes/invitations/schemas.ts +39 -0
- package/templates/base/src/server/routes/openapi.ts +14 -0
- package/templates/base/src/server/routes/schemas.ts +53 -0
- package/templates/base/src/server/routes/storage/__tests__/handlers.test.ts +408 -0
- package/templates/base/src/server/routes/storage/handlers.ts +100 -0
- package/templates/base/src/server/routes/storage/index.ts +42 -0
- package/templates/base/src/server/routes/storage/routes.ts +91 -0
- package/templates/base/src/server/routes/storage/schemas.ts +56 -0
- package/templates/base/src/server/routes/users/__tests__/handlers.test.ts +526 -0
- package/templates/base/src/server/routes/users/handlers.ts +228 -0
- package/templates/base/src/server/routes/users/index.ts +67 -0
- package/templates/base/src/server/routes/users/routes.ts +265 -0
- package/templates/base/src/server/routes/users/schemas.ts +67 -0
- package/templates/base/src/server/services/__tests__/accounts.test.ts +764 -0
- package/templates/base/src/server/services/__tests__/audits.test.ts +235 -0
- package/templates/base/src/server/services/__tests__/auth.test.ts +765 -0
- package/templates/base/src/server/services/__tests__/invitations.test.ts +704 -0
- package/templates/base/src/server/services/__tests__/users.test.ts +755 -0
- package/templates/base/src/server/services/accounts.ts +269 -0
- package/templates/base/src/server/services/audits.ts +82 -0
- package/templates/base/src/server/services/auth.ts +225 -0
- package/templates/base/src/server/services/index.ts +6 -0
- package/templates/base/src/server/services/invitations.ts +306 -0
- package/templates/base/src/server/services/users.ts +350 -0
- package/templates/base/src/server/types/auth.ts +36 -0
- package/templates/base/src/server/types/index.ts +117 -0
- package/templates/base/src/shared/schemas/.gitkeep +0 -0
- package/templates/base/src/shared/schemas/__tests__/schemas.test.ts +547 -0
- package/templates/base/src/shared/schemas/account.ts +15 -0
- package/templates/base/src/shared/schemas/index.ts +6 -0
- package/templates/base/src/shared/schemas/invitation.ts +9 -0
- package/templates/base/src/shared/schemas/profile.ts +10 -0
- package/templates/base/src/shared/schemas/user.ts +16 -0
- package/templates/base/src/shared/schemas/webhook.ts +12 -0
- package/templates/base/src/shared/types/.gitkeep +0 -0
- package/templates/base/src/shared/types/account.ts +12 -0
- package/templates/base/src/shared/types/api.ts +1399 -0
- package/templates/base/src/shared/types/auth.ts +24 -0
- package/templates/base/src/shared/types/index.ts +5 -0
- package/templates/base/src/shared/types/user.ts +31 -0
- package/templates/base/src/test/vitest-zod-matcher.ts +37 -0
- package/templates/base/src/test/vitest.d.ts +19 -0
- package/templates/base/tests/e2e/README.md +141 -0
- package/templates/base/tests/e2e/a11y/accessibility.spec.ts +925 -0
- package/templates/base/tests/e2e/a11y/keyboard-navigation.spec.ts +610 -0
- package/templates/base/tests/e2e/api/accounts.spec.ts +148 -0
- package/templates/base/tests/e2e/api/audit-logs.spec.ts +130 -0
- package/templates/base/tests/e2e/api/authenticated-api.spec.ts +311 -0
- package/templates/base/tests/e2e/api/storage.spec.ts +109 -0
- package/templates/base/tests/e2e/auth-flows.unauth.spec.ts +117 -0
- package/templates/base/tests/e2e/auth-logout.unauth.spec.ts +103 -0
- package/templates/base/tests/e2e/auth.setup.ts +115 -0
- package/templates/base/tests/e2e/auth.spec.ts +146 -0
- package/templates/base/tests/e2e/compatibility/cross-browser.spec.ts +152 -0
- package/templates/base/tests/e2e/compatibility/cross-browser.spec.ts-snapshots/login-chromium-chromium-darwin.png +0 -0
- package/templates/base/tests/e2e/crud/account.spec.ts +356 -0
- package/templates/base/tests/e2e/crud/integrations.spec.ts +419 -0
- package/templates/base/tests/e2e/crud/team.spec.ts +287 -0
- package/templates/base/tests/e2e/crud/users.spec.ts +239 -0
- package/templates/base/tests/e2e/errors/error-boundary.spec.ts +428 -0
- package/templates/base/tests/e2e/errors/error-handling.spec.ts +47 -0
- package/templates/base/tests/e2e/errors/error-handling.unauth.spec.ts +205 -0
- package/templates/base/tests/e2e/fixtures.ts +266 -0
- package/templates/base/tests/e2e/forms/validation.spec.ts +569 -0
- package/templates/base/tests/e2e/invitations/invite-flow.unauth.spec.ts +204 -0
- package/templates/base/tests/e2e/journeys/account-lifecycle.spec.ts +314 -0
- package/templates/base/tests/e2e/journeys/audit-investigation.spec.ts +299 -0
- package/templates/base/tests/e2e/journeys/auth-onboarding.spec.ts +232 -0
- package/templates/base/tests/e2e/journeys/critical-flows.spec.ts +281 -0
- package/templates/base/tests/e2e/journeys/error-recovery.spec.ts +354 -0
- package/templates/base/tests/e2e/journeys/file-management.spec.ts +307 -0
- package/templates/base/tests/e2e/journeys/integrations.spec.ts +372 -0
- package/templates/base/tests/e2e/journeys/multi-account.spec.ts +317 -0
- package/templates/base/tests/e2e/journeys/rbac-enforcement.spec.ts +389 -0
- package/templates/base/tests/e2e/journeys/settings-profile.spec.ts +400 -0
- package/templates/base/tests/e2e/journeys/team-collaboration.spec.ts +410 -0
- package/templates/base/tests/e2e/mobile/responsive.spec.ts +178 -0
- package/templates/base/tests/e2e/navigation/routing.spec.ts +371 -0
- package/templates/base/tests/e2e/navigation/sidebar.spec.ts +425 -0
- package/templates/base/tests/e2e/pages/ui-features.spec.ts +393 -0
- package/templates/base/tests/e2e/performance/baselines.spec.ts +162 -0
- package/templates/base/tests/e2e/performance/benchmarks.spec.ts +371 -0
- package/templates/base/tests/e2e/smoke.unauth.spec.ts +196 -0
- package/templates/base/tests/e2e/visual/components.spec.ts +650 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/confirmation-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dark-mode-background-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dark-mode-card-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dark-mode-sidebar-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dashboard-card-single-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dialog-content-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/dialog-with-backdrop-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/empty-search-results-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/input-default-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/input-focus-ring-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/primary-button-focus-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/primary-button-hover-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/primary-button-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/sidebar-active-nav-item-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/sidebar-collapsed-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/components.spec.ts-snapshots/sidebar-navigation-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts +192 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/account-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/create-webhook-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/dashboard-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/delete-account-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/integrations-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/invite-member-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/login-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/settings-account-tab-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/settings-profile-tab-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/sidebar-navigation-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/core-components.spec.ts-snapshots/team-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts +230 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/404-page-chromium-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/404-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/account-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/login-page-chromium-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/login-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/settings-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/team-invite-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/team-page-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/screenshots.spec.ts-snapshots/webhook-create-dialog-visual-darwin.png +0 -0
- package/templates/base/tests/e2e/visual/theme-colors.spec.ts +293 -0
- package/templates/base/tests/e2e/visual/ui-components.spec.ts +502 -0
- package/templates/base/tests/integration/accounts/crud.test.ts +1402 -0
- package/templates/base/tests/integration/audits/list.test.ts +1133 -0
- package/templates/base/tests/integration/auth/auth-service.test.ts +415 -0
- package/templates/base/tests/integration/auth/invitation-token.test.ts +529 -0
- package/templates/base/tests/integration/auth/logout.test.ts +524 -0
- package/templates/base/tests/integration/auth/oauth.test.ts +768 -0
- package/templates/base/tests/integration/auth/refresh-token.test.ts +364 -0
- package/templates/base/tests/integration/auth/session-expiry.test.ts +569 -0
- package/templates/base/tests/integration/auth/session.test.ts +520 -0
- package/templates/base/tests/integration/auth/super-admin.test.ts +451 -0
- package/templates/base/tests/integration/authorization/analytics-role.test.ts +1026 -0
- package/templates/base/tests/integration/authorization/billing-role.test.ts +776 -0
- package/templates/base/tests/integration/authorization/guards-roles.test.ts +539 -0
- package/templates/base/tests/integration/authorization/multi-tenancy.test.ts +1112 -0
- package/templates/base/tests/integration/authorization/role-hierarchy.test.ts +931 -0
- package/templates/base/tests/integration/authorization/roles.test.ts +1347 -0
- package/templates/base/tests/integration/config/production-behavior.test.ts +536 -0
- package/templates/base/tests/integration/db/constraints.test.ts +695 -0
- package/templates/base/tests/integration/fixtures/accounts.ts +136 -0
- package/templates/base/tests/integration/fixtures/index.ts +232 -0
- package/templates/base/tests/integration/fixtures/invitations.ts +195 -0
- package/templates/base/tests/integration/fixtures/users.ts +144 -0
- package/templates/base/tests/integration/health/health.test.ts +351 -0
- package/templates/base/tests/integration/invitations/crud.test.ts +1457 -0
- package/templates/base/tests/integration/invitations/email.test.ts +506 -0
- package/templates/base/tests/integration/lib/email.test.ts +174 -0
- package/templates/base/tests/integration/lib/oauth.test.ts +368 -0
- package/templates/base/tests/integration/lib/password.test.ts +192 -0
- package/templates/base/tests/integration/lib/schema-helpers.test.ts +129 -0
- package/templates/base/tests/integration/lib/tokens.test.ts +304 -0
- package/templates/base/tests/integration/middleware/auth.test.ts +499 -0
- package/templates/base/tests/integration/middleware/cors.test.ts +334 -0
- package/templates/base/tests/integration/middleware/request-context.test.ts +156 -0
- package/templates/base/tests/integration/middleware/request-logger.test.ts +313 -0
- package/templates/base/tests/integration/performance/response-times.test.ts +509 -0
- package/templates/base/tests/integration/security/cookie-security.test.ts +567 -0
- package/templates/base/tests/integration/security/csrf-protection.test.ts +542 -0
- package/templates/base/tests/integration/security/jwt-validation.test.ts +209 -0
- package/templates/base/tests/integration/security/log-sanitization.test.ts +658 -0
- package/templates/base/tests/integration/security/rate-limiting.test.ts +1251 -0
- package/templates/base/tests/integration/security/sql-injection.test.ts +663 -0
- package/templates/base/tests/integration/security/token-hashing.test.ts +371 -0
- package/templates/base/tests/integration/security/xss-prevention.test.ts +541 -0
- package/templates/base/tests/integration/setup.ts +834 -0
- package/templates/base/tests/integration/smoke.test.ts +288 -0
- package/templates/base/tests/integration/storage/upload.test.ts +1162 -0
- package/templates/base/tests/integration/storage/validation.test.ts +746 -0
- package/templates/base/tests/integration/users/crud.test.ts +1297 -0
- package/templates/base/tests/integration/users/list.test.ts +698 -0
- package/templates/base/tests/integration/vitest.config.ts +80 -0
- package/templates/base/tsconfig.app.json +18 -0
- package/templates/base/tsconfig.json +39 -0
- package/templates/base/tsconfig.node.json +16 -0
- package/templates/base/tsconfig.server.json +26 -0
- package/templates/base/tsconfig.tsbuildinfo +1 -0
- package/templates/base/vite.config.ts +46 -0
- package/templates/base/vitest.config.browser.ts +47 -0
- package/templates/base/vitest.config.frontend.ts +47 -0
- package/templates/base/vitest.config.ts +82 -0
- package/templates/base/vitest.workspace.ts +22 -0
- package/templates/modules/audit-logs/.gitkeep +0 -0
- package/templates/modules/billing/.gitkeep +0 -0
- package/templates/modules/invitations/.gitkeep +0 -0
- package/templates/modules/storage/.gitkeep +0 -0
- package/templates/modules/webhooks/.gitkeep +0 -0
- package/templates/providers/auth-email/.gitkeep +0 -0
- package/templates/providers/auth-github/.gitkeep +0 -0
- package/templates/providers/auth-google/.gitkeep +0 -0
- package/templates/providers/email-resend/.gitkeep +0 -0
- package/templates/providers/email-sendgrid/.gitkeep +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# `pages`
|
|
2
|
+
|
|
3
|
+
Configure Cloudflare Pages.
|
|
4
|
+
|
|
5
|
+
## `pages dev`
|
|
6
|
+
|
|
7
|
+
Develop your full-stack Pages application locally
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx wrangler pages dev [DIRECTORY] [COMMAND]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
* `[DIRECTORY]` string - The directory of static assets to serve
|
|
14
|
+
* `[COMMAND]` string - The proxy command to run [deprecated]
|
|
15
|
+
* `--compatibility-date` string - Date to use for compatibility checks
|
|
16
|
+
* `--compatibility-flags` string - Flags to use for compatibility checks
|
|
17
|
+
* `--ip` string - The IP address to listen on
|
|
18
|
+
* `--port` number - The port to listen on
|
|
19
|
+
* `--inspector-port` number - Port for devtools to connect to
|
|
20
|
+
* `--proxy` number - The port to proxy
|
|
21
|
+
* `--script-path` string - Location of the single Worker script [default: _worker.js]
|
|
22
|
+
* `--no-bundle` boolean - Whether to run bundling on `_worker.js`
|
|
23
|
+
* `--binding` array - Bind variable/secret (KEY=VALUE)
|
|
24
|
+
* `--kv` array - KV namespace to bind
|
|
25
|
+
* `--d1` array - D1 database to bind
|
|
26
|
+
* `--do` array - Durable Object to bind
|
|
27
|
+
* `--r2` array - R2 bucket to bind
|
|
28
|
+
* `--ai` string - AI to bind
|
|
29
|
+
* `--service` array - Service to bind
|
|
30
|
+
* `--live-reload` boolean default: false - Auto reload HTML pages on change
|
|
31
|
+
* `--local-protocol` "http" | "https" - Protocol to listen to requests on
|
|
32
|
+
* `--persist-to` string - Directory for local persistence
|
|
33
|
+
|
|
34
|
+
## `pages functions build`
|
|
35
|
+
|
|
36
|
+
Compile a folder of Pages Functions into a single Worker
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npx wrangler pages functions build [DIRECTORY]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
* `[DIRECTORY]` string default: functions - The directory of Pages Functions
|
|
43
|
+
* `--outfile` string - The location of the output Worker script
|
|
44
|
+
* `--outdir` string - Output directory for the bundled Worker
|
|
45
|
+
* `--minify` boolean default: false - Minify the output Worker script
|
|
46
|
+
* `--sourcemap` boolean default: false - Generate a sourcemap
|
|
47
|
+
* `--watch` boolean default: false - Watch for changes and automatically rebuild
|
|
48
|
+
|
|
49
|
+
## `pages project list`
|
|
50
|
+
|
|
51
|
+
List your Cloudflare Pages projects
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
npx wrangler pages project list
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## `pages project create`
|
|
58
|
+
|
|
59
|
+
Create a new Cloudflare Pages project
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
npx wrangler pages project create [PROJECT-NAME]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
* `[PROJECT-NAME]` string required - The name of your Pages project
|
|
66
|
+
* `--production-branch` string - The name of the production branch
|
|
67
|
+
|
|
68
|
+
## `pages project delete`
|
|
69
|
+
|
|
70
|
+
Delete a Cloudflare Pages project
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
npx wrangler pages project delete [PROJECT-NAME]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
* `[PROJECT-NAME]` string required - The name of your Pages project
|
|
77
|
+
* `--yes` boolean - Answer "yes" to confirm project deletion
|
|
78
|
+
|
|
79
|
+
## `pages deployment list`
|
|
80
|
+
|
|
81
|
+
List deployments in your Cloudflare Pages project
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
npx wrangler pages deployment list
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
* `--project-name` string - The name of the project
|
|
88
|
+
* `--environment` string - Environment type to list deployments for
|
|
89
|
+
* `--json` boolean default: false - Return output as clean JSON
|
|
90
|
+
|
|
91
|
+
## `pages deployment tail`
|
|
92
|
+
|
|
93
|
+
Start a tailing session for a project's deployment
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
npx wrangler pages deployment tail [DEPLOYMENT]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
* `[DEPLOYMENT]` string - ID or URL of the deployment to tail
|
|
100
|
+
* `--project-name` string - The name of the project
|
|
101
|
+
* `--environment` string default: production - Environment (production or preview)
|
|
102
|
+
* `--format` string - The format of log entries
|
|
103
|
+
* `--status` string - Filter by invocation status
|
|
104
|
+
|
|
105
|
+
## `pages deploy`
|
|
106
|
+
|
|
107
|
+
Deploy a directory of static assets as a Pages deployment
|
|
108
|
+
|
|
109
|
+
```sh
|
|
110
|
+
npx wrangler pages deploy [DIRECTORY]
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
* `[DIRECTORY]` string - The directory of static files to upload
|
|
114
|
+
* `--project-name` string - The name of the project you want to deploy to
|
|
115
|
+
* `--branch` string - The name of the branch you want to deploy to
|
|
116
|
+
* `--commit-hash` string - The SHA to attach to this deployment
|
|
117
|
+
* `--commit-message` string - The commit message to attach to this deployment
|
|
118
|
+
* `--skip-caching` boolean - Skip asset caching which speeds up builds
|
|
119
|
+
* `--no-bundle` boolean - Whether to run bundling on `_worker.js`
|
|
120
|
+
* `--upload-source-maps` boolean default: false - Upload server-side sourcemaps
|
|
121
|
+
|
|
122
|
+
## `pages secret put`
|
|
123
|
+
|
|
124
|
+
Create or update a secret variable for a Pages project
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
npx wrangler pages secret put [KEY]
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
* `[KEY]` string required - The variable name
|
|
131
|
+
* `--project-name` string - The name of your Pages project
|
|
132
|
+
|
|
133
|
+
## `pages secret bulk`
|
|
134
|
+
|
|
135
|
+
Bulk upload secrets for a Pages project
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
npx wrangler pages secret bulk [FILE]
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## `pages secret delete`
|
|
142
|
+
|
|
143
|
+
Delete a secret variable from a Pages project
|
|
144
|
+
|
|
145
|
+
```sh
|
|
146
|
+
npx wrangler pages secret delete [KEY]
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## `pages secret list`
|
|
150
|
+
|
|
151
|
+
List all secrets for a Pages project
|
|
152
|
+
|
|
153
|
+
```sh
|
|
154
|
+
npx wrangler pages secret list
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## `pages download config`
|
|
158
|
+
|
|
159
|
+
> Experimental
|
|
160
|
+
|
|
161
|
+
Download your Pages project config as a Wrangler configuration file
|
|
162
|
+
|
|
163
|
+
```sh
|
|
164
|
+
npx wrangler pages download config [PROJECTNAME]
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Global flags
|
|
168
|
+
|
|
169
|
+
- `--v` boolean alias: --version - Show version number
|
|
170
|
+
- `--cwd` string - Run as if Wrangler was started in the specified directory
|
|
171
|
+
- `--config` string alias: --c - Path to Wrangler configuration file
|
|
172
|
+
- `--env` string alias: --e - Environment to use for operations
|
|
173
|
+
- `--env-file` string - Path to an .env file to load
|
|
174
|
+
|
|
175
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# `pipelines`
|
|
2
|
+
|
|
3
|
+
Manage Worker Pipelines (Beta).
|
|
4
|
+
|
|
5
|
+
## `pipelines create`
|
|
6
|
+
|
|
7
|
+
Create a pipeline
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx wrangler pipelines create [PIPELINE]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
* `[PIPELINE]` string required - The name of the new pipeline
|
|
14
|
+
* `--r2` string - R2 bucket to write results to
|
|
15
|
+
* `--batch-max-mb` number - The approximate maximum size (in megabytes) for each batch
|
|
16
|
+
* `--batch-max-rows` number - The maximum number of rows for each batch
|
|
17
|
+
* `--batch-max-seconds` number - The maximum duration (in seconds) to wait before flushing a batch
|
|
18
|
+
* `--transform` string - A Worker to transform the pipeline data
|
|
19
|
+
* `--compression` string default: gzip - Compression format for output
|
|
20
|
+
* `--prefix` string default: event_date=${date} - Add a key prefix for each written file
|
|
21
|
+
|
|
22
|
+
## `pipelines list`
|
|
23
|
+
|
|
24
|
+
List pipelines
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
npx wrangler pipelines list
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## `pipelines show`
|
|
31
|
+
|
|
32
|
+
Show a pipeline configuration
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npx wrangler pipelines show [PIPELINE]
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
* `[PIPELINE]` string required - The name of the pipeline to show
|
|
39
|
+
|
|
40
|
+
## `pipelines delete`
|
|
41
|
+
|
|
42
|
+
Delete a pipeline
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
npx wrangler pipelines delete [PIPELINE]
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
* `[PIPELINE]` string required - The name of the pipeline to delete
|
|
49
|
+
* `--yes` boolean - Skip confirmation
|
|
50
|
+
|
|
51
|
+
## `pipelines update`
|
|
52
|
+
|
|
53
|
+
Update a pipeline
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
npx wrangler pipelines update [PIPELINE]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
* `[PIPELINE]` string required - The name of the pipeline to update
|
|
60
|
+
* `--r2` string - R2 bucket to write results to
|
|
61
|
+
* `--batch-max-mb` number - The approximate maximum size for each batch
|
|
62
|
+
* `--batch-max-rows` number - The maximum number of rows for each batch
|
|
63
|
+
* `--batch-max-seconds` number - The maximum duration to wait before flushing
|
|
64
|
+
* `--transform` string - A Worker to transform the pipeline data
|
|
65
|
+
* `--compression` string - Compression format for output
|
|
66
|
+
* `--prefix` string - Add a key prefix for each written file
|
|
67
|
+
|
|
68
|
+
## Global flags
|
|
69
|
+
|
|
70
|
+
- `--v` boolean alias: --version - Show version number
|
|
71
|
+
- `--cwd` string - Run as if Wrangler was started in the specified directory
|
|
72
|
+
- `--config` string alias: --c - Path to Wrangler configuration file
|
|
73
|
+
- `--env` string alias: --e - Environment to use for operations
|
|
74
|
+
- `--env-file` string - Path to an .env file to load
|
|
75
|
+
|
|
76
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# `queues`
|
|
2
|
+
|
|
3
|
+
Manage [Cloudflare Queues](https://developers.cloudflare.com/queues/).
|
|
4
|
+
|
|
5
|
+
## `queues create`
|
|
6
|
+
|
|
7
|
+
Create a Queue
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx wrangler queues create [NAME]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
* `[NAME]` string required - The name of the queue
|
|
14
|
+
* `--delivery-delay-secs` number default: 0 - How long a published message should be delayed for in seconds
|
|
15
|
+
* `--message-retention-period-secs` number default: 345600 - The number of seconds a message will be retained on the queue
|
|
16
|
+
* `--paused` boolean default: false - Create the queue in a paused state
|
|
17
|
+
|
|
18
|
+
## `queues delete`
|
|
19
|
+
|
|
20
|
+
Delete a Queue
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npx wrangler queues delete [NAME]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
* `[NAME]` string required - The name of the queue
|
|
27
|
+
|
|
28
|
+
## `queues list`
|
|
29
|
+
|
|
30
|
+
List Queues
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
npx wrangler queues list
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## `queues info`
|
|
37
|
+
|
|
38
|
+
Get a Queue
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
npx wrangler queues info [NAME]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
* `[NAME]` string required - The name of the queue
|
|
45
|
+
|
|
46
|
+
## `queues pause`
|
|
47
|
+
|
|
48
|
+
Pause a Queue
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npx wrangler queues pause [NAME]
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## `queues resume`
|
|
55
|
+
|
|
56
|
+
Resume a Queue
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
npx wrangler queues resume [NAME]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## `queues update`
|
|
63
|
+
|
|
64
|
+
Update a Queue
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
npx wrangler queues update [NAME]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
* `--delivery-delay-secs` number - How long a published message should be delayed for
|
|
71
|
+
* `--message-retention-period-secs` number - The number of seconds a message will be retained
|
|
72
|
+
* `--paused` boolean - Set whether the queue is paused
|
|
73
|
+
|
|
74
|
+
## `queues consumer add`
|
|
75
|
+
|
|
76
|
+
Add a Queue Worker Consumer
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
npx wrangler queues consumer add [QUEUE-NAME] [SCRIPT-NAME]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
* `[QUEUE-NAME]` string required - Name of the queue
|
|
83
|
+
* `[SCRIPT-NAME]` string required - Name of the consumer Worker script
|
|
84
|
+
* `--batch-size` number - Maximum number of messages per batch
|
|
85
|
+
* `--batch-timeout` number - Maximum number of seconds to wait to fill a batch
|
|
86
|
+
* `--message-retries` number - Maximum number of retries for each message
|
|
87
|
+
* `--dead-letter-queue` string - Queue to send messages that failed to be consumed
|
|
88
|
+
* `--max-concurrency` number - Max number of concurrent consumers
|
|
89
|
+
* `--retry-delay-secs` number - The number of seconds to wait before retrying
|
|
90
|
+
|
|
91
|
+
## `queues consumer remove`
|
|
92
|
+
|
|
93
|
+
Remove a Queue Worker Consumer
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
npx wrangler queues consumer remove [QUEUE-NAME] [SCRIPT-NAME]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## `queues consumer http add`
|
|
100
|
+
|
|
101
|
+
Add a Queue HTTP Consumer
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
npx wrangler queues consumer http add [QUEUE-NAME]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
* `--url` string required - URL to send batch of messages to
|
|
108
|
+
* `--batch-size` number - Maximum number of messages per batch
|
|
109
|
+
* `--batch-timeout` number - Maximum seconds to wait to fill a batch
|
|
110
|
+
* `--message-retries` number - Maximum retries for each message
|
|
111
|
+
* `--dead-letter-queue` string - Queue to send failed messages to
|
|
112
|
+
* `--max-concurrency` number - Max concurrent consumers
|
|
113
|
+
* `--retry-delay-secs` number - Seconds to wait before retrying
|
|
114
|
+
* `--visibility-timeout-secs` number - Visibility timeout for messages
|
|
115
|
+
|
|
116
|
+
## `queues consumer http remove`
|
|
117
|
+
|
|
118
|
+
Remove a Queue HTTP Consumer
|
|
119
|
+
|
|
120
|
+
```sh
|
|
121
|
+
npx wrangler queues consumer http remove [QUEUE-NAME]
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Global flags
|
|
125
|
+
|
|
126
|
+
- `--v` boolean alias: --version - Show version number
|
|
127
|
+
- `--cwd` string - Run as if Wrangler was started in the specified directory
|
|
128
|
+
- `--config` string alias: --c - Path to Wrangler configuration file
|
|
129
|
+
- `--env` string alias: --e - Environment to use for operations
|
|
130
|
+
- `--env-file` string - Path to an .env file to load
|
|
131
|
+
|
|
132
|
+
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
# `r2 bucket`
|
|
2
|
+
|
|
3
|
+
Interact with buckets in an R2 store.
|
|
4
|
+
|
|
5
|
+
> **Note:** The `r2 bucket` commands allow you to manage application data in the Cloudflare network to be accessed from Workers using [the R2 API](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/).
|
|
6
|
+
|
|
7
|
+
## `r2 bucket create`
|
|
8
|
+
|
|
9
|
+
Create a new R2 bucket
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx wrangler r2 bucket create [NAME]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
* `[NAME]` string required - The name of the new bucket
|
|
16
|
+
* `--location` string - The optional location hint that determines geographic placement
|
|
17
|
+
* `--storage-class` string alias: --s - The default storage class for objects
|
|
18
|
+
* `--jurisdiction` string alias: --J - The jurisdiction where the new bucket will be created
|
|
19
|
+
* `--use-remote` boolean - Use a remote binding when adding the newly created resource
|
|
20
|
+
* `--update-config` boolean - Automatically update your config file
|
|
21
|
+
* `--binding` string - The binding name of this resource in your Worker
|
|
22
|
+
|
|
23
|
+
## `r2 bucket info`
|
|
24
|
+
|
|
25
|
+
Get information about an R2 bucket
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npx wrangler r2 bucket info [BUCKET]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
* `[BUCKET]` string required - The name of the bucket to retrieve info for
|
|
32
|
+
* `--jurisdiction` string alias: --J - The jurisdiction where the bucket exists
|
|
33
|
+
* `--json` boolean default: false - Return the bucket information as JSON
|
|
34
|
+
|
|
35
|
+
## `r2 bucket delete`
|
|
36
|
+
|
|
37
|
+
Delete an R2 bucket
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
npx wrangler r2 bucket delete [BUCKET]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
* `[BUCKET]` string required - The name of the bucket to delete
|
|
44
|
+
* `--jurisdiction` string alias: --J - The jurisdiction where the bucket exists
|
|
45
|
+
|
|
46
|
+
## `r2 bucket list`
|
|
47
|
+
|
|
48
|
+
List R2 buckets
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npx wrangler r2 bucket list
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
* `--jurisdiction` string alias: --J - The jurisdiction to list
|
|
55
|
+
|
|
56
|
+
## `r2 bucket catalog enable`
|
|
57
|
+
|
|
58
|
+
Enable the data catalog on an R2 bucket
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
npx wrangler r2 bucket catalog enable [BUCKET]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## `r2 bucket catalog disable`
|
|
65
|
+
|
|
66
|
+
Disable the data catalog for an R2 bucket
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
npx wrangler r2 bucket catalog disable [BUCKET]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## `r2 bucket catalog get`
|
|
73
|
+
|
|
74
|
+
Get the status of the data catalog for an R2 bucket
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
npx wrangler r2 bucket catalog get [BUCKET]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## `r2 bucket catalog compaction enable`
|
|
81
|
+
|
|
82
|
+
Enable automatic file compaction for your R2 data catalog or a specific table
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
npx wrangler r2 bucket catalog compaction enable [BUCKET] [NAMESPACE] [TABLE]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
* `--target-size` number default: 128 - The target size for compacted files in MB (64, 128, 256, 512)
|
|
89
|
+
* `--token` string - A cloudflare api token with access to R2
|
|
90
|
+
|
|
91
|
+
## `r2 bucket catalog compaction disable`
|
|
92
|
+
|
|
93
|
+
Disable automatic file compaction
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
npx wrangler r2 bucket catalog compaction disable [BUCKET] [NAMESPACE] [TABLE]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## `r2 bucket cors set`
|
|
100
|
+
|
|
101
|
+
Set the CORS configuration for an R2 bucket from a JSON file
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
npx wrangler r2 bucket cors set [BUCKET]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
* `--file` string required - Path to the JSON file containing the CORS configuration
|
|
108
|
+
* `--jurisdiction` string alias: --J - The jurisdiction where the bucket exists
|
|
109
|
+
* `--force` boolean alias: --y default: false - Skip confirmation
|
|
110
|
+
|
|
111
|
+
## `r2 bucket cors delete`
|
|
112
|
+
|
|
113
|
+
Clear the CORS configuration for an R2 bucket
|
|
114
|
+
|
|
115
|
+
```sh
|
|
116
|
+
npx wrangler r2 bucket cors delete [BUCKET]
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## `r2 bucket cors list`
|
|
120
|
+
|
|
121
|
+
List the CORS rules for an R2 bucket
|
|
122
|
+
|
|
123
|
+
```sh
|
|
124
|
+
npx wrangler r2 bucket cors list [BUCKET]
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## `r2 bucket dev-url enable`
|
|
128
|
+
|
|
129
|
+
Enable public access via the r2.dev URL for an R2 bucket
|
|
130
|
+
|
|
131
|
+
```sh
|
|
132
|
+
npx wrangler r2 bucket dev-url enable [BUCKET]
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## `r2 bucket dev-url disable`
|
|
136
|
+
|
|
137
|
+
Disable public access via the r2.dev URL for an R2 bucket
|
|
138
|
+
|
|
139
|
+
```sh
|
|
140
|
+
npx wrangler r2 bucket dev-url disable [BUCKET]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## `r2 bucket dev-url get`
|
|
144
|
+
|
|
145
|
+
Get the r2.dev URL and status for an R2 bucket
|
|
146
|
+
|
|
147
|
+
```sh
|
|
148
|
+
npx wrangler r2 bucket dev-url get [BUCKET]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## `r2 bucket domain add`
|
|
152
|
+
|
|
153
|
+
Connect a custom domain to an R2 bucket
|
|
154
|
+
|
|
155
|
+
```sh
|
|
156
|
+
npx wrangler r2 bucket domain add [BUCKET]
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
* `--domain` string required - The custom domain to connect
|
|
160
|
+
* `--zone-id` string required - The zone ID associated with the custom domain
|
|
161
|
+
* `--min-tls` string - Set the minimum TLS version for the custom domain
|
|
162
|
+
|
|
163
|
+
## `r2 bucket domain remove`
|
|
164
|
+
|
|
165
|
+
Remove a custom domain from an R2 bucket
|
|
166
|
+
|
|
167
|
+
```sh
|
|
168
|
+
npx wrangler r2 bucket domain remove [BUCKET]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## `r2 bucket domain update`
|
|
172
|
+
|
|
173
|
+
Update settings for a custom domain connected to an R2 bucket
|
|
174
|
+
|
|
175
|
+
```sh
|
|
176
|
+
npx wrangler r2 bucket domain update [BUCKET]
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## `r2 bucket domain get`
|
|
180
|
+
|
|
181
|
+
Get custom domain connected to an R2 bucket
|
|
182
|
+
|
|
183
|
+
```sh
|
|
184
|
+
npx wrangler r2 bucket domain get [BUCKET]
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## `r2 bucket domain list`
|
|
188
|
+
|
|
189
|
+
List custom domains for an R2 bucket
|
|
190
|
+
|
|
191
|
+
```sh
|
|
192
|
+
npx wrangler r2 bucket domain list [BUCKET]
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## `r2 bucket lifecycle add`
|
|
196
|
+
|
|
197
|
+
Add a lifecycle rule to an R2 bucket
|
|
198
|
+
|
|
199
|
+
```sh
|
|
200
|
+
npx wrangler r2 bucket lifecycle add [BUCKET] [NAME] [PREFIX]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
* `--expire-days` number - Number of days after which objects expire
|
|
204
|
+
* `--expire-date` string - Date after which objects expire (YYYY-MM-DD)
|
|
205
|
+
* `--ia-transition-days` number - Days after which objects transition to Infrequent Access
|
|
206
|
+
* `--abort-multipart-days` number - Days after which incomplete multipart uploads are aborted
|
|
207
|
+
|
|
208
|
+
## `r2 bucket lifecycle remove`
|
|
209
|
+
|
|
210
|
+
Remove a lifecycle rule from an R2 bucket
|
|
211
|
+
|
|
212
|
+
```sh
|
|
213
|
+
npx wrangler r2 bucket lifecycle remove [BUCKET]
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## `r2 bucket lifecycle list`
|
|
217
|
+
|
|
218
|
+
List lifecycle rules for an R2 bucket
|
|
219
|
+
|
|
220
|
+
```sh
|
|
221
|
+
npx wrangler r2 bucket lifecycle list [BUCKET]
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## `r2 bucket lifecycle set`
|
|
225
|
+
|
|
226
|
+
Set the lifecycle configuration from a JSON file
|
|
227
|
+
|
|
228
|
+
```sh
|
|
229
|
+
npx wrangler r2 bucket lifecycle set [BUCKET]
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
## `r2 bucket lock add`
|
|
233
|
+
|
|
234
|
+
Add a lock rule to an R2 bucket
|
|
235
|
+
|
|
236
|
+
```sh
|
|
237
|
+
npx wrangler r2 bucket lock add [BUCKET] [NAME] [PREFIX]
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
* `--retention-days` number - Number of days which objects will be retained for
|
|
241
|
+
* `--retention-date` string - Date after which objects will be retained until
|
|
242
|
+
* `--retention-indefinite` boolean - Retain objects indefinitely
|
|
243
|
+
|
|
244
|
+
## `r2 bucket lock remove`
|
|
245
|
+
|
|
246
|
+
Remove a bucket lock rule from an R2 bucket
|
|
247
|
+
|
|
248
|
+
```sh
|
|
249
|
+
npx wrangler r2 bucket lock remove [BUCKET]
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
## `r2 bucket lock list`
|
|
253
|
+
|
|
254
|
+
List lock rules for an R2 bucket
|
|
255
|
+
|
|
256
|
+
```sh
|
|
257
|
+
npx wrangler r2 bucket lock list [BUCKET]
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## `r2 bucket lock set`
|
|
261
|
+
|
|
262
|
+
Set the lock configuration from a JSON file
|
|
263
|
+
|
|
264
|
+
```sh
|
|
265
|
+
npx wrangler r2 bucket lock set [BUCKET]
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## `r2 bucket notification create`
|
|
269
|
+
|
|
270
|
+
Create an event notification rule for an R2 bucket
|
|
271
|
+
|
|
272
|
+
```sh
|
|
273
|
+
npx wrangler r2 bucket notification create [BUCKET]
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
* `--event-types` "object-create" | "object-delete" required - The type of event(s) that will emit
|
|
277
|
+
* `--prefix` string - The prefix that an object must match
|
|
278
|
+
* `--suffix` string - The suffix that an object must match
|
|
279
|
+
* `--queue` string required - The name of the queue that will receive event notification messages
|
|
280
|
+
|
|
281
|
+
## `r2 bucket notification delete`
|
|
282
|
+
|
|
283
|
+
Delete an event notification rule from an R2 bucket
|
|
284
|
+
|
|
285
|
+
```sh
|
|
286
|
+
npx wrangler r2 bucket notification delete [BUCKET]
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
## `r2 bucket notification list`
|
|
290
|
+
|
|
291
|
+
List event notification rules for an R2 bucket
|
|
292
|
+
|
|
293
|
+
```sh
|
|
294
|
+
npx wrangler r2 bucket notification list [BUCKET]
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
## `r2 bucket sippy enable`
|
|
298
|
+
|
|
299
|
+
Enable Sippy on an R2 bucket
|
|
300
|
+
|
|
301
|
+
```sh
|
|
302
|
+
npx wrangler r2 bucket sippy enable [NAME]
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
* `--provider` "AWS" | "GCS" - Cloud provider
|
|
306
|
+
* `--bucket` string - The name of the upstream bucket
|
|
307
|
+
* `--region` string - (AWS only) The region of the upstream bucket
|
|
308
|
+
* `--access-key-id` string - (AWS only) The secret access key id
|
|
309
|
+
* `--secret-access-key` string - (AWS only) The secret access key
|
|
310
|
+
* `--service-account-key-file` string - (GCS only) Path to Google Cloud service account key JSON
|
|
311
|
+
* `--r2-access-key-id` string - The secret access key id for this R2 bucket
|
|
312
|
+
* `--r2-secret-access-key` string - The secret access key for this R2 bucket
|
|
313
|
+
|
|
314
|
+
## `r2 bucket sippy disable`
|
|
315
|
+
|
|
316
|
+
Disable Sippy on an R2 bucket
|
|
317
|
+
|
|
318
|
+
```sh
|
|
319
|
+
npx wrangler r2 bucket sippy disable [NAME]
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
## `r2 bucket sippy get`
|
|
323
|
+
|
|
324
|
+
Check the status of Sippy on an R2 bucket
|
|
325
|
+
|
|
326
|
+
```sh
|
|
327
|
+
npx wrangler r2 bucket sippy get [NAME]
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
## Global flags
|
|
331
|
+
|
|
332
|
+
All commands support these global flags:
|
|
333
|
+
|
|
334
|
+
- `--v` boolean alias: --version - Show version number
|
|
335
|
+
- `--cwd` string - Run as if Wrangler was started in the specified directory
|
|
336
|
+
- `--config` string alias: --c - Path to Wrangler configuration file
|
|
337
|
+
- `--env` string alias: --e - Environment to use for operations
|
|
338
|
+
- `--env-file` string - Path to an .env file to load
|
|
339
|
+
- `--experimental-provision` boolean default: true - Enable automatic resource provisioning
|
|
340
|
+
- `--experimental-auto-create` boolean default: true - Automatically provision draft bindings
|
|
341
|
+
|
|
342
|
+
|