Skip to content

Repository files navigation

pdf-generator

This project was generated using Nx.

NestJS module used for creating PDF files out of react components.

Invoice templates created with react, can be used with pdf-renderer.

Used for authentication and communication with a contractsgenerator based api.

Dockerfile

At the top of your own Dockerfile add the following line.

FROM ghcr.io/leancodepl/pdf-generator:[version]

You can also easily get the current version, by using latest.

FROM ghcr.io/leancodepl/pdf-generator:latest

Releasing packages to npm

To release a new version, run the following command:

npx nx run workspace:version --releaseAs=major
# or
npx nx run workspace:version --releaseAs=minor
# or
npx nx run workspace:version --releaseAs=patch

This will create a new commit and tag. Push the changes and the new tag to the remote repository. The tag's push will trigger the workflow.

Releasing the dockerfile

To release the dockerfile, push a new tag with the prefix docker-, e.g.:

git tag docker-v0.1.0
git push origin docker-v0.1.0

This will trigger the workflow and push the new docker image to the Azure Container Registry.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages