feat: init sentry
This commit is contained in:
@@ -145,6 +145,8 @@ export default {
|
|||||||
"@nuxtjs/toast",
|
"@nuxtjs/toast",
|
||||||
// https://github.com/nuxt-community/i18n-module
|
// https://github.com/nuxt-community/i18n-module
|
||||||
"@nuxtjs/i18n",
|
"@nuxtjs/i18n",
|
||||||
|
// https://github.com/nuxt-community/sentry-module
|
||||||
|
"@nuxtjs/sentry",
|
||||||
// https://github.com/nuxt-community/robots-module
|
// https://github.com/nuxt-community/robots-module
|
||||||
"@nuxtjs/robots",
|
"@nuxtjs/robots",
|
||||||
// https://github.com/nuxt-community/sitemap-module
|
// https://github.com/nuxt-community/sitemap-module
|
||||||
@@ -197,6 +199,12 @@ export default {
|
|||||||
id: process.env.GTM_ID,
|
id: process.env.GTM_ID,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Sentry module configuration
|
||||||
|
sentry: {
|
||||||
|
dsn: process.env.SENTRY_DSN,
|
||||||
|
lazy: true,
|
||||||
|
},
|
||||||
|
|
||||||
// Sitemap module configuration (https://github.com/nuxt-community/sitemap-module)
|
// Sitemap module configuration (https://github.com/nuxt-community/sitemap-module)
|
||||||
sitemap: {
|
sitemap: {
|
||||||
hostname: process.env.BASE_URL,
|
hostname: process.env.BASE_URL,
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
"@codemirror/state": "^0.19.6",
|
"@codemirror/state": "^0.19.6",
|
||||||
"@codemirror/text": "^0.19.5",
|
"@codemirror/text": "^0.19.5",
|
||||||
"@codemirror/tooltip": "^0.19.10",
|
"@codemirror/tooltip": "^0.19.10",
|
||||||
"@codemirror/view": "^0.19.29",
|
"@codemirror/view": "^0.19.32",
|
||||||
"@hoppscotch/codemirror-lang-graphql": "workspace:^0.1.0",
|
"@hoppscotch/codemirror-lang-graphql": "workspace:^0.1.0",
|
||||||
"@hoppscotch/data": "workspace:^0.1.0",
|
"@hoppscotch/data": "workspace:^0.1.0",
|
||||||
"@hoppscotch/js-sandbox": "workspace:^1.0.0",
|
"@hoppscotch/js-sandbox": "workspace:^1.0.0",
|
||||||
@@ -61,6 +61,7 @@
|
|||||||
"@nuxtjs/gtm": "^2.4.0",
|
"@nuxtjs/gtm": "^2.4.0",
|
||||||
"@nuxtjs/i18n": "^7.2.0",
|
"@nuxtjs/i18n": "^7.2.0",
|
||||||
"@nuxtjs/robots": "^2.5.0",
|
"@nuxtjs/robots": "^2.5.0",
|
||||||
|
"@nuxtjs/sentry": "^5.1.6",
|
||||||
"@nuxtjs/sitemap": "^2.4.0",
|
"@nuxtjs/sitemap": "^2.4.0",
|
||||||
"@nuxtjs/toast": "^3.3.1",
|
"@nuxtjs/toast": "^3.3.1",
|
||||||
"@urql/core": "^2.3.6",
|
"@urql/core": "^2.3.6",
|
||||||
@@ -69,7 +70,7 @@
|
|||||||
"acorn": "^8.6.0",
|
"acorn": "^8.6.0",
|
||||||
"acorn-walk": "^8.2.0",
|
"acorn-walk": "^8.2.0",
|
||||||
"axios": "^0.24.0",
|
"axios": "^0.24.0",
|
||||||
"core-js": "^3.19.2",
|
"core-js": "^3.20.0",
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"firebase": "^9.6.1",
|
"firebase": "^9.6.1",
|
||||||
"fp-ts": "^2.11.5",
|
"fp-ts": "^2.11.5",
|
||||||
@@ -104,8 +105,8 @@
|
|||||||
"yargs-parser": "^21.0.0"
|
"yargs-parser": "^21.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.0",
|
"@babel/core": "^7.16.5",
|
||||||
"@babel/preset-env": "^7.16.4",
|
"@babel/preset-env": "^7.16.5",
|
||||||
"@graphql-codegen/add": "^3.1.0",
|
"@graphql-codegen/add": "^3.1.0",
|
||||||
"@graphql-codegen/cli": "2.3.0",
|
"@graphql-codegen/cli": "2.3.0",
|
||||||
"@graphql-codegen/typed-document-node": "^2.2.1",
|
"@graphql-codegen/typed-document-node": "^2.2.1",
|
||||||
@@ -137,13 +138,13 @@
|
|||||||
"@vue/runtime-dom": "^3.2.26",
|
"@vue/runtime-dom": "^3.2.26",
|
||||||
"@vue/test-utils": "^1.3.0",
|
"@vue/test-utils": "^1.3.0",
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
"babel-jest": "^27.4.4",
|
"babel-jest": "^27.4.5",
|
||||||
"eslint": "^8.4.0",
|
"eslint": "^8.4.0",
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-plugin-nuxt": "^3.1.0",
|
"eslint-plugin-nuxt": "^3.1.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"eslint-plugin-vue": "^8.1.1",
|
"eslint-plugin-vue": "^8.1.1",
|
||||||
"jest": "^27.4.4",
|
"jest": "^27.4.5",
|
||||||
"jest-serializer-vue": "^2.0.2",
|
"jest-serializer-vue": "^2.0.2",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"nuxt-windicss": "^2.0.12",
|
"nuxt-windicss": "^2.0.12",
|
||||||
@@ -156,7 +157,7 @@
|
|||||||
"stylelint-config-standard": "^24.0.0",
|
"stylelint-config-standard": "^24.0.0",
|
||||||
"stylelint-config-standard-scss": "^3.0.0",
|
"stylelint-config-standard-scss": "^3.0.0",
|
||||||
"ts-jest": "^27.1.0",
|
"ts-jest": "^27.1.0",
|
||||||
"typescript": "^4.5.3",
|
"typescript": "^4.5.4",
|
||||||
"vue-jest": "^3.0.7",
|
"vue-jest": "^3.0.7",
|
||||||
"worker-loader": "^3.0.8"
|
"worker-loader": "^3.0.8"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,13 @@
|
|||||||
"~/*": ["./*"],
|
"~/*": ["./*"],
|
||||||
"@/*": ["./*"]
|
"@/*": ["./*"]
|
||||||
},
|
},
|
||||||
"types": ["@types/node", "@nuxt/types", "@nuxtjs/i18n", "@nuxtjs/toast"]
|
"types": [
|
||||||
|
"@types/node",
|
||||||
|
"@nuxt/types",
|
||||||
|
"@nuxtjs/i18n",
|
||||||
|
"@nuxtjs/toast",
|
||||||
|
"@nuxtjs/sentry"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", ".nuxt", "dist"],
|
"exclude": ["node_modules", ".nuxt", "dist"],
|
||||||
"vueCompilerOptions": {
|
"vueCompilerOptions": {
|
||||||
|
|||||||
Reference in New Issue
Block a user