diff --git a/commands/mod_npm.go b/commands/mod_npm.go index 15c875d8e..a73908e7a 100644 --- a/commands/mod_npm.go +++ b/commands/mod_npm.go @@ -37,7 +37,7 @@ func newModNPMCmd(c *modCmd) *cobra.Command { Short: "Experimental: Prepares and writes a composite package.json file for your project.", Long: `Prepares and writes a composite package.json file for your project. -On first run it creates a "package.hugo.json" in the project root if not alread there. This file will be used as a template file +On first run it creates a "package.hugo.json" in the project root if not already there. This file will be used as a template file with the base dependency set. This set will be merged with all "package.hugo.json" files found in the dependency tree, picking the version closest to the project. diff --git a/docs/content/en/commands/hugo_mod_npm_pack.md b/docs/content/en/commands/hugo_mod_npm_pack.md index cebf09cce..4b3951547 100644 --- a/docs/content/en/commands/hugo_mod_npm_pack.md +++ b/docs/content/en/commands/hugo_mod_npm_pack.md @@ -12,7 +12,7 @@ Experimental: Prepares and writes a composite package.json file for your project Prepares and writes a composite package.json file for your project. -On first run it creates a "package.hugo.json" in the project root if not alread there. This file will be used as a template file +On first run it creates a "package.hugo.json" in the project root if not already there. This file will be used as a template file with the base dependency set. This set will be merged with all "package.hugo.json" files found in the dependency tree, picking the version closest to the project.