Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ yarn-error.log*
.production.env
.env

*.bak
tmp/

dist
node_modules
worker
Expand All @@ -42,4 +45,5 @@ site/public

public/sitemap.xml
public/robots.txt
packages/api/docker/compose
packages/api/docker/compose

25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Miniflare (yarn)",
"type": "node",
"request": "launch",
"runtimeExecutable": "yarn",
"runtimeArgs": ["workspace", "api", "run", "dev"],
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Miniflare direct",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/miniflare",
"args": [
"--env",
"${workspaceFolder}/.env",
"${workspaceFolder}/packages/api/dist/worker.js"
],
"skipFiles": ["<node_internals>/**"]
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"jest.jestCommandLine": "npx jest"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this for ?

}