Thanks for your interest in contributing to downloader.franciscomoretti.com. We're happy to have you here.
Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar.
If you need any help, feel free to reach out to @franciscomoretti.
This repository is a monorepo.
- We use pnpm and
workspaces
for development. - We use Turborepo as our build system.
- We use changesets for managing releases.
This repository is structured as follows:
apps
└── www
├── app
├── components
└── content
packages
├── notion-cache-client
├── notion-downloader
└── notion-tree
Path | Description |
---|---|
apps/www |
The Next.js application for the website. |
apps/www/content |
The content for the website. |
packages/notion-downloader |
The Notion Downloader package. |
packages/notion-tree |
The Notion Tree package. |
packages/notion-cache-client |
The Notion Cache Client package. |
You can fork this repo by clicking the fork button in the top right corner of this page.
git clone https://github.com/your-username/notion-downloader.git
cd notion-downloader
git checkout -b my-new-branch
pnpm install
You can use the pnpm --filter=[WORKSPACE]
command to start the development process for a workspace.
- To run the website:
pnpm --filter=www dev
- To run the
notion-downloader
package:
pnpm --filter=notion-downloader dev
The documentation for this project is located in the www
workspace. You can run the documentation locally by running the following command:
pnpm --filter=www dev
Documentation is written using MDX. You can find the documentation files in the apps/www/content/docs
directory.
Tests are written using Vitest. You can run all the tests from the root of the repository.
pnpm test
Please ensure that the tests are passing when submitting a pull request. If you're adding new features, please include tests.