You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/package.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -405,6 +405,21 @@ A list of packages that the current package replaces.
405
405
Setting this field allows the current package to overwrite and take ownership of files from other packages.
406
406
Note that the replaced packages will not be automatically uninstalled unless you also declare a conflict with them using the [`conflicts` field](#conflicts-field).
407
407
408
+
#### `provides` field
409
+
410
+
<table>
411
+
<tr>
412
+
<th>Required?</th>
413
+
<td>No, defaults to <code>()</code></th>
414
+
</tr>
415
+
<tr>
416
+
<th>Type</th>
417
+
<td>Array of strings</td>
418
+
</tr>
419
+
</table>
420
+
421
+
A list of virtual packages that the current package provides.
422
+
408
423
#### `package()` function
409
424
410
425
The `package()` function populates the `$pkgdir` directory with the files and directories that need to be installed using artifacts from the `$srcdir` directory.
0 commit comments