Skip to content

PB-1384 : split geoadmin modules into individual modules#1236

Merged
pakb merged 3 commits intodevelopfrom
feat-PB-1384-split-modules
Feb 14, 2025
Merged

PB-1384 : split geoadmin modules into individual modules#1236
pakb merged 3 commits intodevelopfrom
feat-PB-1384-split-modules

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Feb 12, 2025

This was necessary so that I could move the coordinate utils and number utils, whilst having the projection definition as a module. As coordinate utils is using some of proj definition, I thought it would make more sense to create a big "coordinates" module that do all things related coordinates (proj, transformation etc...)

Test link

@cypress
Copy link

cypress bot commented Feb 12, 2025

web-mapviewer    Run #4547

Run Properties:  status check passed Passed #4547  •  git commit 4e690d25d3: Merge pull request #1236 from geoadmin/feat-PB-1384-split-modules
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4547
Run duration 01m 40s
Commit git commit 4e690d25d3: Merge pull request #1236 from geoadmin/feat-PB-1384-split-modules
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

@pakb pakb force-pushed the feat-PB-1384-split-modules branch 3 times, most recently from f09843c to 1e22d19 Compare February 12, 2025 16:02
@pakb pakb requested a review from schtibe February 12, 2025 17:00
Copy link
Contributor

@schtibe schtibe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

pakb added 2 commits February 14, 2025 07:42
This was necessary so that I could move the coordinate utils and number utils, whilst having the projection definition as a module.
As coordinate utils is using some of proj definition, I thought it would make more sense to create a big "coordinates" module that do all things related coordinates (proj, transformation etc...)
modules were built in an alphabetical order, failing on CI (from scratch) because some "later" modules needed '@geoadmin/utils'.
So while we wait for pnpm migration (which might fix this issue) I've declared explicitly every workspace of our project, in the order they should be built so that no missing lib error should occur on CI.
@pakb pakb force-pushed the feat-PB-1384-split-modules branch from 1e22d19 to f57199d Compare February 14, 2025 06:42
I created a task to work on this flaky test case later
@pakb pakb merged commit 4e690d2 into develop Feb 14, 2025
6 checks passed
@pakb pakb deleted the feat-PB-1384-split-modules branch February 14, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants