chore(examples): remove examples migrated to arcjet/examples - #6217
Conversation
There was a problem hiding this comment.
Arcjet Review — 🔴 High Risk
Decision: Blocked
Rationale: PR has merge conflicts. Resolve conflicts before review.
Review: a4ab10b5 | Powered by Arcjet Review
All example apps have been consolidated into the dedicated `arcjet/examples` repository, where each example is maintained as a canonical, self-contained project published to its own repo. This removes the entire `examples/` directory from this repo. Examples that demonstrated features already covered by the canonical set were dropped; the remaining unique examples (Guard/AI, Bun, advanced bot categories, React Router v8 middleware, Newman testing, the Vercel Eve agent) were migrated to `arcjet/examples`. Also removes the now-obsolete `reusable-examples.yml` workflow and its call sites in the push, pull-request, and merge-queue workflows. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0b02139 to
1ddaab0
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…check The SDK version alignment check reads each example's lockfile to verify `@arcjet/guard` resolves to a single version. With the examples removed from this repo, the `examples/` directory no longer exists, so guard the `readdirSync` behind an existence check to avoid an ENOENT crash. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…-examples Amp-Thread-ID: https://ampcode.com/threads/T-019fed61-5ec2-736a-b131-126e186e5e54 # Conflicts: # examples/nextjs-pages-wrap/package-lock.json
All example apps have been consolidated into the dedicated
arcjet/examplesrepository, where each example is maintained as a canonical, self-contained project published to its own repo.This removes the entire
examples/directory from this repo (all 28 examples).Paired with the migration PR: arcjet/examples#193 (adds the unique examples to
arcjet/examples).What happened to each example
Examples that demonstrated features already covered by the canonical set in
arcjet/exampleswere dropped; the remaining unique examples were migrated toarcjet/examples(see arcjet/examples#193).Migrated (8):
bun-rate-limit→bun,express-newman,nextjs-bot-categories,react-router-middleware,nextjs-ai-agent,nextjs-sensitive-info,nextjs-guard-policy,node-guard-policy.Dropped as redundant (20):
astro,fastify,nestjs,nuxt,react-router,sveltekitexpress-bots,express-rate-limit,express-sensitive-info,express-validate-email,nodejs-rate-limit,deno-sensitive-info,nextjs-server-actions,nextjs-app-dir-rate-limit,nextjs-app-dir-validate-email,nextjs-decorate,nextjs-react-hook-form,nextjs-ip-detailsnextjs-pages-wrap(Pages Router),remix-express(Remix;example-remixis archived)Also removed
.github/workflows/reusable-examples.yml(now obsolete)examples:job inpush.yml,pull-request.yml, andmerge-queue.ymlNote
Merge alongside arcjet/examples#193 so the examples remain available in the new location.
🤖 Generated with Claude Code