diff --git a/apps/backend/tsconfig.json b/apps/backend/tsconfig.json index 7d87df9da9..52c5acdf19 100644 --- a/apps/backend/tsconfig.json +++ b/apps/backend/tsconfig.json @@ -1,10 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "module": "commonjs", - "declaration": true, "removeComments": true, - "emitDecoratorMetadata": true, "outDir": "./dist", "baseUrl": "./", "incremental": true, diff --git a/apps/frontend/jest.config.js b/apps/frontend/jest.config.js index 6980348bb9..7bb925b58f 100644 --- a/apps/frontend/jest.config.js +++ b/apps/frontend/jest.config.js @@ -13,10 +13,10 @@ module.exports = { }, moduleDirectories: ['node_modules', 'src'], moduleNameMapper: { + '^axios$': 'axios/dist/node/axios.cjs', + '^csv-stringify/sync$': 'csv-stringify/dist/cjs/sync.cjs', '^d3$': '/tests/util/d3.js', '^@[/](.+)': '/src/$1', - '^.+\\.(css)$': '/tests/util/cssTransform.js', - '^axios$': 'axios/dist/node/axios.cjs', - '^csv-stringify/sync$': 'csv-stringify/dist/cjs/sync.cjs' + '^.+\\.(css)$': '/tests/util/cssTransform.js' } }; diff --git a/apps/frontend/package.json b/apps/frontend/package.json index d45d862367..6c42f1dadb 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -41,7 +41,6 @@ "@types/diff": "^5.0.0", "@types/file-saver": "^2.0.1", "@types/lodash": "^4.14.161", - "@types/lru-cache": "^7.10.10", "@types/luxon": "^3.3.1", "@types/mustache": "^4.1.1", "@types/node": "^22.0.0", diff --git a/apps/frontend/src/components/global/Snackbar.vue b/apps/frontend/src/components/global/Snackbar.vue index fd200694a5..9dbffc5251 100644 --- a/apps/frontend/src/components/global/Snackbar.vue +++ b/apps/frontend/src/components/global/Snackbar.vue @@ -3,13 +3,17 @@ v-if="show" id="info-snackbar" v-model="show" - :color="error ? 'error' : 'success'" + :color="error ? 'error' : warning ? 'warning' : 'success'" elevation="24" timeout="10000" top > {{ message }} +
+ {{ hrefText }} +
+