Skip to content

dzangolab/fastify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2698d3b · Feb 18, 2025
Sep 17, 2024
Sep 2, 2024
Feb 18, 2025
Nov 7, 2022
Nov 7, 2022
Dec 3, 2022
Oct 2, 2024
Feb 18, 2025
Nov 7, 2022
Oct 23, 2024
Sep 17, 2024
Feb 18, 2025
Feb 18, 2025
Oct 23, 2024
Nov 25, 2022
Oct 23, 2024
Jun 7, 2024

Repository files navigation

@dzangolab/fastify

A set of fastify libraries

Packages

Installation & Usage

Install dependencies

Install dependencies recursively with this command

make install

Build all packages

make build

Lint code

make lint

Typecheck code

make typecheck

Test

make test

Developing locally & testing

The best way to verify the changes done to the libraries is to test them locally before releasing them. To test libraries locally link each libraries to the fastify-api using pnpm link command. More on pnpm link.

To link and unlink the library locally run these commands from the fastify-api where you are linking the library:

pnpm link ./<path_to_libraries_monorepo>/packages/<library_name>

To unlink the linked library

pnpm unlink ./<path_to_libraries_monorepo>/packages/<library_name>

Troubleshooting

  • Make sure that package.json and pnpm-lock.yml are synchronized.
  • You may need to restart your fastify api before link and unlink to see the changes.
  • All the libraries that defines or uses context has to be linked in order to link one libraries that use the context or defines it.