From ad889f0cde2a09f884cd30da41a115032d8a7b84 Mon Sep 17 00:00:00 2001 From: Reggi Date: Fri, 13 Sep 2024 15:17:47 -0400 Subject: [PATCH 1/2] Update docs to include note about submodules & workspaces --- .../about-packages-and-modules.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx b/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx index 258b00654b8..a0bfe791fb2 100644 --- a/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx +++ b/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx @@ -39,6 +39,8 @@ Git URLs used for npm packages can be formatted in the following ways: The `commit-ish` can be any tag, sha, or branch that can be supplied as an argument to `git checkout`. The default `commit-ish` is `HEAD`. +Installing any package directly from git will not install [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or workspaces. + ## About modules A **module** is any file or directory in the `node_modules` directory that can be loaded by the Node.js `require()` function. From 6fffe17ac8560e87188254fadea2da7eae83f1c9 Mon Sep 17 00:00:00 2001 From: reggi Date: Fri, 13 Sep 2024 15:28:52 -0400 Subject: [PATCH 2/2] prettier --- .../about-packages-and-modules.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx b/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx index a0bfe791fb2..bad322da65b 100644 --- a/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx +++ b/content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx @@ -39,7 +39,7 @@ Git URLs used for npm packages can be formatted in the following ways: The `commit-ish` can be any tag, sha, or branch that can be supplied as an argument to `git checkout`. The default `commit-ish` is `HEAD`. -Installing any package directly from git will not install [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or workspaces. +Installing any package directly from git will not install [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or workspaces. ## About modules