hugo/common
Bjørn Erik Pedersen 85ba9bfffb Add "hugo mod npm pack"
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into:

```
assets/_jsconfig
´``

These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename.

But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific.

This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above.

Fixes #7644
Fixes #7656
Fixes #7675
2020-09-13 20:55:29 +02:00
..
collections Fix order of GetTerms 2020-06-15 22:23:02 +02:00
constants Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy 2020-06-18 09:09:56 +02:00
herrors Revert "Revert "common/herrors: Fix typos in comments"" 2020-04-06 01:07:57 +02:00
hreflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
hugio Add Hugo Modules 2019-07-24 09:35:53 +02:00
hugo Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
loggers Improve stderr logging for PostCSS and simlilar 2020-08-20 22:32:20 +02:00
maps common/maps: Add Scratch.Values 2020-05-29 19:51:49 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
para Introduce a tree map for all content 2020-02-18 09:49:42 +01:00
terminal Fix ANSI character output regression on Windows 2018-11-02 09:09:02 +01:00
text markup/goldmark: Make auto IDs GitHub compatible 2020-01-04 19:46:01 +01:00
types Add openapi3.Unmarshal 2020-07-06 20:03:36 +02:00
urls Add file (line/col) info to ref/relref errors 2018-11-01 21:06:35 +01:00