Updated packages and fixed identified CS and typo in sonar-project.properties
Some checks failed
Sonar / SonarQube (push) Has been cancelled

This commit is contained in:
Liviu Burcusel 2025-11-15 12:43:07 +01:00
parent defa605e45
commit b5b082bc5d
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
6 changed files with 819 additions and 501 deletions

1281
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -16,7 +16,7 @@
},
"dependencies": {
"@nuxtjs/tailwindcss": "^7.0.0-beta.1",
"@primeuix/themes": "^1.2.5",
"@primeuix/themes": "^2.0.1",
"nuxt": "^4.1.3",
"primeicons": "^7.0.0",
"primevue": "^4.4.1",

View file

@ -5,7 +5,7 @@ sonar.projectName=Glowing Fiesta
sonar.projectVersion=1.0.0
sonar.sourceEncoding=UTF-8
sonar.sources=app, tests
sonar.inclusions=app/**/*.ts, app/**/*.js, app/**/*.vue, app/**/*.css, app/**/*.scss, tests/**/*.spec.ts
sonar.inclusions=app/**/*.ts, app/**/*.js, app/**/*.vue, app/**/*.css, app/**/*.scss, tests/**/*.test.ts
sonar.exclusions=**/node_modules/**, **/coverage/**, *.config.ts
sonar.coverage.exclusions=tests/**, *.config.ts
sonar.javascript.lcov.reportPaths=coverage/lcov.info

View file

@ -7,15 +7,14 @@ describe("Footer.vue", () => {
const mockDate = (year: number) => {
globalThis.Date = class extends RealDate {
constructor() {
super();
return new RealDate(`${year}-01-01`);
constructor(...args: any[]) {
super(args.length === 0 ? `${year}-01-01` : args[0]);
}
static now() {
return new RealDate(`${year}-01-01`).getTime();
}
};
} as any as DateConstructor;
};
afterEach(() => {

View file

@ -2,17 +2,10 @@
// https://nuxt.com/docs/guide/concepts/typescript
"files": [],
"references": [
{
"path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
}
{ "path": "./.nuxt/tsconfig.app.json" },
{ "path": "./.nuxt/tsconfig.server.json" },
{ "path": "./.nuxt/tsconfig.shared.json" },
{ "path": "./.nuxt/tsconfig.node.json" },
{ "path": "./tsconfig.test.json" }
]
}

11
tsconfig.test.json Normal file
View file

@ -0,0 +1,11 @@
{
"compilerOptions": {
"paths": {
"~": ["./app"],
"~/*": ["./app/*"],
"@": ["./app"],
"@/*": ["./app/*"]
}
},
"include": ["./tests/**/*"]
}