Skip to content

chore(examples): remove examples migrated to arcjet/examples - #6217

Merged
davidmytton merged 3 commits into
mainfrom
chore/remove-migrated-examples
Aug 10, 2026
Merged

chore(examples): remove examples migrated to arcjet/examples#6217
davidmytton merged 3 commits into
mainfrom
chore/remove-migrated-examples

Conversation

@davidmytton

Copy link
Copy Markdown
Contributor

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 (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/examples were dropped; the remaining unique examples were migrated to arcjet/examples (see arcjet/examples#193).

Migrated (8): bun-rate-limitbun, express-newman, nextjs-bot-categories, react-router-middleware, nextjs-ai-agent, nextjs-sensitive-info, nextjs-guard-policy, node-guard-policy.

Dropped as redundant (20):

  • Framework dups (canonical exists): astro, fastify, nestjs, nuxt, react-router, sveltekit
  • Feature dups: express-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-details
  • Legacy: nextjs-pages-wrap (Pages Router), remix-express (Remix; example-remix is archived)

Also removed

  • .github/workflows/reusable-examples.yml (now obsolete)
  • Its examples: job in push.yml, pull-request.yml, and merge-queue.yml

Note

Merge alongside arcjet/examples#193 so the examples remain available in the new location.

🤖 Generated with Claude Code

@arcjet-review arcjet-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@davidmytton
davidmytton force-pushed the chore/remove-migrated-examples branch from 0b02139 to 1ddaab0 Compare August 7, 2026 19:22
@socket-security

socket-security Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​arcjet/​ip@​1.9.1 ⏵ 1.9.19810010097100

View full report

@socket-security

socket-security Bot commented Aug 7, 2026

Copy link
Copy Markdown

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.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm @arcjet/sensitive-info-rampart under CC-BY-4.0

License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/models/rampart/LICENSE)

From: package-lock.jsonnpm/@arcjet/sensitive-info-rampart@1.9.1

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@arcjet/sensitive-info-rampart@1.9.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

…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>
@davidmytton
davidmytton added this pull request to the merge queue Aug 10, 2026
Merged via the queue into main with commit e69962f Aug 10, 2026
20 checks passed
@davidmytton
davidmytton deleted the chore/remove-migrated-examples branch August 10, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants