Mercurial > kallithea
diff .hgignore @ 7459:19a9f02443c8
front-end: Introduce 'front-end' directory with source files for building the front-end
The top level with package.json is not included when installing with pip, and
'kallithea-cli front-end-build' and npm would thus fail.
Instead, introduce 'kallithea/front-end/'. It is under 'kallithea/' and is thus
included when doing pip install, but it is just a source directory and not
under "public". Most of the "less" stuff should probably move there. And
probably also most things that now are checked in under "public", so a fully
populated public front-end directory can be built anywhere, without write
access to the Python installation directory.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 04 Dec 2018 12:16:20 +0100 |
parents | 42163501d6b5 |
children | 7ec976c8c198 |
line wrap: on
line diff
--- a/.hgignore Sun Dec 23 21:16:07 2018 +0100 +++ b/.hgignore Tue Dec 04 12:16:20 2018 +0100 @@ -8,7 +8,6 @@ *.mo .eggs/ tarballcache/ -node_modules/ syntax: regexp ^rcextensions @@ -22,6 +21,8 @@ ^\.project$ ^\.pydevproject$ ^\.coverage$ +^kallithea/front-end/node_modules$ +^kallithea/front-end/package-lock\.json$ ^kallithea/public/css/style\.css(\.map)?$ ^kallithea/public/css/pygments.css$ ^theme\.less$