authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-05 15:45:51-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-05 15:49:47-07:00
log95f0dce7dae258fc2cf9947fdaad26d768902373
treed044235689370b2ea18b1708b8e7cff00be4a000
parentb32aa99b8704efd892567c8a716fb6c9f4e48a36

seriously people, don't put "zig-" in your package names

related #20178

2 files changed, 16 insertions(+), 0 deletions(-)

doc/build.zig.zon.md+8
......@@ -12,6 +12,14 @@ build.zig.
1212
1313String. Required.
1414
15This is the default name used by packages depending on this one. For example,
16when a user runs `zig fetch --save <url>`, this field is used as the key in the
17`dependencies` table. Although the user can choose a different name, most users
18will stick with this provided value.
19
20It is redundant to include "zig" in this name because it is already within the
21Zig package namespace.
22
1523### `version`
1624
1725String. Required.
lib/init/build.zig.zon+8
......@@ -1,5 +1,13 @@
11.{
2 // This is the default name used by packages depending on this one. For
3 // example, when a user runs `zig fetch --save <url>`, this field is used
4 // as the key in the `dependencies` table. Although the user can choose a
5 // different name, most users will stick with this provided value.
6 //
7 // It is redundant to include "zig" in this name because it is already
8 // within the Zig package namespace.
29 .name = "$",
10
311 // This is a [Semantic Version](https://semver.org/).
412 // In a future version of Zig it will be used for package deduplication.
513 .version = "0.0.0",