feat(front): branchement Sentry/GlitchTip du theme mathallo
- @sentry/vue init dans assets/js/main.js, DSN du projet GlitchTip 'mathallo' (glitchtip.figli.io/2), environment dev/prod selon l'hôte - bundle assets/dist/main.js rebuild (Sentry + DSN embarques) - test E2E OK : erreur JS recue dans le projet GlitchTip (issue #3) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
+29
-6
File diff suppressed because one or more lines are too long
@@ -1,5 +1,23 @@
|
||||
// import { createApp } from 'vue'
|
||||
import * as Sentry from '@sentry/vue'
|
||||
import '../scss/main.scss'
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// GlitchTip (compatible Sentry) — projet « mathallo » sur glitchtip.figli.io.
|
||||
// La DSN est une clé publique (client key) : pas un secret, elle est embarquée
|
||||
// dans le bundle front comme dans toute intégration Sentry JS.
|
||||
// Événements envoyés : erreurs JS non capturées, rejets de promesses, et
|
||||
// (si l'app Vue est réactivée) erreurs Vue via errorHandler.
|
||||
// ---------------------------------------------------------------------------
|
||||
const SENTRY_DSN = 'https://98577840dda94253bdbb8f2812974a09@glitchtip.figli.io/2'
|
||||
|
||||
Sentry.init({
|
||||
dsn: SENTRY_DSN,
|
||||
environment: /^(dev\.|.*\.localhost$|localhost$)/.test(window.location.hostname)
|
||||
? 'development'
|
||||
: 'production',
|
||||
sendDefaultPii: false,
|
||||
})
|
||||
// import Content from './vuejs/Content.vue'
|
||||
|
||||
// import REST from './api/rest-axios'
|
||||
|
||||
+124
@@ -8,6 +8,7 @@
|
||||
"name": "mathallo",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@sentry/vue": "^11.17.0",
|
||||
"axios": "^1.7.2",
|
||||
"gsap": "^3.14.1",
|
||||
"vue": "^3.4.29"
|
||||
@@ -651,6 +652,123 @@
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@sentry/browser": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-11.17.0.tgz",
|
||||
"integrity": "sha512-6zxDfbpb2qgsgiAIkgRx+QuF3EFowEHEwf1tcx2WSrbn8VJ2ViUN4OUOFpB525vJaiOou2MwOxbw80FBQpOkvA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/browser-utils": "11.17.0",
|
||||
"@sentry/conventions": "^0.35.0",
|
||||
"@sentry/core": "11.17.0",
|
||||
"@sentry/feedback": "11.17.0",
|
||||
"@sentry/replay": "11.17.0",
|
||||
"@sentry/replay-canvas": "11.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/browser-utils": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/browser-utils/-/browser-utils-11.17.0.tgz",
|
||||
"integrity": "sha512-+0JIKG68z7ziTiCbtgX0H6jsUNvEruyforiQ3rOebW9k52j6RK2X6vlcDByPMzQW/w/AI2WryswnYU4sCL+xBA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/conventions": "^0.35.0",
|
||||
"@sentry/core": "11.17.0",
|
||||
"web-vitals": "^6.2.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/conventions": {
|
||||
"version": "0.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/conventions/-/conventions-0.35.0.tgz",
|
||||
"integrity": "sha512-bq2ecu6zaBni0gG5bHN9cY7fmUsOW49ntjGZ6VA69PVAa1Uk1NvgF1SdTGoVC0zkqQKziTnxzOs9KuuVlpb26w==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/core": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-11.17.0.tgz",
|
||||
"integrity": "sha512-Tf9XOBEMeGdZZNaCBzFTk1lN/q9gzSnWtnNRZW9IYtokM99VVfx4wTWVeg6qZ++c6mNybmhUbltnN7b87RqOwQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/conventions": "^0.35.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/feedback": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/feedback/-/feedback-11.17.0.tgz",
|
||||
"integrity": "sha512-hLAZZYzWOs8Bc44QyxNzqd5o3/9bM0oV8n9G66qtqOGyxFLgeuwb6LLUeqmnY5tom6unkjSnKtKRIthk+M3KkQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/core": "11.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/replay": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-11.17.0.tgz",
|
||||
"integrity": "sha512-TUunibV0YUkcoVNRBPbY171n4yDn6OqZjzmDqWyZfl7vBchnglslwj4CkBaHyQfZJMfytx5Uput6vlqnfkLJCw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/browser-utils": "11.17.0",
|
||||
"@sentry/core": "11.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/replay-canvas": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/replay-canvas/-/replay-canvas-11.17.0.tgz",
|
||||
"integrity": "sha512-pyYzfa+OogDMlh5QWWkaNGXzdbuPXsFhRtiJrcry/9xFsZXESS9FgoaJQgmxjD0TRQKgsRA3oTso4hmnw7rf2g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/core": "11.17.0",
|
||||
"@sentry/replay": "11.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/vue": {
|
||||
"version": "11.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-11.17.0.tgz",
|
||||
"integrity": "sha512-i3jXEUIpVhMycR/bpOLu6C/kovxel9aJ1hYgGNJHANiWDqRGokMIpWab97XZ93MlTrUfOfEW0NyElD6Kxg8owQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sentry/browser": "11.17.0",
|
||||
"@sentry/conventions": "^0.35.0",
|
||||
"@sentry/core": "11.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tanstack/vue-router": "^1.64.0",
|
||||
"pinia": "2.x || 3.x || 4.x",
|
||||
"vue": "2.x || 3.x"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@tanstack/vue-router": {
|
||||
"optional": true
|
||||
},
|
||||
"pinia": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@types/estree": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
||||
@@ -1348,6 +1466,12 @@
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/web-vitals": {
|
||||
"version": "6.2.3",
|
||||
"resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-6.2.3.tgz",
|
||||
"integrity": "sha512-Dmy+vdO1UPMqXiAtZSNayhl4f794Bxfd94W4HIj2HlYtczEQfEOon969memlcpcHrTuOKLa5baFjX7WbgmOq+A==",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/vue": "^11.17.0",
|
||||
"axios": "^1.7.2",
|
||||
"gsap": "^3.14.1",
|
||||
"vue": "^3.4.29"
|
||||
|
||||
Reference in New Issue
Block a user