diff --git a/packages/db/test/fixtures/recipes/.vscode/tasks.json b/packages/db/test/fixtures/recipes/.vscode/tasks.json new file mode 100644 index 0000000000..e5bbb1770e --- /dev/null +++ b/packages/db/test/fixtures/recipes/.vscode/tasks.json @@ -0,0 +1,19 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Astro DB Type Generation", + "type": "shell", + "command": "npm run typegen", + "isBackground": true, + "presentation": { + "reveal": "silent" + }, + "runOptions": { + "runOn": "folderOpen" + }, + } + ] +} diff --git a/packages/db/test/fixtures/recipes/package.json b/packages/db/test/fixtures/recipes/package.json index cd1e83c02d..24768eebe8 100644 --- a/packages/db/test/fixtures/recipes/package.json +++ b/packages/db/test/fixtures/recipes/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "typegen": "astro dev" }, "keywords": [], "author": "",