Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralize dev dependencies #898

Merged
merged 3 commits into from
Feb 17, 2025
Merged

Centralize dev dependencies #898

merged 3 commits into from
Feb 17, 2025

Conversation

emersion
Copy link
Member

@emersion emersion commented Feb 12, 2025

See individual commits.

osrd-ui's root package provides some re-usable build tool configurations, for instance postcss-base.config.cjs and rollup-base.config.js.

Make it so the root package contains the devDependencies required to run these configuration files instead of duplicating them in each sub-package. That way, we don't need to keep all of these in sync when adding/removing a plugin.

While at it, drop unused dependencies such as rollup-plugin-serve.

osrd-ui's root package provides some re-usable build tool
configurations, for instance postcss-base.config.cjs and
rollup-base.config.js.

Make it so the root package contains the devDependencies required
to run these configuration files instead of duplicating them in
each sub-package. That way, we don't need to keep all of these in
sync when adding/removing a plugin.

While at it, drop unused dependencies such as rollup-plugin-serve.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion requested review from Synar and Math-R February 12, 2025 07:00
@emersion emersion requested a review from a team as a code owner February 12, 2025 07:00
@emersion emersion changed the title all: centralize dev dependencies Centralize dev dependencies Feb 12, 2025
This should be a dev dependency, and it's already in the root
package.json.

Signed-off-by: Simon Ser <[email protected]>
These are not required at run-time, so we don't need to make osrd-ui
users download and install them with osrd-ui.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion self-assigned this Feb 12, 2025
Copy link
Contributor

@Synar Synar left a comment

Choose a reason for hiding this comment

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

LGTM ^^

Copy link
Contributor

@Math-R Math-R left a comment

Choose a reason for hiding this comment

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

lgtm ! thanks !

@emersion emersion added this pull request to the merge queue Feb 17, 2025
Merged via the queue into dev with commit f39c51e Feb 17, 2025
6 checks passed
@emersion emersion deleted the emr/lean-dev-deps branch February 17, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants