Skip to content
Open
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
1 change: 1 addition & 0 deletions apps/rush/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@rushstack/rush-amazon-s3-build-cache-plugin": "workspace:*",
"@rushstack/rush-azure-storage-build-cache-plugin": "workspace:*",
"@rushstack/rush-http-build-cache-plugin": "workspace:*",
"@rushstack/rush-serve-plugin": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/semver": "7.5.0"
},
Expand Down
1 change: 1 addition & 0 deletions apps/rush/src/start-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function includePlugin(pluginName: string, pluginPackageName?: string): void {
includePlugin('rush-amazon-s3-build-cache-plugin');
includePlugin('rush-azure-storage-build-cache-plugin');
includePlugin('rush-http-build-cache-plugin');
includePlugin('rush-serve-plugin');
// Including this here so that developers can reuse it without installing the plugin a second time
includePlugin('rush-azure-interactive-auth-plugin', '@rushstack/rush-azure-storage-build-cache-plugin');

Expand Down
10 changes: 10 additions & 0 deletions common/changes/@microsoft/rush/watch-rework_2025-09-26-23-50.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "(PLUGIN BREAKING CHANGE) Overhaul watch-mode commands such that the graph is only created once at the start of command invocation, along with a stateful manager object. Plugins may now access the manager object and use it to orchestrate and tap into the build process.",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
7 changes: 7 additions & 0 deletions common/config/rush-plugins/rush-serve-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush-serve-plugin-options.schema.json",
"phasedCommands": ["start"],
"portParameterLongName": "--port",
"buildStatusWebSocketPath": "/ws",
"logServePath": "/logs"
}
17 changes: 13 additions & 4 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,24 +245,25 @@
// Used for very simple builds that don't support CLI arguments like `--production` or `--fix`
"name": "_phase:lite-build",
"dependencies": {
"upstream": ["_phase:lite-build", "_phase:build"]
"upstream": ["_phase:build"]
},
"missingScriptBehavior": "silent",
"allowWarningsOnSuccess": false
},
{
"name": "_phase:build",
"dependencies": {
"self": ["_phase:lite-build"],
"upstream": ["_phase:build"]
// Don't need to declare the dependency on _phase:build because it is transitive via _phase:lite-build
"self": ["_phase:lite-build"]
},
"missingScriptBehavior": "log",
"allowWarningsOnSuccess": false
},
{
"name": "_phase:test",
"dependencies": {
"self": ["_phase:lite-build", "_phase:build"]
// Dependency on _phase:lite-build is transitive via _phase:build
"self": ["_phase:build"]
},
"missingScriptBehavior": "silent",
"allowWarningsOnSuccess": false
Expand Down Expand Up @@ -494,6 +495,14 @@
"associatedPhases": ["_phase:build", "_phase:test"],
"associatedCommands": ["build", "rebuild", "test", "retest"]
},
{
"longName": "--port",
"parameterKind": "integer",
"argumentName": "PORT",
"description": "The port to use for the server",
"associatedPhases": [],
"associatedCommands": ["start"]
},
{
"longName": "--update-snapshots",
"parameterKind": "flag",
Expand Down
2 changes: 1 addition & 1 deletion common/config/rush/experiments.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
* of `_phase:<name>` if they exist. The created child process will be provided with an IPC channel and expected to persist
* across invocations.
*/
// "useIPCScriptsInWatchMode": true,
"useIPCScriptsInWatchMode": true,

/**
* (UNDER DEVELOPMENT) The Rush alerts feature provides a way to send announcements to engineers
Expand Down
4 changes: 4 additions & 0 deletions common/config/rush/nonbrowser-approved-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@
"name": "@rushstack/rush-sdk",
"allowedCategories": [ "libraries", "tests", "vscode-extensions" ]
},
{
"name": "@rushstack/rush-serve-plugin",
"allowedCategories": [ "libraries" ]
},
{
"name": "@rushstack/set-webpack-public-path-plugin",
"allowedCategories": [ "libraries", "tests" ]
Expand Down
43 changes: 23 additions & 20 deletions common/config/subspaces/default/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion common/config/subspaces/default/repo-state.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
{
"pnpmShrinkwrapHash": "8cea08431b1a848463c751666dcd35e9533ea73d",
"pnpmShrinkwrapHash": "b595f703fea0b5d0ca523cf2bc67e30981b3d0a3",
"preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c"
}
Loading