forked from nuxt-community/sentry-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from cbsi-cmg/jmkoenig/CNETDEV-37718
CNETDEV-37718 migrate Sentry JavaScript SDK from 7.x to 8.x
- Loading branch information
Showing
27 changed files
with
62,538 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ node_modules | |
**/.yarn/*state* | ||
|
||
# Generated dirs | ||
dist | ||
# dist | ||
|
||
# Nuxt | ||
.nuxt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = function(...args) { | ||
return import('./module.mjs').then(m => m.default.call(this, ...args)) | ||
} | ||
const _meta = module.exports.meta = require('./module.json') | ||
module.exports.getMeta = () => Promise.resolve(_meta) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from "/Users/jkoenig/sentry-module/src/module"; | ||
export { default } from "/Users/jkoenig/sentry-module/src/module"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "@nuxtjs/sentry", | ||
"configKey": "sentry", | ||
"version": "8.0.7" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import jiti from "file:///Users/jkoenig/sentry-module/node_modules/jiti/lib/index.js"; | ||
|
||
/** @type {import("/Users/jkoenig/sentry-module/src/module")} */ | ||
const _module = jiti(null, { | ||
"esmResolve": true, | ||
"interopDefault": true, | ||
"alias": { | ||
"@nuxtjs/sentry": "/Users/jkoenig/sentry-module" | ||
} | ||
})("/Users/jkoenig/sentry-module/src/module.ts"); | ||
|
||
export default _module; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/Users/jkoenig/sentry-module/src/runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/Users/jkoenig/sentry-module/src/templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks, ModuleRuntimeHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module.js' | ||
|
||
declare module '#app' { | ||
interface RuntimeNuxtHooks extends RuntimeModuleHooks, ModuleRuntimeHooks {} | ||
} | ||
|
||
declare module '@nuxt/schema' { | ||
interface NuxtConfig { ['sentry']?: Partial<ModuleOptions> } | ||
interface NuxtOptions { ['sentry']?: ModuleOptions } | ||
interface NuxtHooks extends ModuleHooks {} | ||
interface RuntimeConfig extends ModuleRuntimeConfig {} | ||
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {} | ||
} | ||
|
||
declare module 'nuxt/schema' { | ||
interface NuxtConfig { ['sentry']?: Partial<ModuleOptions> } | ||
interface NuxtOptions { ['sentry']?: ModuleOptions } | ||
interface NuxtHooks extends ModuleHooks {} | ||
interface RuntimeConfig extends ModuleRuntimeConfig {} | ||
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {} | ||
} | ||
|
||
|
||
export type { default } from './module.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks, ModuleRuntimeHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module' | ||
|
||
declare module '#app' { | ||
interface RuntimeNuxtHooks extends RuntimeModuleHooks, ModuleRuntimeHooks {} | ||
} | ||
|
||
declare module '@nuxt/schema' { | ||
interface NuxtConfig { ['sentry']?: Partial<ModuleOptions> } | ||
interface NuxtOptions { ['sentry']?: ModuleOptions } | ||
interface NuxtHooks extends ModuleHooks {} | ||
interface RuntimeConfig extends ModuleRuntimeConfig {} | ||
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {} | ||
} | ||
|
||
declare module 'nuxt/schema' { | ||
interface NuxtConfig { ['sentry']?: Partial<ModuleOptions> } | ||
interface NuxtOptions { ['sentry']?: ModuleOptions } | ||
interface NuxtHooks extends ModuleHooks {} | ||
interface RuntimeConfig extends ModuleRuntimeConfig {} | ||
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {} | ||
} | ||
|
||
|
||
export type { default } from './module' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.