Skip to main content

Hatch plugin for versioning from a package.json file

Project description

hatch-nodejs-version

PyPI - Version PyPI - Python 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hatch-nodejs-version-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

hatch_nodejs_version-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file hatch-nodejs-version-0.1.0.tar.gz.

File metadata

  • Download URL: hatch-nodejs-version-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for hatch-nodejs-version-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3014bd34ed97998cbf39a5671da62c6aa8bcf14a00da6e279e61815093f73231
MD5 8ea70121c9a0e1da6f66040928a216d7
BLAKE2b-256 289a54984e73f09c584f169783f7e31ecaa3f493da022102f4505ee385304fa1

See more details on using hashes here.

Provenance

File details

Details for the file hatch_nodejs_version-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_nodejs_version-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b927c8a33d4cb5e921ed8f03995f2b165813dc0cb03d21351475af01a64fdf7
MD5 c602aa51c637db0df09afdcb5556bff3
BLAKE2b-256 a4426cc35f4b7aa08209d12c0b145c898de212b00a4698b7c178f515a0ddeddc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page