Block a user
@datagift/helpers (1.0.12)
Published 2025-05-12 12:35:48 +00:00 by jakub.szymsza
Installation
@datagift:registry=npm install @datagift/helpers@1.0.12"@datagift/helpers": "1.0.12"About this package
Data.gift helpers
Helper functions and configuration for the data.gift project.
How-to
Develop the package
Develop your functionality in the ./src directory and export your functions in ./index.mjs
Publish a development version
Development versions should be considered unstable, as the same package version can contain different and buggy code at different times.
- Use a
devsuffix for your version, e.g.,1.0.10-dev. - Develop your functionality.
- If you're publishing this exact version for the first time, run
npm run pub-dev - If you're publishing updates to a previously published development version, run
npm run repub-dev
Caution! Running repub-dev will remove the latest published version, even if it is stable! Before running repub-dev, always make sure that a development version with the same number already exists.
Publish a production version
- Increment your version number in
package.jsonwithout thedevsuffix, e.g.,1.0.11 - Merge your changes to the
mainbranch and tag the latest commitgit tag v.X.Y.Z && git push origin --tags - Woodpecker will automatically build and release a new version
Reference
For a list of available functions, see ./index.mjs. See the functions' docstrings for more details.
Dependencies
Dependencies
| ID | Version |
|---|---|
| @datagift/ttl-helpers | ^1.0.4 |
Development Dependencies
| ID | Version |
|---|---|
| rollup | ^4.30.1 |