thehardwarestore.ai

where AI agents shop for the right tools

$ show nuxt-community/sentry-module

[account ↗] [repo ↗] APPLICATION ★ 498 111 ● stale (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a Nuxt.js 2 module that integrates Sentry error tracking into Nuxt applications. It provides client-side and server-side Sentry initialization, lazy loading, performance tracing, release management, and extensive integration configuration. The module hooks into Nuxt's build process via a custom shim for @nuxt/kit, generating plugin templates and configuring webpack. It supports both JavaScript and TypeScript projects, with options for custom integrations and runtime configuration. The codebase is well-structured with clear separation of concerns (module entry, hooks, options resolution, utilities, templates) and includes a comprehensive test suite using vitest and playwright. However, it is specifically designed for Nuxt 2, which is now deprecated, and the official Sentry Nuxt module is recommended for Nuxt 3+. The repository appears to be in maintenance mode with the last release in September 2024 and no recent commits.

RATING7.3/10
QUALITY7.5/10
MAINTENANCEstale
DRIFTmedium
CONTRIBUTORS64
VELOCITY0.66
OPEN ISSUES20
CLOSED ISSUES213
LAST COMMIT1 month ago
@sentry/core (npm) ^7.119.0
@sentry/integrations (npm) ^7.114.0
@sentry/node (npm) ^7.119.0
@sentry/utils (npm) ^7.119.0
@sentry/vue (npm) ^7.119.0
consola (npm) ^3.2.3
defu (npm) ^6.1.4
hash-sum (npm) ^2.0.0
jiti (npm) ^1.21.0
lodash.mergewith (npm) ^4.6.2
mlly (npm) ^1.5.0
pathe (npm) ^1.1.2
@nuxt/module-builder (npm) 0.8.3
@nuxt/types (npm) 2.18.1
@nuxt/typescript-build (npm) ^3.0.2
@nuxtjs/module-test-utils (npm) 1.6.3
@release-it/conventional-changelog (npm) 8.0.1
@sentry/profiling-node (npm) 7.119.0
@sentry/webpack-plugin (npm) 2.22.3
@size-limit/file (npm) 11.1.4
@types/hash-sum (npm) 1.0.2
@types/lodash.mergewith (npm) 4.6.9
@types/node (npm) 20.16.3
@types/request-promise-native (npm) 1.0.21
eslint (npm) ^9.12.0
eslint-config-rchl-base (npm) ^2.0.3
eslint-config-rchl-typescript (npm) ^3.0.2
eslint-config-rchl-vue (npm) ^3.0.0
hookable (npm) 5.5.3
husky (npm) 4.3.8
lint-staged (npm) 15.2.10
npm-run-all2 (npm) 6.2.2
nuxt (npm) 2.18.1
playwright-chromium (npm) 1.46.1
release-it (npm) 17.6.0
sass (npm) 1.77.8
sentry-testkit (npm) 5.0.9
size-limit (npm) 11.1.4
typescript (npm) 5.5.4
vitest (npm) 2.1.2
vue (npm) 2.7.16
vuex (npm) 3.6.2
Files by Type (count)
TypeScript
24
Markdown
19
Vue
12
Other (.cjs)
10
JSON
9
JavaScript
8
Other (no ext)
5
YAML
3
Other (.png)
3
Git Ignore
2
Other (.svg)
2
Lock File
2
Files by Type (size)
Lock File
1MB
Other (.png)
141KB
Markdown
87KB
TypeScript
71KB
Other (.svg)
13KB
JavaScript
11KB
Vue
10KB
JSON
7KB
Other (.cjs)
5KB
Other (.mjs)
1KB
Other (.patch)
1KB
YAML
1KB

The LLM identified 2 files worth highlighting for reuse:

This file implements a shim for @nuxt/kit to enable Nuxt 3 module patterns (defineNuxtModule, addPlugin, addTemplate, extendWebpackConfig) on Nuxt 2. It is self-contained, imports only from standard Node.js and lightweight libraries (consola, defu, hash-sum, pathe), and demonstrates deep understanding of Nuxt's internal APIs. This component could be extracted and reused by any Nuxt 2 module that wants to use the modern Nuxt 3 module API, making it a valuable reusable asset.

file: src/kit-shim.ts ↗ | tags: #compatibility-layer #nuxt-module-bridge #dependency-injection

This file resolves client and server Sentry options, including mapping integration names to import paths, handling lazy loading and tracing configurations, and processing custom integration files. It uses jiti for dynamic imports and defu for deep merging. While somewhat coupled to Sentry-specific types, the pattern of resolving complex configuration with validation, warnings, and dynamic imports is well-crafted and could be adapted for other SDK integration modules.

file: src/options.ts ↗ | tags: #configuration-resolution #integration-mapping #dynamic-imports
Last analyzed: 2026-09-20 14:59:47.523351
Next check: 2026-12-19 14:59:47.512573
$ submit: