Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Steve Billings
committed
Nov 19, 2019
1 parent
dedf341
commit 00ea941
Showing
4 changed files
with
305 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
docs/templates/content/advanced/language-and-package-managers/yarn.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Yarn support | ||
|
||
${solution_name} will run the Yarn detector if it finds both of the following in your project: | ||
|
||
* yarn.lock | ||
* package.json | ||
|
||
The Yarn detector reads both files and derives dependency information from their contents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Naming | ||
|
||
## Project and version naming | ||
|
||
By default, ${solution_name} attempts to derive the name and version of your project using the same methods that the detector | ||
uses to derive dependency information. For example, in a Maven project, the Maven detector will derive the project name | ||
and version from Maven. For projects managed using Git, if ${solution_name} is unable to determine the project name/version | ||
from the package manager, it may be able to determine the project name | ||
and version (branch) from Git. | ||
|
||
You can override the project [name](/properties/Configuration/project/#project-name) and/or [version](/properties/Configuration/project/#version-name) | ||
using properties. | ||
|
||
## Code location (scan) naming | ||
|
||
By default, a code location (scan) name generated by a detector is constructed from information that it derives | ||
from the package manager, such as project name and version, sub-project or module if applicable, | ||
and the detector type. Code location names generated by detectors end in `bom`. | ||
|
||
A code location name generated by the signature scanner is constructed from the source directory name, | ||
project name, and project version. Code location names generated by the signature scanner end in `scan`. | ||
|
||
Optionally, you can add a [prefix](/properties/Configuration/project/#scan-name-prefix-advanced) to the automatically | ||
generated code location names, or provided a base [name](/properties/Configuration/project/#scan-name-advanced). |
Oops, something went wrong.