We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143a3cd commit ad9730aCopy full SHA for ad9730a
hatch_nodejs_version/hooks.py
@@ -4,7 +4,7 @@
4
from hatchling.plugin import hookimpl
5
6
from .version_source import NodeJSVersionSource
7
-from .metadata_source import NodeJSMetadataSource
+from .metadata_source import NodeJSMetadataHook
8
9
10
@hookimpl
@@ -13,5 +13,5 @@ def hatch_register_version_source():
13
14
15
16
-def hatch_register_metadata_source():
17
- return NodeJSMetadataSource
+def hatch_register_metadata_hook():
+ return NodeJSMetadataHook
hatch_nodejs_version/metadata_source.py
@@ -21,7 +21,7 @@
21
}
22
23
24
-class NodeJSMetadataSource(MetadataHookInterface):
+class NodeJSMetadataHook(MetadataHookInterface):
25
PLUGIN_NAME = "nodejs"
26
27
def __init__(self, *args, **kwargs):
0 commit comments