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
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
approvedGitRepositories:
- 'https://github.com/yarnpkg/HSLdevcom/*'
- 'https://github.com/HSLdevcom/*'

enableScripts: false

Expand Down
4 changes: 2 additions & 2 deletions codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ts:check": "yarn tsc --noEmit"
},
"dependencies": {
"@babel/core": "^7.29.7",
"@babel/core": "^7.29.13",
"@graphql-codegen/add": "^6.0.1",
"@graphql-codegen/cli": "^6.3.1",
"@graphql-codegen/introspection": "^5.0.2",
Expand All @@ -21,7 +21,7 @@
"@graphql-tools/schema": "^10.1.5",
"@parcel/watcher": "^2.6.0",
"@types/node": "catalog:",
"graphql": "^16.14.2",
"graphql": "^16.15.0",
"graphql-tag": "^2.12.7",
"ts-node": "^10.9.2",
"typescript": "catalog:"
Expand Down
2 changes: 1 addition & 1 deletion cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@hsl/timetables-data-inserter": "1.0.0",
"cypress": "^16.3.0",
"cypress-ctrf-json-reporter": "^0.2.0",
"cypress-split": "^1.25.0",
"cypress-split": "^1.25.4",
"lodash": "catalog:",
"qs": "catalog:"
},
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,34 +38,34 @@
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
"@eslint-react/eslint-plugin": "^5.28.6",
"@eslint-react/kit": "^5.28.6",
"@eslint-react/eslint-plugin": "^5.30.6",
"@eslint-react/kit": "^5.30.6",
"@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/confusing-browser-globals": "^1.0.3",
"@types/jest": "^30.0.0",
"@types/node": "^26.6.5",
"@typescript-eslint/utils": "^8.72.0",
"concurrently": "^10.0.6",
"@types/node": "catalog:",
"@typescript-eslint/utils": "^8.74.0",
"concurrently": "^10.0.7",
"confusing-browser-globals": "^1.0.11",
"eslint": "^10.13.0",
"eslint": "^10.15.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-cypress": "^7.0.2",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jest": "^29.17.0",
"eslint-plugin-cypress": "^7.2.0",
"eslint-plugin-import-x": "^4.18.1",
"eslint-plugin-jest": "^29.17.1",
"eslint-plugin-jsx-a11y-x": "^0.2.0",
"eslint-plugin-lodash": "^8.1.0",
"eslint-plugin-n": "^18.5.0",
"globals": "^17.13.0",
"globals": "^17.14.0",
"jest": "^30.5.2",
"jest-environment-jsdom": "^30.5.2",
"prettier": "^3.9.10",
"prettier": "^3.10.1",
"prettier-plugin-tailwindcss": "^0.8.1",
"ts-jest": "^29.4.15",
"ts-node": "^10.9.2",
"typescript": "catalog:",
"typescript-eslint": "^8.72.0",
"typescript-eslint": "^8.74.0",
"zod": "^3.25.76"
},
"resolutions": {
Expand Down
4 changes: 2 additions & 2 deletions test-db-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"ts:build": "yarn tsc --build"
},
"dependencies": {
"graphql": "^17.0.2",
"graphql": "^17.1.0",
"graphql-tag": "^2.12.7",
"knex": "^3.3.0",
"lodash": "catalog:",
Expand All @@ -39,7 +39,7 @@
"@types/geojson": "^7946.0.16",
"@types/node": "catalog:",
"@types/pg": "^8.23.1",
"rollup": "^4.65.0",
"rollup": "^4.68.8",
"ts-node": "^10.9.2",
"typescript": "catalog:"
}
Expand Down
42 changes: 21 additions & 21 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,38 @@
"@hookform/resolvers": "^3.10.0",
"@mapbox/mapbox-gl-draw": "^1.5.2",
"@microsoft/applicationinsights-react-js": "^18.3.6",
"@microsoft/applicationinsights-web": "^3.4.5",
"@reduxjs/toolkit": "^2.13.0",
"@microsoft/applicationinsights-web": "^3.4.6",
"@reduxjs/toolkit": "^2.15.0",
"@seznam/compose-react-refs": "^1.0.6",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/postcss": "^4.3.5",
"@turf/turf": "^7.4.0",
"@types/geojson": "^7946.0.16",
"apollo-link-scalars": "^5.1.0",
"axios": "^1.20.0",
"graphql": "^16.14.2",
"graphql-ws": "^6.4.1",
"apollo-link-scalars": "^5.2.0",
"axios": "^1.21.1",
"graphql": "^16.15.0",
"graphql-ws": "^6.4.3",
"hsl-map-style": "HSLdevcom/hsl-map-style#305b1123504d54d28e12298aeb21442f06758309",
"i18next": "^26.5.6",
"immer": "^11.2.9",
"i18next": "^26.7.2",
"immer": "^11.2.10",
"lodash": "catalog:",
"maplibre-gl": "^5.24.0",
"next": "^16.4.2",
"maplibre-gl": "^5.24.1",
"next": "^16.4.6",
"qs": "catalog:",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^3.0.0",
"react-hook-form": "^7.90.0",
"react-helmet-async": "^3.2.0",
"react-hook-form": "^7.92.0",
"react-hot-toast": "^2.6.1",
"react-i18next": "^17.1.3",
"react-i18next": "^17.1.13",
"react-icons": "^5.7.0",
"react-map-gl": "^8.1.3",
"react-redux": "^9.3.0",
"react-router": "^7.18.4",
"react-redux": "^9.3.1",
"react-router": "^7.18.6",
"react-spinners": "^0.17.1",
"redux-logger": "^3.0.6",
"tailwind-merge": "^3.7.0",
"tailwindcss": "^4.3.3",
"tslib": "^2.8.1",
"tailwind-merge": "^3.7.1",
"tailwindcss": "^4.3.5",
"tslib": "^2.9.1",
"zod": "^3.25.76"
},
"devDependencies": {
Expand All @@ -69,10 +69,10 @@
"@types/react-dom": "^18.3.7",
"@types/redux-logger": "^3.0.13",
"cross-fetch": "^4.1.0",
"csstype": "^3.2.3",
"csstype": "^3.2.4",
"express": "^5.3.0",
"jsdom-testing-mocks": "^1.16.0",
"postcss": "^8.5.31",
"postcss": "^8.5.33",
"typescript": "catalog:"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LineString } from 'geojson';
import type { LineString } from 'geojson';
import { RouteDirectionEnum } from '../../../../../generated/graphql';
import { Priority } from '../../../../../types/enums';
import { VersionStatus } from '../../../../common/Versions';
Expand Down
2 changes: 0 additions & 2 deletions ui/src/components/StopRegistry/Stops/Common/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// i18n does export a TYPE called i18n, which throws the import plugin off.
// eslint-disable-next-line import-x/no-named-as-default
import i18n from 'i18next';
import '../../../../i18n';
import { optionalBooleanToUiText, translateStopTypes } from './utils';
Expand Down
2 changes: 0 additions & 2 deletions ui/src/components/common/Navbar/LanguageDropdown.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { fireEvent, screen } from '@testing-library/react';
// i18n does export a TYPE called i18n, wich throws the import plugin off.
// eslint-disable-next-line import-x/no-named-as-default
import i18n from 'i18next';
import { render } from '../../../utils/test-utils';
import '../../../i18n';
Expand Down
7 changes: 6 additions & 1 deletion ui/src/utils/gis.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Feature, Point as GeoJSONPoint, Geometry, Position } from 'geojson';
import type {
Feature,
Point as GeoJSONPoint,
Geometry,
Position,
} from 'geojson';
import flow from 'lodash/flow';
import {
StopRegistryGeoJson,
Expand Down
1 change: 0 additions & 1 deletion ui/src/utils/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// null values are valid for patches, so here checking for undefined values only
export function defaultTo<V, D>(value: V, defaultValue: D) {
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
return value === undefined ? defaultValue : value;
}

Expand Down
Loading
Loading