Skip to content

Basic infrastructure to prepare for strict mode updates#941

Open
daniel-heppner-ibigroup wants to merge 7 commits into
opentripplanner:masterfrom
ibi-group:strict-mode-tooling
Open

Basic infrastructure to prepare for strict mode updates#941
daniel-heppner-ibigroup wants to merge 7 commits into
opentripplanner:masterfrom
ibi-group:strict-mode-tooling

Conversation

@daniel-heppner-ibigroup
Copy link
Copy Markdown
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup commented Apr 28, 2026

This PR is mostly focused on removing hoisted modules, which surfaced a bunch of dependencies that were missing in packages around the app. I went through and added those dependencies to the specific packages where they're required.

This was a necessary precursor to enabling strict mode since we need to more tightly control the dependencies of each package to get the types correct.

Copy link
Copy Markdown
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

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

Unhoisted! Wow we are so on the ground

Star,
Train,
} from "styled-icons/fa-solid";
} from "@styled-icons/fa-solid";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How did this ever work lol

"react-map-gl": "catalog:"
},
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d"
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is this even for

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

apparently this is something lerna uses... idk if we need it but I'm just going to leave it for now

danielhep added 6 commits May 7, 2026 12:13
…e deps

- Set TS compile target to es2020
- Remove dep hoisting, add pnpm-workspace.yaml config
- Add missing type dependencies to packages without strict-mode branches
- Fix husky setup
@daniel-heppner-ibigroup daniel-heppner-ibigroup added the BLOCKERS Blockers exist outside of otp-ui (e.g., backend, service, etc...) label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLOCKERS Blockers exist outside of otp-ui (e.g., backend, service, etc...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants