Skip to content

Commit

Permalink
Merge pull request #227 from microsoft/octogonz/rush-stack-2024-07
Browse files Browse the repository at this point in the history
Update Rush Stack schemas
  • Loading branch information
octogonz authored Jul 30, 2024
2 parents 94eb838 + 6b6c524 commit 430922f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
28 changes: 14 additions & 14 deletions api-extractor/v7/api-extractor.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,25 @@
}
},

"newlineKind": {
"description": "Specifies what type of newlines API Extractor should use when writing output files. By default, the output files will be written with Windows-style newlines. To use POSIX-style newlines, specify \"lf\" instead. To use the OS's default newline kind, specify \"os\".",
"type": "string",
"enum": ["crlf", "lf", "os"],
"default": "crlf"
},

"enumMemberOrder": {
"description": "Specifies how API Extractor sorts the members of an enum when generating the .api.json doc model. \n 'by-name': sort the items according to the enum member name \n 'preserve': keep the original order that items appear in the source code",
"type": "string",
"enum": ["by-name", "preserve"],
"default": "by-name"
},

"testMode": {
"description": "Set to true invoking API Extractor's test harness. When \"testMode\" is true, the \"toolVersion\" field in the .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests.",
"type": "boolean"
},

"compiler": {
"description": "Determines how the TypeScript compiler engine will be invoked by API Extractor.",
"type": "object",
Expand Down Expand Up @@ -68,12 +80,12 @@
},

"reportFileName": {
"description": "The base filename for the API report files. It will be combined with \"reportFolder\" or \"reportTempFolder\" to produce a full file path. It should not contain a file extension, nor a path separator such as \"\\\" or \"/\". The resulting file with have the extension \"api.md\". The \"complete\" report variant uses this base filename directly; other variants insert a name such as \"my-report.alpha.api.md\" or \"my-report.beta.api.md\" for alpha and beta variants.",
"description": "The base filename for the API report files, to be combined with \"reportFolder\" or \"reportTempFolder\" to produce the full file path. The \"reportFileName\" should not include any path separators such as \"\\\" or \"/\". The \"reportFileName\" should not include a file extension, since API Extractor will automatically append an appropriate file extension such as \".api.md\". If the \"reportVariants\" setting is used, then the file extension includes the variant name, for example \"my-report.public.api.md\" or \"my-report.beta.api.md\". The \"complete\" variant always uses the simple extension \"my-report.api.md\".\n\nPrevious versions of API Extractor required \"reportFileName\" to include the \".api.md\" extension explicitly; for backwards compatibility, that is still accepted but will be discarded before applying the above rules.",
"type": ["string"]
},

"reportVariants": {
"description": "To support different approval requirements for different API levels, multiple variants of the API report can be generated. The \"reportVariants\" setting specifies a list of variants to be generated. If omitted, by default only the \"complete\" variant will be generated, which includes all @alpha, @beta, and @public items. Other possible variants are \"alpha\" (@alpha + @beta + @public), \"beta\" (@beta + @public), and \"public\" (@public only). If you are leveraging API-Extractor's trimmed roll-ups feature, these reports will match the contents of each corresponding roll-up.",
"description": "To support different approval requirements for different API levels, multiple \"variants\" of the API report can be generated. The \"reportVariants\" setting specifies a list of variants to be generated. If omitted, by default only the \"complete\" variant will be generated, which includes all @internal, @alpha, @beta, and @public items. Other possible variants are \"alpha\" (@alpha + @beta + @public), \"beta\" (@beta + @public), and \"public\" (@public only).",
"type": "array",
"items": {
"type": "string",
Expand Down Expand Up @@ -174,13 +186,6 @@
"additionalProperties": false
},

"newlineKind": {
"description": "Specifies what type of newlines API Extractor should use when writing output files. By default, the output files will be written with Windows-style newlines. To use POSIX-style newlines, specify \"lf\" instead. To use the OS's default newline kind, specify \"os\".",
"type": "string",
"enum": ["crlf", "lf", "os"],
"default": "crlf"
},

"messages": {
"description": "Configures how API Extractor reports error and warning messages produced during analysis.",
"type": "object",
Expand All @@ -199,11 +204,6 @@
}
},
"additionalProperties": false
},

"testMode": {
"description": "Set to true invoking API Extractor's test harness. When \"testMode\" is true, the \"toolVersion\" field in the .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests.",
"type": "boolean"
}
},
"required": ["mainEntryPointFilePath"],
Expand Down
4 changes: 4 additions & 0 deletions rush/v5/experiments.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
"useIPCScriptsInWatchMode": {
"description": "If true, when running in watch mode, Rush will check for phase scripts named `_phase:<name>:ipc` and run them instead of `_phase:<name>` if they exist. The created child process will be provided with an IPC channel and expected to persist across invocations.",
"type": "boolean"
},
"rushAlerts": {
"description": "(UNDER DEVELOPMENT) The Rush alerts feature provides a way to send announcements to engineers working in the monorepo, by printing directly in the user's shell window when they invoke Rush commands. This ensures that important notices will be seen by anyone doing active development, since people often ignore normal discussion group messages or don't know to subscribe.",
"type": "boolean"
}
},
"additionalProperties": false
Expand Down

0 comments on commit 430922f

Please sign in to comment.