Update docs to include note about submodules & workspaces (#1279)
Reggi committed
Sep 16, 2024 at 12:17 UTC
4f67b3df1ed70aa981b31e6da7f11bd678c0a023
1 file changed
+2
content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx
+2
@@ -39,6 +39,8 @@ Git URLs used for npm packages can be formatted in the following ways:
39
40
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`.
41
42
+Installing any package directly from git will not install [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) or workspaces.
43
+
44
## About modules
45
46
A **module** is any file or directory in the `node_modules` directory that can be loaded by the Node.js `require()` function.