├── .changeset ├── README.md ├── config.json └── polite-dryers-hear.md ├── .cursor └── rules │ ├── 00-project-structure.mdc │ ├── 10-cloudflare-worker-env.mdc │ ├── 20-routing-hono.mdc │ ├── 30-storage-architecture.mdc │ ├── 40-cron-cleanup.mdc │ ├── 50-testing.mdc │ ├── 60-typescript-and-lint.mdc │ └── 70-scripts-and-commands.mdc ├── .dev.vars ├── .editorconfig ├── .github ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── SECURITY.md ├── pull_request_template.md ├── renovate.json └── workflows │ ├── ci.yml │ ├── dependency-review.yml │ ├── deploy-docs.yml │ ├── deploy.yml │ ├── docs-pr-preview.yml │ └── release.yml ├── .gitignore ├── .ncurc.json ├── .node-version ├── .nvmrc ├── .prettierignore ├── .prettierrc.js ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── .vitepress │ └── config.ts ├── configuration │ ├── kv-storage.md │ ├── project-configuration.md │ └── r2-storage.md ├── index.md ├── introduction │ ├── getting-started.md │ └── setup-turborepo.md └── public │ ├── _headers │ └── favicon.ico ├── eslint.config.mjs ├── package.json ├── pnpm-lock.yaml ├── src ├── crons │ └── deleteOldCache.ts ├── index.ts ├── routes │ ├── index.ts │ ├── internal.ts │ └── v8 │ │ ├── artifacts.ts │ │ └── index.ts ├── storage │ ├── index.ts │ ├── interface.d.ts │ ├── kv-storage.ts │ ├── r2-storage.ts │ └── storage-manager.ts └── utils │ └── date.ts ├── tests ├── crons │ └── deleteOldCache.test.ts ├── index.test.ts ├── routes │ ├── index.test.ts │ ├── internal.test.ts │ └── v8 │ │ └── artifacts.test.ts ├── storage │ ├── kv-storage.test.ts │ ├── r2-storage.test.ts │ └── storage-manager.test.ts └── utils │ └── date.test.ts ├── tsconfig.json ├── turbo.json ├── vite.config.ts ├── vitest-env.d.ts ├── vitest.config.ts ├── wrangler.jsonc └── wrangler.vitest.jsonc /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.changeset/polite-dryers-hear.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.changeset/polite-dryers-hear.md -------------------------------------------------------------------------------- /.cursor/rules/00-project-structure.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/00-project-structure.mdc -------------------------------------------------------------------------------- /.cursor/rules/10-cloudflare-worker-env.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/10-cloudflare-worker-env.mdc -------------------------------------------------------------------------------- /.cursor/rules/20-routing-hono.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/20-routing-hono.mdc -------------------------------------------------------------------------------- /.cursor/rules/30-storage-architecture.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/30-storage-architecture.mdc -------------------------------------------------------------------------------- /.cursor/rules/40-cron-cleanup.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/40-cron-cleanup.mdc -------------------------------------------------------------------------------- /.cursor/rules/50-testing.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/50-testing.mdc -------------------------------------------------------------------------------- /.cursor/rules/60-typescript-and-lint.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/60-typescript-and-lint.mdc -------------------------------------------------------------------------------- /.cursor/rules/70-scripts-and-commands.mdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.cursor/rules/70-scripts-and-commands.mdc -------------------------------------------------------------------------------- /.dev.vars: -------------------------------------------------------------------------------- 1 | ENVIRONMENT=development 2 | TURBO_TOKEN=SECRET 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @AdiRishi 2 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/SECURITY.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/deploy-docs.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/docs-pr-preview.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/docs-pr-preview.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.gitignore -------------------------------------------------------------------------------- /.ncurc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.ncurc.json -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | lts/jod 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/jod 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSave": true 3 | } 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/README.md -------------------------------------------------------------------------------- /docs/.vitepress/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/.vitepress/config.ts -------------------------------------------------------------------------------- /docs/configuration/kv-storage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/configuration/kv-storage.md -------------------------------------------------------------------------------- /docs/configuration/project-configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/configuration/project-configuration.md -------------------------------------------------------------------------------- /docs/configuration/r2-storage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/configuration/r2-storage.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/introduction/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/introduction/getting-started.md -------------------------------------------------------------------------------- /docs/introduction/setup-turborepo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/introduction/setup-turborepo.md -------------------------------------------------------------------------------- /docs/public/_headers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/public/_headers -------------------------------------------------------------------------------- /docs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/docs/public/favicon.ico -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/crons/deleteOldCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/crons/deleteOldCache.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/routes/internal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/routes/internal.ts -------------------------------------------------------------------------------- /src/routes/v8/artifacts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/routes/v8/artifacts.ts -------------------------------------------------------------------------------- /src/routes/v8/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/routes/v8/index.ts -------------------------------------------------------------------------------- /src/storage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/storage/index.ts -------------------------------------------------------------------------------- /src/storage/interface.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/storage/interface.d.ts -------------------------------------------------------------------------------- /src/storage/kv-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/storage/kv-storage.ts -------------------------------------------------------------------------------- /src/storage/r2-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/storage/r2-storage.ts -------------------------------------------------------------------------------- /src/storage/storage-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/storage/storage-manager.ts -------------------------------------------------------------------------------- /src/utils/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/src/utils/date.ts -------------------------------------------------------------------------------- /tests/crons/deleteOldCache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/crons/deleteOldCache.test.ts -------------------------------------------------------------------------------- /tests/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/index.test.ts -------------------------------------------------------------------------------- /tests/routes/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/routes/index.test.ts -------------------------------------------------------------------------------- /tests/routes/internal.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/routes/internal.test.ts -------------------------------------------------------------------------------- /tests/routes/v8/artifacts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/routes/v8/artifacts.test.ts -------------------------------------------------------------------------------- /tests/storage/kv-storage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/storage/kv-storage.test.ts -------------------------------------------------------------------------------- /tests/storage/r2-storage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/storage/r2-storage.test.ts -------------------------------------------------------------------------------- /tests/storage/storage-manager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/storage/storage-manager.test.ts -------------------------------------------------------------------------------- /tests/utils/date.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tests/utils/date.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/turbo.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/vitest-env.d.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /wrangler.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/wrangler.jsonc -------------------------------------------------------------------------------- /wrangler.vitest.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdiRishi/turborepo-remote-cache-cloudflare/HEAD/wrangler.vitest.jsonc --------------------------------------------------------------------------------