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

monorepo convention #19

Closed
trydofor opened this issue Apr 19, 2024 · 7 comments
Closed

monorepo convention #19

trydofor opened this issue Apr 19, 2024 · 7 comments
Labels
better New feature or request

Comments

@trydofor
Copy link
Owner

trydofor commented Apr 19, 2024

dependencies

  • define specific version at top "@capacitor/android": "5.7.4"
  • refer them as need at sub "@capacitor/android": "*"
  • only one node_modules at top if same version
  • except android, ios, electron
  • peer range as eslint@"^8.56.0" from @vue/[email protected]

scripts

  • no script at top project
  • define it at sub project

manage, config, others

  • project level at top
  • app level at sub
@trydofor trydofor converted this from a draft issue Apr 19, 2024
@trydofor trydofor added the better New feature or request label Apr 19, 2024
@trydofor trydofor moved this from 🆕 New to 🔖 Ready in WingsBoot Backlog Apr 19, 2024
@trydofor trydofor moved this from 🔖 Ready to 🏗 In progress in WingsBoot Backlog Apr 19, 2024
@trydofor
Copy link
Owner Author

## clear deps
rm -rf package-lock.json
rm -rf node_modules
rm -rf packages/front-desktop/package-lock.json
rm -rf packages/front-desktop/node_modules
rm -rf packages/front-mobile/package-lock.json
rm -rf packages/front-mobile/node_modules

## reinstall
npm i

trydofor added a commit that referenced this issue Apr 19, 2024
@trydofor trydofor moved this from 🏗 In progress to 👀 In review in WingsBoot Backlog Apr 19, 2024
@trydofor
Copy link
Owner Author

trydofor commented Jul 18, 2024

@trydofor
Copy link
Owner Author

@trydofor
Copy link
Owner Author

https://monorepo.tools

@trydofor
Copy link
Owner Author

trydofor commented Sep 21, 2024

monorepo is terrible for front project, i came from java, but i give up after wasting so much time on thinking java way in js world.

there is no perfect way to handle monorepo deps and path for now. maybe muli-repo (multiple single repo with link) is good for me.

@trydofor
Copy link
Owner Author

@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in WingsBoot Backlog Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant