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

structure the repo #1

Open
pietroppeter opened this issue Jan 29, 2023 · 3 comments
Open

structure the repo #1

pietroppeter opened this issue Jan 29, 2023 · 3 comments

Comments

@pietroppeter
Copy link
Member

  • how do we handle requirements and stuff
  • improve on readme
  • add gitignore
  • add a CI with deploy preview
@pietroppeter
Copy link
Member Author

from discussion in nimib speaking hours:

  • minimal dependencies in main nimble file
  • inside source we have folder and each one of them is a separate package with its own nimble file
    • advantage is that locally you can treat it as a single package
    • also we manage to have a single netlify preview
    • you cannot install it from nimble
  • later when a package grows it can be pinned out of nimibex
  • we provide a binary nimiblex that allows you to install the single package (with its own dependencies)

structure:

  • first extensions to try: nbPython, Karax_widgets
  • we could try to do srcDir = "."
  • we provide binary to install single package: nimiblex install nbpython

@HugoGranstrom
Copy link
Member

An alternative to rolling our own nimiblex could be to put our hopes on the new package-thingy Atlas to support monorepos. I remember araq and mratsim discussing it in the internals chat a while ago but it isn't currently implemented.

@pietroppeter
Copy link
Member Author

as additional food for thought, a possible setup would be allow an easy way to copy and paste in a project selected modules, instead of adding this as a dependency. This is inspired by https://bvisness.me/microlibraries/ (I would expect most of the content here to be rather shallow in code complexity).

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

No branches or pull requests

2 participants