tiktok-sparo/apps/sparo-lib/assets/sparo-profile.json

61 lines
2.2 KiB
JSON
Raw Normal View History

2024-03-05 01:28:05 -05:00
/**
* OWNER: <your team name>
* PURPOSE: <what you use this profile for>
*/
2024-02-23 14:25:58 -05:00
{
2024-02-23 18:20:32 -05:00
"$schema": "https://tiktok.github.io/sparo/schemas/sparo-profile.schema.json",
2024-02-23 14:25:58 -05:00
/**
2024-02-23 18:20:32 -05:00
* A list of Rush project selectors indicating the project folders to be
* included for sparse checkout. The selectors will be combined to make
* the union superset of projects. See the Rush selector docs for details:
* https://rushjs.io/pages/developer/selecting_subsets/
2024-02-23 14:25:58 -05:00
*/
"selections": [
2024-02-23 18:20:32 -05:00
/**
* For example, include all Rush projects tagged with "tag:my-team"
* as well as the dependency workspace projects needed to build them.
* Tag here points to Rush's project tags. See the Rush tag docs for details:
* https://rushjs.io/pages/developer/project_tags/
2024-02-23 18:20:32 -05:00
*/
2024-02-23 14:25:58 -05:00
// {
// "selector": "--to",
2024-02-23 18:20:32 -05:00
// "argument": "tag:my-team"
// },
/**
* For example, include the project called "my-library", as well as all
* projects that are impacted by changes to it, as well as the dependency
* projects needed to build everything.
*/
// {
// "selector": "--from",
// "argument": "my-library"
2024-02-23 14:25:58 -05:00
// }
],
/**
2024-03-05 01:28:05 -05:00
* A list of arbitrary additional folders to be included for checkout,
* not necessarily corresponding to any workspace project.
* Each path given should be relative to the root directory of the Monorepo.
* Wildcards and glob patterns are not permitted due to a number of shortcomings.
* See the git sparse-checkout documentation for details:
* https://git-scm.com/docs/git-sparse-checkout#_internalsnon_cone_problems
2024-02-23 14:25:58 -05:00
*/
"includeFolders": [
2024-02-23 18:20:32 -05:00
// "path/to/include"
2024-02-23 14:25:58 -05:00
],
/**
2024-03-05 01:28:05 -05:00
* A list of folders to be excluded from the checkout. This field takes precedence
* over the "includeFolders" and "selections" fields, guaranteeing that the
2024-02-23 18:20:32 -05:00
* specified path will definitely not be included.
* Each path given should be relative to the root directory of the Monorepo.
* Wildcards and glob patterns are not permitted due to a number of shortcomings.
* See the git sparse-checkout documentation for details:
* https://git-scm.com/docs/git-sparse-checkout#_internalsnon_cone_problems
2024-02-23 14:25:58 -05:00
*/
"excludeFolders": [
2024-02-23 18:20:32 -05:00
// "path/to/exclude"
2024-02-23 14:25:58 -05:00
]
}