From 04daf5cb8e57a853af27db1e9375eb5df5545d71 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Thu, 9 Jun 2022 16:54:12 -0500 Subject: [PATCH] doc: clarify required-ness of "name" and "version" in package.json files --- .../creating-a-package-json-file.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx b/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx index 3ff9e8a3374..e4d49a83b6c 100644 --- a/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx +++ b/content/packages-and-modules/contributing-packages-to-the-registry/creating-a-package-json-file.mdx @@ -25,7 +25,7 @@ to share with other developers ### Required `name` and `version` fields -A `package.json` file must contain `"name"` and `"version"` fields. +The `package.json` file of a published package must contain `"name"` and `"version"` fields. The `"name"` field contains your package's name, and must be lowercase and one word, and may contain hyphens and underscores.