Hatch plugin for versioning from a package.json file
Project description
hatch-nodejs-version
Table of Contents
Global dependency
Ensure hatch-nodejs-version
is defined within the build-system.requires
field in your pyproject.toml
file.
[build-system]
requires = ["hatchling", "hatch-nodejs-version"]
build-backend = "hatchling.build"
Version source
The version source plugin name is nodejs
.
-
pyproject.toml
[tool.hatch.version] source = "nodejs"
-
hatch.toml
[version] source = "nodejs"
Version source options
Option | Type | Default | Description |
---|---|---|---|
path |
str |
package.json |
Relative path to the package.json file. |
License
hatch-nodejs-version
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hatch-nodejs-version-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3014bd34ed97998cbf39a5671da62c6aa8bcf14a00da6e279e61815093f73231 |
|
MD5 | 8ea70121c9a0e1da6f66040928a216d7 |
|
BLAKE2b-256 | 289a54984e73f09c584f169783f7e31ecaa3f493da022102f4505ee385304fa1 |
Close
Hashes for hatch_nodejs_version-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b927c8a33d4cb5e921ed8f03995f2b165813dc0cb03d21351475af01a64fdf7 |
|
MD5 | c602aa51c637db0df09afdcb5556bff3 |
|
BLAKE2b-256 | a4426cc35f4b7aa08209d12c0b145c898de212b00a4698b7c178f515a0ddeddc |