Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"entry": "src/main.ts",
"ignoreDependencies": [
"jsonwebtoken",
"joi",
"dayjs",
"@types/multer",
"@types/geojson",
"@nestjs/typeorm",
"@nestjs/schedule",
"@nestjs/config",
"@nestjs/axios",
"@nestjs-modules/mailer",
"leaflet.markercluster",
"jquery",
"bootstrap",
"@angular-eslint/schematics",
"@angular-devkit/core",
"@angular-devkit/architect",
"@fortawesome/fontawesome-svg-core",
"@typescript-eslint/parser",
"@typescript-eslint/eslint-plugin"
]
}
3 changes: 3 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
npm run test-unit
dir: admin
node_version: 20.18.1
knip_config: .github/knip.json

tests-api:
name: Unit Tests (api)
Expand All @@ -42,6 +43,7 @@ jobs:
npm run test-unit
dir: api
node_version: 20.18.1
knip_config: .github/knip.json
sonar_args: >
-Dsonar.exclusions=**/*.spec.ts
-Dsonar.javascript.lcov.reportPaths=coverage/api/lcov.info
Expand All @@ -62,6 +64,7 @@ jobs:
npm run test-unit
dir: public
node_version: 20.18.1
knip_config: .github/knip.json

# https://github.com/marketplace/actions/aqua-security-trivy
trivy:
Expand Down
2 changes: 0 additions & 2 deletions admin/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/leaflet/dist/leaflet.js",
"node_modules/leaflet.markercluster/dist/leaflet.markercluster.js",
"node_modules/apexcharts/dist/apexcharts.min.js"
Expand Down
20 changes: 0 additions & 20 deletions admin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
"@angular/platform-browser": "^21.2.0",
"@angular/platform-browser-dynamic": "^21.2.0",
"@angular/router": "^21.2.0",
"@auth0/angular-jwt": "^5.2.0",
"@fortawesome/angular-fontawesome": "^4.0.0",

Check warning on line 24 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused dependency: @fortawesome/angular-fontawesome
"@fortawesome/fontawesome-svg-core": "^6.7.0",
"@fortawesome/free-solid-svg-icons": "^6.7.0",

Check warning on line 26 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused dependency: @fortawesome/free-solid-svg-icons
"@ng-bootstrap/ng-bootstrap": "^20.0.0",
"@ngx-dropzone/cdk": "^21.0.0",
"@ngx-dropzone/material": "^21.0.0",
Expand All @@ -36,7 +35,6 @@
"aws-amplify": "^6.16.3",
"bootstrap": "^5.3.3",
"file-saver-es": "^2.0.5",
"jquery": "^3.7.1",
"json-2-csv": "5.5.11",
"jwt-decode": "^4.0.0",
"leaflet": "^1.9.4",
Expand All @@ -62,7 +60,7 @@
"@angular/compiler-cli": "^21.2.0",
"@types/jest": "^29.5.14",
"@types/leaflet": "^1.9.12",
"@types/leaflet.markercluster": "^1.5.4",

Check warning on line 63 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused devDependency: @types/leaflet.markercluster
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"eslint": "^9.15.0",
Expand All @@ -70,10 +68,10 @@
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest-preset-angular": "^16.0.0",
"ts-jest": "^29.4.4",

Check warning on line 71 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused devDependency: ts-jest
"ts-node": "^10.9.2",

Check warning on line 72 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused devDependency: ts-node
"typescript": "^5.9.3",
"typescript-eslint": "^8.10.0",
"@noble/hashes": "^2.2.0"

Check warning on line 75 in admin/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (admin)

Unused devDependency: @noble/hashes
}
}
2 changes: 0 additions & 2 deletions public/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/leaflet/dist/leaflet.js",
"node_modules/leaflet.markercluster/dist/leaflet.markercluster.js",
"src/assets/js/utils.js"
Expand Down
36 changes: 0 additions & 36 deletions public/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@
"@angular/platform-browser": "^21.2.0",
"@angular/platform-browser-dynamic": "^21.2.0",
"@angular/router": "^21.2.0",
"@auth0/angular-jwt": "^5.2.0",
"@fortawesome/angular-fontawesome": "^4.0.0",
"@fortawesome/fontawesome-svg-core": "^6.7.0",
"@fortawesome/free-solid-svg-icons": "^6.7.0",
"@ng-bootstrap/ng-bootstrap": "^20.0.0",
"@popperjs/core": "^2.11.8",
"@rxweb/reactive-form-validators": "^13.0.1",
"@types/file-saver-es": "^2.0.3",
"@types/luxon": "^3.4.2",
"bootstrap": "^5.3.3",
"file-saver-es": "^2.0.5",
"jquery": "^3.7.1",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
"luxon": "^3.5.0",
Expand Down Expand Up @@ -64,10 +61,10 @@
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest-preset-angular": "^16.0.0",
"ts-jest": "^29.4.4",

Check warning on line 64 in public/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (public)

Unused devDependency: ts-jest
"ts-node": "^10.9.2",

Check warning on line 65 in public/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (public)

Unused devDependency: ts-node
"typescript": "^5.9.3",
"typescript-eslint": "^8.10.0",
"@noble/hashes": "^2.2.0"

Check warning on line 68 in public/package.json

View workflow job for this annotation

GitHub Actions / Unit Tests (public)

Unused devDependency: @noble/hashes
}
}
Loading