django-npm icon indicating copy to clipboard operation
django-npm copied to clipboard

Automatically pull in npm dependencies as staticfiles in your Django project

Results 13 django-npm issues
Sort by recently updated
recently updated
newest added

Redone PR after additional testing

Bumps [django](https://github.com/django/django) from 1.9 to 2.2.24. Commits 2da029d [2.2.x] Bumped version for 2.2.24 release. f27c38a [2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses. 053cc95 [2.2.x] Fixed CVE-2021-33203 --...

dependencies

Bumps [py](https://github.com/pytest-dev/py) from 1.4.31 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...

dependencies

Thanks for this piece of work. It's very usefull. collectstatic doesn't collect the following: NPM_FILE_PATTERNS = { 'tinymce': ['tinymce.min.js', 'themes/**/theme.min.js'] } This is the result of ls ```$ static/npm/tinymce/themes/** static/npm/tinymce/themes/inlite:...

Usually you only need one file from a package. You can expose that single file using NPM_FILE_PATTERNS, but the nesting of folders can still be annoying. For example, if I...

Would you like to consider a possibility of adding a command npm_ci ? Here is the reason why I am asking for this. I am going to use your package...

Also expand the ability to interact with npm `python manage.py npm_cli install bootstrap@4 -P` Along with the above capability it is also possible to run the interactive mode `python manage.py...

Hello, since version 0.1.2, no wheel file has been uploaded to pypi.org. (cf https://pypi.org/simple/django-npm/) This could improve the installation speed. ``` git checkout v1.0.0 pip install -U setuptools wheel python...

It would be amazing to have an ability to set `NPM_STATIC_FILES_PREFIX` per filetype.

On Windows, `NPM_FILE_PATTERNS` only works if you use backslash separators like so: ```python NPM_FILE_PATTERNS = { "bootstrap": [ "dist\\css\\bootstrap.min.css", "dist\\css\\bootstrap.min.css.map", "dist\\js\\bootstrap.bundle.min.js", "dist\\js\\bootstrap.bundle.min.js.map", ], } ``` This is problematic when you...