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
feat: Add support for additional package manifest keys (#6868)
## Description
Adds new keys to the package manifest's project section. These will be
used when publishing packages.
## Checklist
- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
Copy file name to clipboardexpand all lines: docs/book/src/forc/manifest_reference.md
+16-1
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,14 @@ The `Forc.toml` (the _manifest_ file) is a compulsory file for each package and
4
4
5
5
*[`[project]`](#the-project-section) — Defines a sway project.
6
6
*`name` — The name of the project.
7
+
*`version` — The version of the project.
8
+
*`description` — A description of the project.
7
9
*`authors` — The authors of the project.
8
10
*`organization` — The organization of the project.
9
-
*`license`— The project license.
11
+
*`license` — The project license.
12
+
*`homepage` — URL of the project homepage.
13
+
*`repository` — URL of the project source repository.
14
+
*`documentation` — URL of the project documentation.
10
15
*`entry` — The entry point for the compiler to start parsing from.
11
16
* For the recommended way of selecting an entry point of large libraries please take a look at: [Libraries](./../sway-program-types/libraries.md)
12
17
*`implicit-std` - Controls whether provided `std` version (with the current `forc` version) will get added as a dependency _implicitly_. _Unless you know what you are doing, leave this as default._
@@ -29,6 +34,11 @@ An example `Forc.toml` is shown below. Under `[project]` the following fields ar
29
34
30
35
*`authors`
31
36
*`organization`
37
+
*`version`
38
+
*`description`
39
+
*`homepage`
40
+
*`repository`
41
+
*`documentation`
32
42
33
43
Also for the following fields, a default value is provided so omitting them is allowed:
34
44
@@ -39,6 +49,11 @@ Also for the following fields, a default value is provided so omitting them is a
0 commit comments