hugo/hugolib
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
..
assets/images
filesystems Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
paths
testdata
testsite
404_test.go
alias.go
alias_test.go
breaking_changes_test.go
cascade_test.go
case_insensitive_test.go
collections.go
collections_test.go
config.go modules: Make ignoreVendor a glob pattern 2020-09-10 08:47:05 +02:00
config_test.go
configdir_test.go
content_map.go Fix some change detection issues on server reloads 2020-09-07 21:06:44 +02:00
content_map_page.go
content_map_test.go
content_render_hooks_test.go
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go
embedded_templates_norace_test.go
embedded_templates_test.go
fileInfo.go
fileInfo_test.go
gitinfo.go
hugo_modules_test.go Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
hugo_sites.go Fix some change detection issues on server reloads 2020-09-07 21:06:44 +02:00
hugo_sites_build.go
hugo_sites_build_errors_test.go Fix baseof block regression 2020-07-13 20:45:09 +02:00
hugo_sites_build_test.go
hugo_sites_multihost_test.go
hugo_sites_rebuild_test.go Fix some change detection issues on server reloads 2020-09-07 21:06:44 +02:00
hugo_smoke_test.go
image_test.go
js_test.go
language_content_dir_test.go
menu_test.go
minify_publisher_test.go
multilingual.go
openapi_test.go
page.go Fix some change detection issues on server reloads 2020-09-07 21:06:44 +02:00
page__common.go
page__content.go
page__data.go
page__menus.go
page__meta.go
page__new.go
page__output.go
page__paginator.go
page__paths.go
page__per_output.go
page__position.go
page__ref.go
page__tree.go
page_kinds.go
page_permalink_test.go
page_test.go
page_unwrap.go
page_unwrap_test.go
pagebundler_test.go
pagecollections.go
pagecollections_test.go
pages_capture.go Fixed misspelled words 2020-08-20 22:34:35 +02:00
pages_capture_test.go
pages_language_merge_test.go
pages_process.go
pages_test.go
paginator_test.go
permalinker.go
prune_resources.go
resource_chain_babel_test.go Improve stderr logging for PostCSS and simlilar 2020-08-20 22:32:20 +02:00
resource_chain_test.go Add "hugo mod npm pack" 2020-09-13 20:55:29 +02:00
robotstxt_test.go
rss_test.go
shortcode.go
shortcode_page.go
shortcode_test.go
site.go Print layout name if it was specified when showing missing layout file error 2020-09-13 20:36:37 +02:00
site_benchmark_new_test.go
site_output.go
site_output_test.go
site_render.go Print layout name if it was specified when showing missing layout file error 2020-09-13 20:36:37 +02:00
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap_test.go
taxonomy.go
taxonomy_test.go
template_test.go Fix some change detection issues on server reloads 2020-09-07 21:06:44 +02:00
testhelpers_test.go
translations.go