widget-ts-cookiecutter
widget-ts-cookiecutter copied to clipboard
Issues for Python name != JS name
https://github.com/jupyter-widgets/widget-ts-cookiecutter/issues/131#issuecomment-1517610319
For example, the install location of (nb or lab) extensions ([tool.hatch.build.targets.wheel.shared-data]
) seems better to use JavaScript name, i.e.
-"{{ cookiecutter.python_package_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.python_package_name }}"
+"{{ cookiecutter.python_package_name }}/labextension" = "share/jupyter/labextensions/{{ cookiecutter.npm_package_name }}"
because jupyter labextension develop --overwrite .
uses JS name.