extension-cookiecutter-ts icon indicating copy to clipboard operation
extension-cookiecutter-ts copied to clipboard

Add a lerna/monorepo switch or alternate cookiecutter

Open bollwyvl opened this issue 2 years ago • 1 comments

Problem

It doesn't take long for an extension to benefit from multiple, separately npm-packaged extensions which are still distributed in the same pypi package. This is particularly relevant to themes.

Proposed Solution

One of:

  • add a use_lerna switch to this repo
  • split out an extension-cookiecutter-ts-lerna, as it's a whole other thing

Additional context

This stemmed from a discussion on theme extensions, which don't play well outside of strict light/dark variants, but the monorepo pattern

  • adds lerna to package.json
  • uses the packages/ directory layout
  • update pyproject.toml to ensure the static assets are happy
  • uses a composite build

bollwyvl avatar Mar 22 '23 16:03 bollwyvl

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Mar 22 '23 16:03 welcome[bot]