You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/sources/npm.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,21 @@
2
2
3
3
The npm source will detect dependencies `package.json` is found at an apps `source_path`. It uses `npm list` to enumerate dependencies and metadata.
4
4
5
-
###Including development dependencies
5
+
## Including development dependencies
6
6
7
7
By default, the npm source will exclude all development dependencies. To include development or test dependencies, set `production_only: false` in the licensed configuration.
8
8
9
9
```yml
10
10
npm:
11
11
production_only: false
12
12
```
13
+
14
+
## Using licensed with npm workspaces
15
+
16
+
Licensed requires npm version 8.5.0 or later to enumerate dependencies inside of npm workspaces. For the best results, treat each workspace directory as a separate app `source_path`:
0 commit comments