Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions common/autoinstallers/plugins/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "plugins",
"version": "1.0.0",
"private": true,
"dependencies": {
"@rushstack/rush-published-versions-json-plugin": "0.1.0"
}
}
316 changes: 316 additions & 0 deletions common/autoinstallers/plugins/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-plugin-manifest.schema.json",
"plugins": [
{
"pluginName": "rush-published-versions-json-plugin",
"description": "A Rush plugin for generating a JSON file containing the versions of all published packages in the monorepo.",
"entryPoint": "./lib-commonjs/index.js",
"associatedCommands": ["record-published-versions"],
"commandLineJsonFilePath": "./command-line.json"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/command-line.schema.json",
"commands": [
{
"commandKind": "globalPlugin",
"name": "record-published-versions",
"summary": "Generates a JSON file recording the version numbers of all published packages.",
"safeForSimultaneousRushProcesses": true
}
],
"parameters": [
{
"parameterKind": "string",
"longName": "--output-path",
"shortName": "-o",
"argumentName": "FILE_PATH",
"description": "The path to the output JSON file. Relative paths are resolved from the repo root.",
"associatedCommands": ["record-published-versions"],
"required": true
}
]
}
17 changes: 14 additions & 3 deletions common/config/azure-pipelines/npm-post-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,21 @@ extends:
--verbose
DisplayName: 'Rush Build (repo-toolbox)'

- script: 'node repo-scripts/repo-toolbox/lib-commonjs/start.js bump-decoupled-local-dependencies'
displayName: 'Bump decoupled local dependencies'
- template: /common/config/azure-pipelines/templates/run-repo-toolbox.yaml@self
parameters:
Arguments: 'bump-decoupled-local-dependencies'
DisplayName: 'Bump decoupled local dependencies'

- template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self
parameters:
Arguments: 'update'
DisplayName: 'Rush Update'

- template: /common/config/azure-pipelines/templates/install-run-rush.yaml@self
parameters:
Arguments: 'update-autoinstaller --name plugins'
DisplayName: 'Rush Update Autoinstaller (plugins)'

- bash: cp common/temp/install-run/@microsoft+rush@*/package-lock.json common/config/validation/rush-package-lock.json
displayName: 'Update rush-package-lock.json'

Expand Down Expand Up @@ -206,7 +213,11 @@ extends:
# Run api-documenter with the Docusaurus plugin from the
# api.rushstack.io project directory so it picks up
# config/api-documenter.json.
- script: 'npx @microsoft/api-documenter@latest generate --input-folder $(Pipeline.Workspace)/api --output-folder ./docs/pages'
- script: >
npx @microsoft/api-documenter@latest
generate
--input-folder $(Pipeline.Workspace)/api
--output-folder ./docs/pages
displayName: 'Generate API documentation'
workingDirectory: websites/api.rushstack.io

Expand Down
Loading