Commit 2bbd090
committed
Update dependencies
Versions not updated:
--------------------
* Apollo client V3 → V4: A major upgrade
* Headless UI + Tailwind: Major upgrades, separate ticket
* Rollup commonjs/ts plugins: need config changes
* React: Sticking to V8
* Cypress: Major upgrade, needs coordination with node version
* next: Possibly straight upgrade, held for now
* zod: Major upgrade
Other version notes:
--------------------
* react-hook-form: Bound to version 7.66.1, 7.67 has a typing bug,
which is fixed in main, but has not been published to NPM yet.
* uuid: Bound to version 11.1.0, 12+ versions have problems with
CJS/MJS import styles, and just don't work properly with our setup.
Eventually should be replaced with `crypto.randonUUID()` calls, but
we need HTTPS support in the CI test runs before we can do that.
On Zod:
-------
The react-hooks eslint plugin version has dependency on Zod V4, while
we are still using V3. Normally this would not be a problem, and under
no-packaging-bugs scenario yarn would install the multiple versions of
the package in correct sub-directories and TypeScript and code bundlers
would be able to load the correct version when needed.
But sadly there is a packaging bug in @hookform/resolvers package (at
leas on the old non-updated version we are using), that being a
missing peer-deps declaration to the required zod version. I.e. the
resolver imports zod, but does not declare that it specifically needs
the V3, thus it is possible that under certain scenarios, the V4 of
zod gets installed to the root node_modules, resulting that version
being loaded into the resolves code. Specifically this happens when
trying to build the Docker image.
Fix: Added a dependency to zip v3 to the root package.json of our
repo, this is not a true shared dependency, but this ensures that V3
gets installed as the deduplicated primary version, and v4 gets nested
under the eslint plugin's internal node_modules directory.1 parent 22f7e09 commit 2bbd090
File tree
22 files changed
+6248
-5870
lines changed- codegen
- cypress
- pageObjects
- support
- eslint/rules
- test-db-manager
- src/generated
- ui
- src
- components
- forms/line
- routes-and-lines/line-details
- stop-registry
- search/csv-export/sections
- stops/stop-details/stop-version/utils
- generated
- uiComponents
22 files changed
+6248
-5870
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
Submodule jore4-hasura updated 14 files
- .github/workflows/cd.yml+4-4
- .github/workflows/check-dump.yml+1-1
- .github/workflows/check-prettify.yml+3-3
- .github/workflows/ci.yml+3-3
- Dockerfile+1-1
- schema_reloader/Dockerfile+1-1
- test/hasura/eslint/rules/style.js-5
- test/hasura/generic/networkdb/integration-tests/function-get_distances_between_stop_points/get-distances-between-stops-points-in-journey-patterns.spec.ts+1-2
- test/hasura/generic/networkdb/unit-tests/function-maximum_priority_validity_spans/route.spec.ts+17-18
- test/hasura/generic/networkdb/unit-tests/function-maximum_priority_validity_spans/scheduled-stop-point.spec.ts+20-21
- test/hasura/package.json+17-19
- test/hasura/timetables-data-inserter/generic/models/journey-pattern-ref.ts+1-2
- test/hasura/timetables-data-inserter/utils.ts+1-2
- test/hasura/yarn.lock+698-703
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments