This repository contains an example of a custom Airbyte Faros destination allowing writing data into Faros from any custom source. Please refer to the documentation for more information about this feature.
- Install
nvm
- Install Node.js
nvm install 16 && nvm use 16
- Install
lerna
by runningnpm install -g npm lerna @lerna/legacy-package-management
- Run
npm i
to install dependencies for all projects (npm run clean
to clean all) - Run
npm run build
to build all projects (for a single project, add scope, e.g.,npm run build -- --scope example-destination
) - Run
npm run test
to test all projects (for a single project, add scope, e.g.,npm run test -- --scope example-destination
) - Run
npm run lint
to apply linter on all projects (for a single project, add scope, e.g.,npm run lint -- --scope example-destination
)
- Audit fix
npm audit fix
- Clean your project
npm run clean
Read more about lerna
here.
To build a Docker image for a destination, run the docker build
command and set path
and version
arguments.
For example, for the example-destination
run:
docker build . --build-arg path=destinations/example-destination --build-arg version=0.1.0 -t example-destination