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-06 10:46:11-07:00
log236fb915cc1c3b59b47e609125b680743c9c1ec0
tree11c8ef6b4d9552bff54eae23ed40d485529af381
parente9388fde6495c2c6bf91cacd9e92f52ae0347a83

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....@@ -12,6 +12,14 @@ build.zig.
1212
13String. Required.13String. 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
15### `version`23### `version`
1624
17String. Required.25String. Required.
lib/init/build.zig.zon+8
...@@ -1,5 +1,13 @@...@@ -1,5 +1,13 @@
1.{1.{
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.
2 .name = "$",9 .name = "$",
10
3 // This is a [Semantic Version](https://semver.org/).11 // This is a [Semantic Version](https://semver.org/).
4 // In a future version of Zig it will be used for package deduplication.12 // In a future version of Zig it will be used for package deduplication.
5 .version = "0.0.0",13 .version = "0.0.0",