File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,29 @@ The [version source plugin](https://hatch.pypa.io/latest/plugins/version-source/
47
47
|---------------| --- |---------------|--------------------------------------------|
48
48
| `path` | `str` | `package.json` | Relative path to the `package.json` file. |
49
49
50
+
51
+ # # Metadata hook
52
+
53
+ The [metadata hook plugin](https://hatch.pypa.io/dev/plugins/metadata-hook/reference/) name is `nodejs`.
54
+
55
+ - ***pyproject.toml***
56
+
57
+ ```toml
58
+ [tool .hatch .metadata .hooks .nodejs ]
59
+ ```
60
+
61
+ - ***hatch.toml***
62
+
63
+ ```toml
64
+ [metadata .hooks .nodejs ]
65
+ ```
66
+
67
+ # ## Version source options
68
+
69
+ | Option | Type | Default | Description |
70
+ |----------|-----------------|---------|---------------------------------------------------------------------|
71
+ | `fields` | `list` of `str` | None | Optional list of fields to take from the generated metadata object. |
72
+
50
73
# # License
51
74
52
75
`hatch-nodejs-version` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
You can’t perform that action at this time.
0 commit comments