Skip to content

Commit

Permalink
Add turborepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailedlt committed Aug 8, 2023
1 parent 0c22d5c commit fe5c8b8
Show file tree
Hide file tree
Showing 48 changed files with 1,182 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# turborepo
.turbo

# node.js
node_modules
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Local development

[install pnpm](https://pnpm.io/installation)

install dependencies

```sh
pnpm install # installs web dependencies
pnpm api:install # installs api dependencies
```

run the api and website

```sh
pnpm dev
```

If you make changes make sure to run linting and testing before opening a PR

```sh
pnpm lint
pnpm test
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions apps/api/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "api",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"pipenv:install": "pipenv install --dev",
"dev": "pipenv run dev",
"start": "pipenv run start",
"check": "pipenv run lint",
"test": "pipenv run test"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "markdown-videos",
"private": true,
"packageManager": "pnpm@8.6.6",
"scripts": {
"build": "turbo run build",
"api:install": "turbo run pipenv:install",
"dev": "turbo dev --parallel",
"start": "turbo start --parallel",
"lint": "turbo run check",
"clean:workspaces": "turbo clean",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,mdx,css,yml,html}\""
},
"devDependencies": {
"turbo": "^1.9.8"
}
}
Loading

0 comments on commit fe5c8b8

Please sign in to comment.