Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package/v1.2.0/hatch_pkg_metadata_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9_]+$",
"description": "Name of the Hatch package"
"pattern": "^[A-Za-z0-9_\\-./\\\\:]+$",
"description": "Name of the Hatch package. The name can match an absolute or relative path for local packages. If it is a relative path, it is relative to the package's root directory. For remote packages (i.e. Hatch registry), a single name or, to remove ambiguity, the name prepended with the repository name, e.g., '<hatch-repo-name>:<package-name>'."
},
"version_constraint": {
"type": "string",
Expand All @@ -96,8 +96,8 @@
"properties": {
"name": {
"type": "string",
"pattern": "^\\w+$",
"description": "Name of the Python package"
"pattern": "^[\\w\\-./\\\\]+$",
"description": "Name of the Python package. The name can match an absolute or relative path to a directory to a local package. If it is a relative path, it is relative to the package's root directory."
},
"version_constraint": {
"type": "string",
Expand Down