hugo/commands
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
..
check.go
check_darwin.go
commandeer.go Add redirect support to the server 2020-05-28 16:25:34 +02:00
commands.go modules: Make ignoreVendor a glob pattern 2020-09-10 08:47:05 +02:00
commands_test.go modules: Make ignoreVendor a glob pattern 2020-09-10 08:47:05 +02:00
config.go
convert.go
deploy.go deploy: Ensure that non-trivial default flag values are passed through. 2020-07-04 21:19:25 +02:00
env.go
gen.go
genautocomplete.go
genchromastyles.go commands: Modify gen chromastyles to output all CSS classes 2020-04-13 18:31:33 +02:00
gendoc.go
gendocshelper.go
genman.go
helpers.go
hugo.go modules: Make ignoreVendor a glob pattern 2020-09-10 08:47:05 +02:00
hugo_test.go
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_test.go
mod.go Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
mod_npm.go Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
new.go
new_content_test.go
new_site.go
new_theme.go
release.go
release_noop.go
server.go commands: Fix URL rewrites vs fast render server mode 2020-06-06 12:37:42 +02:00
server_errors.go
server_test.go
static_syncer.go
version.go