215 строки
6.5 KiB
JSON
215 строки
6.5 KiB
JSON
/**
|
|
* This is the main configuration file for Rush.
|
|
* For full documentation, please see https://rushjs.io
|
|
*/
|
|
{
|
|
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
|
|
"rushVersion": "5.108.0",
|
|
"pnpmVersion": "8.6.12",
|
|
"ensureConsistentVersions": true,
|
|
"nodeSupportedVersionRange": ">=16.0.0",
|
|
"suppressNodeLtsWarning": true,
|
|
"projectFolderMinDepth": 1,
|
|
"projectFolderMaxDepth": 5,
|
|
"gitPolicy": {},
|
|
"repository": {
|
|
"defaultBranch": "main",
|
|
"url": "https://github.com/microsoft/typespec"
|
|
},
|
|
/**
|
|
* Event hooks are customized script actions that Rush executes when specific events occur
|
|
*/
|
|
"eventHooks": {
|
|
/**
|
|
* The list of shell commands to run before the Rush installation starts
|
|
*/
|
|
"preRushInstall": [
|
|
// "common/scripts/pre-rush-install.js"
|
|
],
|
|
/**
|
|
* The list of shell commands to run after the Rush installation finishes
|
|
*/
|
|
"postRushInstall": [],
|
|
/**
|
|
* The list of shell commands to run before the Rush build command starts
|
|
*/
|
|
"preRushBuild": [],
|
|
/**
|
|
* The list of shell commands to run after the Rush build command finishes
|
|
*/
|
|
"postRushBuild": []
|
|
},
|
|
"variants": [],
|
|
"telemetryEnabled": false,
|
|
"projects": [
|
|
{
|
|
"packageName": "@typespec/compiler",
|
|
"projectFolder": "packages/compiler",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/samples",
|
|
"projectFolder": "packages/samples",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
},
|
|
{
|
|
// TMLanguage generator not in an @scope because it is neither typespec nor azure-specific.
|
|
// Eventually, it should be split off into its own repo
|
|
"packageName": "tmlanguage-generator",
|
|
"projectFolder": "packages/tmlanguage-generator",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": true
|
|
},
|
|
{
|
|
// VS Code package can't be in an @scope as it breaks VSIX package
|
|
// Eventually, this package should probably be deprecated in favor of publishing to VS marketplace
|
|
"packageName": "typespec-vscode",
|
|
"projectFolder": "packages/typespec-vscode",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
// VS package not in @scope purely for symmetry with VSCode package
|
|
// Eventually this package will also be deprecated in favor or VS marketplace
|
|
"packageName": "typespec-vs",
|
|
"projectFolder": "packages/typespec-vs",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/prettier-plugin-typespec",
|
|
"projectFolder": "packages/prettier-plugin-typespec",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/http",
|
|
"projectFolder": "packages/http",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/rest",
|
|
"projectFolder": "packages/rest",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/openapi",
|
|
"projectFolder": "packages/openapi",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/lint",
|
|
"projectFolder": "packages/lint",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/migrate",
|
|
"projectFolder": "packages/migrate",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/library-linter",
|
|
"projectFolder": "packages/library-linter",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/eslint-plugin",
|
|
"projectFolder": "packages/eslint-plugin-typespec",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/openapi3",
|
|
"projectFolder": "packages/openapi3",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/html-program-viewer",
|
|
"projectFolder": "packages/html-program-viewer",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/versioning",
|
|
"projectFolder": "packages/versioning",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/eslint-config-typespec",
|
|
"projectFolder": "packages/eslint-config-typespec",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/internal-build-utils",
|
|
"projectFolder": "packages/internal-build-utils",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/spec",
|
|
"projectFolder": "packages/spec",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
},
|
|
{
|
|
"packageName": "@typespec/playground",
|
|
"projectFolder": "packages/playground",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "playground"
|
|
},
|
|
{
|
|
"packageName": "@typespec/playground-website",
|
|
"projectFolder": "packages/playground-website",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
},
|
|
{
|
|
"packageName": "@typespec/website",
|
|
"projectFolder": "packages/website",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
},
|
|
{
|
|
"packageName": "@typespec/bundler",
|
|
"projectFolder": "packages/bundler",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "playground"
|
|
},
|
|
{
|
|
"packageName": "@typespec/protobuf",
|
|
"projectFolder": "packages/protobuf",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/tspd",
|
|
"projectFolder": "packages/tspd",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
},
|
|
{
|
|
"packageName": "@typespec/json-schema",
|
|
"projectFolder": "packages/json-schema",
|
|
"reviewCategory": "production",
|
|
"versionPolicyName": "typespec"
|
|
},
|
|
{
|
|
"packageName": "@typespec/best-practices",
|
|
"projectFolder": "packages/best-practices",
|
|
"reviewCategory": "production",
|
|
"shouldPublish": false
|
|
}
|
|
]
|
|
}
|