-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from pubpub/feat/auth
- Loading branch information
Showing
14 changed files
with
1,649 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Development | ||
|
||
These are internal notes for the development of the project. | ||
|
||
## Installation | ||
|
||
Install dependencies | ||
|
||
```bash | ||
pnpm i | ||
``` | ||
|
||
Setup environment correctly | ||
|
||
```bash | ||
cp .env.example .env | ||
``` | ||
|
||
Look in the usual place for the relevant variables. | ||
|
||
## Running tests | ||
|
||
Before running tests, make sure you load the environment variables from the `.env` file. | ||
|
||
```bash | ||
source .env | ||
``` | ||
|
||
> [!NOTE] | ||
> This is only necessary because I cannot for the life of me find out how to load the environment variables from the `.env` file in the `jest.config.ts` file. | ||
Then, to run the tests, run | ||
|
||
```bash | ||
pnpm test | ||
``` | ||
|
||
## Generating updated documentation | ||
|
||
To generate the updated documentation, run | ||
|
||
```bash | ||
pnpm generate-docs | ||
``` | ||
|
||
## Publishing | ||
|
||
Just run | ||
|
||
```bash | ||
pnpm publish | ||
``` | ||
|
||
This will create a new release in the `changeset` package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.