Skip to content

Commit a767b7d

Browse files
committed
docs(swiftpm): list watchPaths in the plugin return table
1 parent ab82a40 commit a767b7d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/react-native/scripts/spm/__docs__/spm-autolinking-plugins.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ so it stays correct across repackaging.
339339
| `generatedSources` | Recorded for the codegen step to register (e.g. a module-registry `.swift`). |
340340
| `flavoredFrameworks` | Mandatory Debug/Release dynamic XCFramework pairs normalized outside SwiftPM. Malformed or incomplete entries are fatal. |
341341
| `scriptPhases` | Recorded for `spm add` / `update` to emit one `PBXShellScriptBuildPhase` per entry on the app target. Malformed entries and duplicate `id`s are fatal. |
342+
| `watchPaths` | The auto-sync staleness inputs (see [`watchPaths`](#watchpaths--plugin-staleness-inputs)). Invalid entries are dropped with a warning, not fatal. |
342343

343344
The plugin returns **data**. It never writes into React Native's generated tree.
344345
RN owns the merge, so a re-sync reproduces the same `Package.swift`

0 commit comments

Comments
 (0)