@sentry-cyber/init
v0.1.1
Published
Install the SENTRY Cyber Next.js integration safely
Readme
@sentry-cyber/init
Initializer for the SENTRY Cyber Next.js integration. Requires Node.js 18.17 or newer.
Install from the authenticated portal
In the SENTRY setup wizard, create a one-time command and run it at the root of the Next.js project:
npx @sentry-cyber/init --token=<one-time-token>The installer asks for the public domain, registers the site, then downloads and runs the generated Next.js setup script. The grant is tied to the signed-in user's organization, expires after ten minutes, and can only be redeemed once.
For an already registered site, use its site key:
npx @sentry-cyber/init --key=<site-key>Se o cadastro funcionou, mas a instalação local falhou, copie a chave do site existente no painel e retome com --key. O token de uso único já foi consumido.
The installer checks for the standard Next.js middleware before changing it. For custom middleware it asks first and prints a manual integration snippet if replacement is declined.
This package currently supports Next.js projects. Vite support is not included.
