Skip to content

[Monorepo] Move config files #3487

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

Open
wants to merge 12 commits into
base: @mbert/monorepo
Choose a base branch
from

Conversation

m-bert
Copy link
Contributor

@m-bert m-bert commented Apr 14, 2025

Description

This PR moves config files to root level in monorepo.

Note

prepare was changed to postinstall, however this change is already on main so it shouldn't be critical.

Test plan

  • Perform test commit to check if commit hooks work
  • Build package and install it on external app

@m-bert m-bert requested a review from tjzel April 14, 2025 13:01
Copy link
Contributor

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 13 to 23
"@types/react": "^19.0.12",
"@types/react-test-renderer": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-plugin-module-resolver": "^5.0.2",
"clang-format": "^1.8.0",
"eslint": "^7.32.0",
"eslint-config-satya164": "^3.1.8",
"eslint-import-resolver-babel-module": "^5.2.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-prettier": "^5.2.1",
"expo": "^35.0.1",
"husky": "^8.0.1",
"jest": "^28.1.0",
"lint-staged": "^12.3.2",
"madge": "^6.1.0",
"prettier": "3.3.3",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-builder-bob": "^0.39.0",
"react-native-reanimated": "^3.12.0",
"react-test-renderer": "19.0.0",
"release-it": "^13.6.5",
"typescript": "5.0.4"
Copy link
Member

Choose a reason for hiding this comment

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

Are dependencies needed at all in the root?

Copy link
Contributor

Choose a reason for hiding this comment

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

Prettier, eslint, tsconfig.json, husky etc. are still useful to work on the files in the root. Also, you probably want the root to dictate what version of typescript, prettier etc. is used.

Copy link
Member

Choose a reason for hiding this comment

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

Do they also need to be set in the packages?

@m-bert m-bert requested a review from j-piasecki April 22, 2025 08:13
Copy link
Member

@j-piasecki j-piasecki left a comment

Choose a reason for hiding this comment

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

Take a look at #3487 (comment). If the answer is yes, then go ahead with merge.

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